

    .contact__form {
        position: relative;
        z-index: 2;
    }

    .contact__title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
    }

    .form-section {
        background: white;
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 2rem;
    }

    .form-section h3 {
        color: #2c3e50;
        font-weight: 600;
    }

    .is-invalid {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }

    .required-field {
        border-color: #ced4da !important;
    }

    .field-error {
        color: #dc3545;
        font-size: 0.875em;
        margin-top: 0.25rem;
        display: none;
    }

    .submit {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        padding: 15px 40px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .other-field-container {
        display: none;
        margin-top: 10px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        border-left: 4px solid #007bff;
    }

    .tooltip-icon {
        cursor: pointer;
        color: #007bff;
        transition: color 0.3s ease;
    }

    .tooltip-icon:hover {
        color: #0056b3;
    }

    .checkbox-container {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        padding: 10px;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .checkbox-container:hover {
        border-color: #007bff;
        background: #f8f9ff;
    }

    .checkbox-container input[type="checkbox"] {
        transform: scale(1.3);
        margin-right: 15px;
    }

    .phone-prefix-dropdown {
        min-width: 120px;
    }

    .bg {
        position: absolute;
        bottom: 0;
        right: 0;
        max-width: 400px;
        opacity: 0.1;
        z-index: 1;
    }

    @media (max-width: 768px) {
        .contact__title {
            font-size: 2rem;
        }

        .form-section {
            padding: 1.5rem;
        }
    }

    .custom-checkbox {
        width: 20px !important;
        height: 20px !important;
        border: 2px solid #007bff !important;
        border-radius: 4px !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        background: white !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        margin-top: 2px !important;
    }

    .custom-checkbox:checked {
        background-color: #007bff !important;
        border-color: #007bff !important;
        position: relative !important;
    }

    .custom-checkbox:checked::after {
        content: "✓" !important;
        color: white !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 14px !important;
        font-weight: bold !important;
    }

    .custom-checkbox:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25) !important;
    }

    .checkbox-item {
        border: 2px solid #e9ecef;
        border-radius: 10px;
        padding: 20px;
        transition: all 0.3s ease;
        background: white;
        height: 100%;
    }

    .checkbox-item:hover {
        border-color: #007bff;
        background: #f8f9ff;
    }

    .checkbox-description {
        font-size: 0.875rem;
        color: #6c757d;
        line-height: 1.4;
    }

    /* Mejoras para la validación */
    .is-invalid {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }

    .field-error {
        color: #dc3545;
        font-size: 0.875em;
        margin-top: 0.25rem;
        display: none;
    }

    /* Dropdown de teléfono mejorado */
    .phone-prefix-dropdown {
        min-width: 120px;
    }

    .dropdown-menu {
        max-height: 300px;
        overflow-y: auto;
    }

    /* Hacer que la opción deshabilitada se vea más clara */
    select option:disabled {
        color: #6c757d;
        background-color: #f8f9fa;
    }

    /* Total price styles */
    .total-container {
        background: linear-gradient(135deg, #d3954dff 0%, #da5151ff 100%);
        color: white;
        padding: 20px;
        border-radius: 15px;
        text-align: center;
        margin-bottom: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .total-price {
        font-size: 2rem;
        font-weight: 700;
        margin: 0;
        color: white;
    }

    .total-label {
        font-size: 1rem;
        opacity: 0.9;
        margin: 0;
        color: black;
    }

    /* Estilos para el botón deshabilitado */
    .submit:disabled {
        background: linear-gradient(135deg, #a0aec0 0%, #718096 100%) !important;
        cursor: not-allowed !important;
        transform: none !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
        opacity: 0.7;
    }

    .submit:disabled:hover {
        transform: none !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
    }

    /* Estilos para el mensaje de validación */
    .alert-info {
        background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
        border: none;
        border-radius: 12px;
        color: #2c5282;
        border-left: 4px solid #4299e1;
        padding: 15px 20px;
    }

    /* Spinner para el botón de envío */
    .spinner-border-sm {
        width: 1rem;
        height: 1rem;
    }

    /* Estilos para la sección de WhatsApp */
    .whatsapp-link {
        transition: all 0.3s ease;
        display: inline-block;
        text-decoration: none;
    }

    .whatsapp-link:hover {
        transform: translateY(-2px);
        text-decoration: none;
    }

    .whatsapp-info {
        background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
        border-radius: 12px;
        padding: 15px 20px;
        border-left: 4px solid #20b558;
        box-shadow: 0 2px 10px rgba(32, 181, 88, 0.1);
        margin: 0 auto;
    }

    .horario-tooltip {
        position: relative;
        transition: all 0.3s ease;
    }

    .horario-tooltip:hover {
        color: #1a56a8 !important;
    }

    /* Tooltip personalizado */
    .tooltip-inner {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 8px;
        padding: 10px 15px;
        font-size: 0.85rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .tooltip-arrow::before {
        border-top-color: #667eea !important;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .whatsapp-info {
            padding: 12px 15px;
            margin-top: 12px;
        }

        .whatsapp-info p {
            font-size: 1.2rem ;
        }
    }

    .checkbox-item {
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 15px;
        background-color: #fafafa;
    }

    .video-info-text a {
        color: #007bff;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        white-space: nowrap;
        margin-left: 15px;
        transition: color 0.2s ease;
    }

    .video-info-text a:hover {
        color: #0056b3;
        text-decoration: none;
    }

    .textextra {
        text-decoration: none;
        margin-right: 10px;
        margin-bottom: 30px;
        z-index: 5000px;
        position: relative;
    }

    .textopidetucancion {
        margin-top: -60px;
        font-family: var(--font-poppins);
        color: var(--black);
        font-weight: bold;
        font-size: 2.2rem;
        margin-bottom: 2rem;

        @media (max-width: 768px) {
            margin-top: -20px;
        }
    }

    .textopidetucancion2 {
        margin-top: -10px;
        font-family: var(--font-poppins);
        color: var(--black);
        margin-bottom: 10px;
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .texttotalcancion {
        text-align: center;

    }
    .texttotalcancion2{
        text-align: center;
        font-size: 14px;
    }

    .botonsimpleF {
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        text-decoration: none;
        color: white;

        cursor: pointer;
        outline: none;

    }

    .field-button-class {

        display: flex;
        place-items: center;
        justify-content: center;
        width: 250px;
        height: 60px;
        margin: 0 auto;
        gap: 20px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        padding: 5px;
        margin-bottom: 20px;
        margin-top: -10px;
    }

    /* Botones base */
    .botonsimpleF,
    .botondetalladoF {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border: none;
        background-color: #888;
        /* gris base */
        color: white;
        cursor: pointer;
        border-radius: 10px;
        /* redondeo interno de cada botón */
        transition: background 0.2s, transform 0.1s;

    }

    .botonsimpleF:hover,
    .botondetalladoF:hover {
        background-color: #a4a4a4ff;
        /* cambia el color al pasar el ratón */
        color: white;
        transform: scale(1.05);
        /* efecto de zoom pequeño */
    }

    /* Botón activo */
    .botonsimpleF.active {
        background-color: #ff457dff;
        /* color que “ilumina” */
        color: black;
        transform: scale(1.05);
        /* efecto pequeño al activo */
    }


    .botondetalladoF.active {
        background-color: #dd104dff;
        /* color que “ilumina” */
        color: black;
        transform: scale(1.05);
        /* efecto pequeño al activo */
    }

    .text-camp2 {
        border: 2px solid #3498db;
        border-radius: 5px;
        padding: 8px;
        outline: none;
    }

    .textoformsol {
        margin-top: -15px;
    }

    /*=============================*/
    /*====== CSS BASIC FORM =======*/
    /*=============================*/

    .containerform {
        margin-top: -20px;
    }

    .song-form__area {
        position: relative;
        background: #f8f9fa;
        margin-top: -40px;
    }

    .song-form__container {
        position: relative;
        z-index: 2;
    }

    .song-form__title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
    }

    .form-section-new {
        background: white;
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 2rem;
    }

    .form-section-new h3 {
        color: #2c3e50;
        font-weight: 600;
    }

    .input-error {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }

    .required-input {
        border-color: #ced4da !important;
    }

    .error-message {
        color: #dc3545;
        font-size: 0.875em;
        margin-top: 0.25rem;
        display: none;
    }

    .submit-new {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        padding: 15px 40px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .submit-new:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .other-field-wrapper {
        display: none;
        margin-top: 10px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        border-left: 4px solid #007bff;
    }

    .info-icon {
        cursor: pointer;
        color: #007bff;
        transition: color 0.3s ease;
    }

    .info-icon:hover {
        color: #0056b3;
    }

    .option-container {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        padding: 10px;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .option-container:hover {
        border-color: #007bff;
        background: #f8f9ff;
    }

    .option-container input[type="checkbox"] {
        transform: scale(1.3);
        margin-right: 15px;
    }

    .custom-checkbox-new {
        width: 20px !important;
        height: 20px !important;
        border: 2px solid #007bff !important;
        border-radius: 4px !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        background: white !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        margin-top: 2px !important;
    }

    .custom-checkbox-new:checked {
        background-color: #007bff !important;
        border-color: #007bff !important;
        position: relative !important;
    }

    .custom-checkbox-new:checked::after {
        content: "✓" !important;
        color: white !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 14px !important;
        font-weight: bold !important;
    }

    .custom-checkbox-new:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25) !important;
    }

    .option-item {
        border: 2px solid #e9ecef;
        border-radius: 10px;
        padding: 20px;
        transition: all 0.3s ease;
        background: white;
        height: 100%;
    }

    .option-item:hover {
        border-color: #007bff;
        background: #f8f9ff;
    }

    .option-description {
        font-size: 0.875rem;
        color: #6c757d;
        line-height: 1.4;
    }

    .total-wrapper {
        background: linear-gradient(135deg, #d3954dff 0%, #da5151ff 100%);
        color: white;
        padding: 20px;
        border-radius: 15px;
        text-align: center;
        margin-bottom: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .total-price-new {
        font-size: 2rem;
        font-weight: 700;
        margin: 0;
        color: white;
    }

    .total-label-new {
        font-size: 1rem;
        opacity: 0.9;
        margin: 0;
        color: black;
    }

    .submit-new:disabled {
        background: linear-gradient(135deg, #a0aec0 0%, #718096 100%) !important;
        cursor: not-allowed !important;
        transform: none !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
        opacity: 0.7;
    }

    .submit-new:disabled:hover {
        transform: none !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .info-alert {
        background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
        border: none;
        border-radius: 12px;
        color: #2c5282;
        border-left: 4px solid #4299e1;
        padding: 15px 20px;
    }

    .spinner-small {
        width: 1rem;
        height: 1rem;
    }

    .whatsapp-info-new {
        background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
        border-radius: 12px;
        padding: 15px 20px;
        border-left: 4px solid #20b558;
        box-shadow: 0 2px 10px rgba(32, 181, 88, 0.1);
        margin-top: 15px;
    }

    .video-info-new a {
        color: #007bff;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        white-space: nowrap;
        margin-left: 15px;
        transition: color 0.2s ease;
    }

    .video-info-new a:hover {
        color: #0056b3;
        text-decoration: none;
    }

    .text-extra {
        text-decoration: none;
        margin-right: 10px;
        margin-bottom: 30px;
        z-index: 5000px;
        position: relative;
    }

    .text-song-title {
        margin-top: -90px;
        font-family: 'Poppins', sans-serif;
        color: #333;
        font-weight: bold;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .text-total-song {
        text-align: center;
        font-style: italic;
        font-size: 12px;
    }

    .text-form {
        margin-top: -15px;
    }

    .text-field {
        border: 2px solid #3498db;
        border-radius: 5px;
        padding: 8px;
        outline: none;
    }

    @media (max-width: 768px) {
        .song-form__title {
            font-size: 2rem;
        }

        .form-section-new {
            padding: 1.5rem;
        }

        .text-song-title {
            margin-top: -20px;
        }
    }

    .form-separaciones {
        flex: 0 0 auto;
        width: 90.66666667%
    }


    /* Estilos para la nueva sección de Detalles de la Canción */
.section-title {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.5rem;
    border-bottom: 3px solid #4299e1;
    padding-bottom: 10px;
    display: inline-block;
}

.required-star {
    color: #e53e3e;
}

/* Selector de modo */
.form-mode-selector {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
}

.mode-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.mode-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.mode-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.mode-btn.active {
    background: white;
    color: #4c51bf;
    border-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mode-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 8px;
}

.mode-btn.active .mode-badge {
    background: #4c51bf;
    color: white;
}

.mode-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Contenido de formularios */
.form-mode-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-mode-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Formulario Simple */
.simple-form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.form-label-main {
    font-size: 1.2rem;
    color: #2d3748;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.textarea-large {
    min-height: 150px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.textarea-large:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    outline: none;
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #718096;
    margin-top: 5px;
}

.description-hint {
    background: #f7fafc;
    border-left: 4px solid #4299e1;
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
    margin: 10px 0;
    color: #4a5568;
    font-size: 0.9rem;
}

.simple-tips {
    margin-top: 25px;
}

.tip-card {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #f6f9ff 0%, #edf2f7 100%);
    border-radius: 12px;
    padding: 20px;
    border-left: 5px solid #4299e1;
}

.tip-icon {
    background: #4299e1;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.tip-content h6 {
    color: #2d3748;
    margin-bottom: 5px;
    font-weight: 600;
}

.tip-content p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

/* Formulario Completo */
.detailed-form-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.form-group-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-group-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e0;
}

.form-group-card.full-width {
    grid-column: 1 / -1;
}

.card-header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.form-label-card {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

.optional-badge {
    background: #c6f6d5;
    color: #22543d;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 10px;
}

/* Opciones de relación */
.relation-options {
    margin-top: 10px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.option-card {
    cursor: pointer;
}

.option-input {
    display: none;
}

.option-content {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-input:checked + .option-content {
    border-color: #4299e1;
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.2);
}

.option-icon {
    width: 40px;
    height: 40px;
    background: #4299e1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.option-text {
    font-weight: 500;
    color: #4a5568;
}

.option-input:checked + .option-content .option-text {
    color: #2b6cb0;
    font-weight: 600;
}

/* Grid de ocasiones */
.occasion-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.occasion-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.occasion-option {
    cursor: pointer;
    width: 50% !important; 
}

.occasion-input {
    display: none;
}

.occasion-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px 5px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.occasion-input:checked + .occasion-content {
    border-color: #4299e1;
    background: #ebf8ff;
}

.occasion-content i {
    font-size: 1.5rem;
    color: #718096;
    margin-bottom: 5px;
}

.occasion-input:checked + .occasion-content i {
    color: #4299e1;
}

.occasion-content span {
    font-size: 0.9rem;
    color: #4a5568;
}

/* Géneros musicales */
.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.genre-tag {
    cursor: pointer;
}

.genre-input {
    display: none;
}

.tag-content {
    display: inline-block;
    padding: 8px 15px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.3s ease;
}

.genre-input:checked + .tag-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

/* Estados de ánimo */
.mood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mood-option {
    cursor: pointer;
}

.mood-input {
    display: none;
}

.mood-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mood-input:checked + .mood-content {
    border-color: #4299e1;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    transform: translateY(-2px);
}

.mood-emoji {
    font-size: 2rem;
    margin-bottom: 8px;
}

.mood-text {
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9rem;
}

/* Opciones de voz */
.voice-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.voice-option {
    cursor: pointer;
}

.voice-input {
    display: none;
}

.voice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.voice-input:checked + .voice-content {
    border-color: #4299e1;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
}

.voice-content i {
    font-size: 2rem;
    color: #718096;
    margin-bottom: 10px;
}

.voice-input:checked + .voice-content i {
    color: #319795;
}

.voice-content span {
    font-weight: 500;
    color: #4a5568;
}

/* Barra de progreso */
.form-progress {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.progress-text {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#progress-percentage {
    color: #4299e1;
    font-weight: 700;
}

.progress-bar-container {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 5px;
}

.progress-hint {
    color: #718096;
    font-size: 0.9rem;
    text-align: center;
}

/* Validación y mensajes de error */
.error-message {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-control.error {
    border-color: #e53e3e;
}

.form-control.error + .error-message {
    display: block;
}

.form-hint {
    color: #718096;
    font-size: 0.85rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

/* Estilos para errores en grupos */
.error-border {
    border: 2px solid #e53e3e !important;
    border-radius: 12px;
    padding: 5px;
    background-color: rgba(229, 62, 62, 0.05);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.option-input.error + .option-content {
    border-color: #e53e3e !important;
    background-color: rgba(229, 62, 62, 0.1) !important;
}

.occasion-input.error + .occasion-content {
    border-color: #e53e3e !important;
    background-color: rgba(229, 62, 62, 0.1) !important;
}

.genre-input.error + .tag-content {
    border-color: #e53e3e !important;
    background-color: rgba(229, 62, 62, 0.1) !important;
}

.mood-input.error + .mood-content {
    border-color: #e53e3e !important;
    background-color: rgba(229, 62, 62, 0.1) !important;
}

.voice-input.error + .voice-content {
    border-color: #e53e3e !important;
    background-color: rgba(229, 62, 62, 0.1) !important;
}

/* Estilos para el botón de envío */
.submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-hint {
    color: #718096;
    font-size: 0.9rem;
}

#submit-status {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .mode-buttons {
        flex-direction: column;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    
    
    .occasion-row {
        grid-template-columns: 1fr;
    }
    
    .mood-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .voice-options {
        grid-template-columns: 1fr;
    }
    
    .genre-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .simple-form-container,
    .detailed-form-container {
        padding: 20px;
    }
    
    .form-group-card {
        padding: 20px;
    }
    
    .mode-btn {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

.botonwhatsap-fondo{
    background-color: #baffc586;
    border-radius: 8px;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.3rem;
    margin-top: 10px;
}

.textowhatsapp{

    color:#20b558; 
    font-size:160%;
    vertical-align: middle
}


@media (max-width:768px){
    .botonwhatsap-fondo a{
    font-size: 1.1rem;
}
}




.checkbox-item.card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.checkbox-item.card:hover {
    border-color: #0d6efd;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}
.preview-image {
    height: 80px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}
.preview-image:hover .preview-overlay {
    opacity: 1;
}
.carousel-item img {
    max-height: 500px;
    object-fit: cover;
}
.text-success {
    font-weight: bold;
}

.contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 20px;
}

.lista-opcionales.activo .contenido {
    max-height: 800px; /* suficientemente grande */
}

.boton-extras{
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 50%;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 0 auto;
    border-radius: 16px;
    color: white;
}

.toggle{
    cursor: pointer;
    transition: color 0.2s ease;
}

.toggle.activo{
    color: black;
}









/* GRID CON CHECKBOX ARRIBA Y TEXTO DEBAJO */
.grid-opcionales {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    padding: 20px 0;
}

.opcion-item {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.opcion-item:hover {
    transform: translateY(-5px);
    border-color: #f1ae60;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
}

.opcion-item:active {
    transform: translateY(-2px);
}

/* CABECERA CON CHECKBOX CENTRADO */
.checkbox-header {
    background: #f8f9fa;
    padding: 5px 5px;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-checkbox {
    margin-top: 10px !important;
    width: 28px;
    height: 28px;
    cursor: pointer;
    accent-color: #af814c;
    margin: 0;
    transform: scale(1.2);
    transition: all 0.2s ease;
}

.custom-checkbox:hover {
    transform: scale(1.2);
}

/* CONTENIDO DE LA OPCIÓN */
.opcion-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.opcion-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    display: block;
    cursor: pointer;
    text-align: center;
}

.opcion-price {
    display: block;
    color: #4CAF50;
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 10px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.opcion-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

.opcion-description a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    padding: 5px 15px;
    background: #f0f7ff;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.opcion-description a:hover {
    background: #2196F3;
    color: white;
    transform: scale(1.05);
}

/* EFECTO CUANDO ESTÁ SELECCIONADO */
.opcion-item input:checked ~ .opcion-content .opcion-title {
    color: #4CAF50;
}

.opcion-item input:checked ~ .opcion-content .opcion-price {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-opcionales {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .opcion-content {
        padding: 20px 15px;
    }
    
    
    
    .opcion-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-opcionales {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .grid-opcionales {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Para 5 elementos, el 5to ocupará espacio diferente */
    .grid-opcionales .opcion-item:nth-child(5) {
        grid-column: span 1;
    }
}

/* VERSIÓN ALTERNATIVA: GRID DE 2 COLUMNAS */
.grid-opcionales.dos-columnas {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .grid-opcionales.dos-columnas {
        grid-template-columns: 1fr;
    }
}

/* ESTILO ALTERNATIVA MÁS MINIMALISTA */
.opcion-item.minimal {
    border: 1px solid #ddd;
    border-radius: 12px;
}

.opcion-item.minimal .opcion-content {
    padding: 20px;
}

.opcion-item.minimal:hover {
    border-color: #4CAF50;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}