/* diseño.css - Estilos para formulario index.php */
    .select2-results__option {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
   
    .select2-results__option:hover {
        white-space: normal;
    }

body {
        font-family: "Inter", sans-serif;
        background-color: #EEEEE0;
        margin: 0;
    }

    /* Main container for centering the form */
    .main-container {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem 1rem; /* Added horizontal padding for mobile */
        min-height: 100vh;
        box-sizing: border-box;
    }

    /* Form wrapper/card */
    .form-wrapper {
        width: 100%;
        max-width: 42rem; /* max-w-2xl */
        border-radius: 0.5rem; /* rounded-lg */
        background-color: #BDBDBD;
        padding: 2.5rem; /* p-10 */
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
            0 4px 6px -4px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }

    /* Top image styling */
    .form-image {
        margin-bottom: 1rem;
        width: 100%;
        border-radius: 0.5rem;
        height: auto;
    }

    /* Header section for title and description */
    .form-header {
        margin-bottom: 2rem; /* mb-8 */
        text-align: center;
    }

    .form-title {
        font-size: 1.875rem; /* text-2xl */
        font-weight: 600; /* font-semibold */
        color: white; /* text-gray-800 */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);

    }

    .form-optionlarge {
        text-wrap: wrap;
    }

    .form-description {
        margin-top: 0.5rem; /* mt-2 */
        font-size: 0.875rem; /* text-sm */
        color: #4b5563; /* text-gray-600 */
        line-height: 1.5;
    }

    /* Container for each form field group */
    .form-group {
        margin-bottom: 1.5rem; /* mb-6 */
    }

    /* Form labels */
    .form-label {
        display: block;
        margin-bottom: 0.5rem; /* mb-2 */
        font-size: 130%; /* text-sm */
        font-weight: 500; /* font-medium */
        color: white; /* text-gray-600 */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0);
    }

    /* Common styles for input, select, and textarea */
    .form-input,
    .form-select,
    .form-textarea {
        width: 100%;
        border-radius: 0.375rem; /* rounded-md */
        border: 1px solid #d1d5db; /* border-gray-300 */
        padding: 0.75rem; /* p-3 */
        font-size: 1rem; /* text-sm */
        color: #000000; /* text-gray-800 */
        box-sizing: border-box;
        transition: border-color 0.2s, box-shadow 0.2s;
        font-size: 1rem;
    }
   

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: #6366f1; /* focus:border-indigo-500 */
        box-shadow: 0 0 0 1px #6366f1; /* focus:ring-1 focus:ring-indigo-500 */
        outline: none;
    }

    /* Radio button group */
    .radio-group {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .radio-item {
        display: flex;
        align-items: center;
    }

    .form-radio {
        height: 1rem;
        width: 1rem;
        color: #4f46e5; /* text-indigo-600 */
    }

    .radio-label {
        margin-left: 0.5rem; /* ml-2 */
        font-size: 0.875rem;
        color: #4b5563;
    }

    /* Checkbox group */
    .checkbox-group {
        display: flex;
        align-items: center;
    }

    .form-checkbox {
        height: 1rem; /* h-4 */
        width: 1rem; /* w-4 */
        color: #4f46e5; /* text-indigo-600 */
    }

    .checkbox-label {
        margin-left: 0.5rem; /* ml-2 */
        font-size: 0.875rem; /* text-sm */
        color: #4b5563; /* text-gray-600 */
    }

    /* Submit Button */
    .submit-btn {
        width: 100%;
        border-radius: 0.375rem; /* rounded-md */
        background-color: #ffffff; /* bg-indigo-600 */
        padding: 0.75rem 1.5rem; /* px-6 py-3 */
        font-weight: 500; /* font-medium */
        color: rgb(5, 5, 5);
        border: none;
        cursor: pointer;
        transition: background-color 0.3s, box-shadow 0.3s;
    }

    .submit-btn:hover {
        background-color: #ffffffa2; /* hover:bg-indigo-700 */
    }

    .submit-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); /* focus:ring-2 focus:ring-indigo-500 focus:ring-opacity-50 */
    }

    /* Mobile Responsive Styles */
    @media (max-width: 640px) {
        .main-container {
            padding: 1rem;
        }
        .form-wrapper {
            padding: 1.5rem;
            box-shadow: 0px 0px 5px 5px rgb(255, 255, 255);
        }
        .form-title {
            font-size: 1.5rem;
        }
    }