:root {
    --color-primary: #9683ec;          /* Morado claro */
    --color-primary-dark: #7660d1;     /* Morado más oscuro */
    --color-secondary: #83b1ec;        /* Azul claro */
    --color-secondary-dark: #6595d9;   /* Azul más oscuro */
    --color-accent: #fbf797;           /* Amarillo claro */
    --color-success: #97ecb3;          /* Verde claro */
    --color-text: #333333;             /* Texto principal */
    --color-text-light: #666666;       /* Texto secundario */
    --color-background: #f8f9fa;       /* Fondo general */
    --color-white: #ffffff;            /* Blanco puro */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 15px;
    --radius-full: 9999px;
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== COMPONENTE PRINCIPAL DE RESERVA ===== */

#calendarSection {
    position: relative;
    background-color: #f1f1fa;
    background-image: 
        radial-gradient(circle at 5% 10%, rgba(150, 131, 236, 0.2) 0%, transparent 25%),
        radial-gradient(circle at 95% 90%, rgba(131, 177, 236, 0.2) 0%, transparent 25%),
        linear-gradient(rgba(255, 255, 255, 0.8) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.8) 2px, transparent 2px);
    background-size: 
        300px 300px,
        300px 300px,
        20px 20px,
        20px 20px;
    background-position: 
        0 0,
        0 0,
        -1px -1px,
        -1px -1px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    padding: 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin: 30px auto;
    border: 1px solid rgba(150, 131, 236, 0.3);
}

/* Encabezado del formulario */
.form-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 20px 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.form-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    opacity: 0.4;
}

.form-header h2 {
    color: white;
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 600;
}

.header-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

/* Formulario principal */
#bookingForm {
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

/* ===== SECCIONES DEL FORMULARIO ===== */

.form-section {
    margin-bottom: 25px;
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(245, 245, 255, 0.85);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(150, 131, 236, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(150, 131, 236, 0.08) 0%, transparent 40%),
        linear-gradient(45deg, rgba(150, 131, 236, 0.05) 25%, transparent 25%, 
                        transparent 75%, rgba(150, 131, 236, 0.05) 75%, rgba(150, 131, 236, 0.05)),
        linear-gradient(135deg, rgba(150, 131, 236, 0.05) 25%, transparent 25%, 
                        transparent 75%, rgba(150, 131, 236, 0.05) 75%, rgba(150, 131, 236, 0.05));
    background-size: 300px 300px, 300px 300px, 30px 30px, 30px 30px;
    background-position: 0 0, 0 0, 0 0, 15px 15px;
    border: 1px solid rgba(150, 131, 236, 0.2);
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.section-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 3px 8px rgba(150, 131, 236, 0.3);
}

.section-title h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
}

/* ===== CAMPOS DE FORMULARIO ===== */

.form-group {
    flex: 1;
}

.floating-label {
    position: relative;
    margin-bottom: 20px;
}

.floating-label input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(150, 131, 236, 0.2);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    font-weight: 500;
    transition: all var(--transition-normal);
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03), inset 0 1px 2px rgba(0, 0, 0, 0.04);
    max-width: 92%;
}

.floating-label label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: var(--color-text-light);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all var(--transition-normal);
}

.floating-label input:focus,
.floating-label input:not(:placeholder-shown) {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(150, 131, 236, 0.2);
    background-color: rgba(255, 255, 255, 0.95);
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    font-size: 0.8rem;
    background-color: white;
    padding: 0 5px;
    color: var(--color-primary);
}

/* ===== SELECCIÓN DE TIPO DE CONSULTA ===== */

.appointment-type-container {
    margin-bottom: 25px;
    padding: 20px 15px 15px 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    border: 1px solid rgba(150, 131, 236, 0.15);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.appointment-type-options {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    padding: 10px 0;
    position: relative;
}

.type-option {
    flex: 1;
    position: relative;
    overflow: visible;
    padding: 5px;
    margin: 0;
    display: flex;
}

.type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(150, 131, 236, 0.08), rgba(131, 177, 236, 0.08));
    border: 2px solid rgba(150, 131, 236, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 150px;
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
}

.type-option input[type="radio"]:checked + label {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(150, 131, 236, 0.05), rgba(131, 177, 236, 0.05));
    box-shadow: 0 5px 15px rgba(150, 131, 236, 0.2);
    transform: translateY(-3px);
}

.type-option label:hover {
    border-color: rgba(150, 131, 236, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.type-option label i {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.type-option label h5 {
    margin: 0;
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 1rem;
}

.type-option label p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-text-light);
    flex-grow: 1;
}

.type-option input[type="radio"]:checked + label::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ===== INFORMACIÓN SELECCIONADA ===== */

.selected-appointment {
    background-color: rgba(245, 245, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    border: 1px solid rgba(150, 131, 236, 0.15);
}

.selected-appointment-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 12px 15px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 8px rgba(150, 131, 236, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.selected-appointment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(150, 131, 236, 0.3);
}

.selected-appointment-item i {
    color: var(--color-white);
    margin-right: 10px;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.selected-appointment-item span {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== COMPONENTE CALENDARIO ===== */

.calendar-wrapper {
    margin-bottom: 20px;
    background-color: rgba(249, 249, 252, 0.7);
    border-radius: var(--radius-md);
    padding: 15px;
    width: 100%;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(150, 131, 236, 0.2);
}

.calendar-container {
    width: 100%;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
}

#currentMonth {
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(2px);
}

.calendar-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.weekdays-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;
}

.weekdays-header div {
    padding: 5px 0;
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(32px, auto);
    background-color: var(--color-white);
    padding: 10px;
    gap: 5px;
    transition: opacity 0.3s;
    width: 100%;
}

.calendar-day {
    position: relative;
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.calendar-day.disabled {
    color: var(--color-text);
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.calendar-day.available {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, rgba(150, 131, 236, 0.35), rgba(131, 177, 236, 0.35));
}

.calendar-day.available::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: var(--radius-full);
    background-color: var(--color-success);
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    font-weight: 600;
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(150, 131, 236, 0.3);
}

.calendar-day.today {
    font-weight: 600;
}

.calendar-day:not(.disabled):not(.selected):hover {
    background-color: rgba(150, 131, 236, 0.1);
    transform: scale(1.05);
}

/* ===== SLOTS DE TIEMPO ===== */

.time-slots-container {
    margin-top: 25px !important;
    margin-bottom: 25px;
    border-top: 1px solid rgba(240, 240, 240, 0.7);
    padding-top: 20px;
    width: 100%;
}

.time-slots-container h5 {
    margin-bottom: 15px;
    font-size: 1.1rem !important;
    color: var(--color-text);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    min-height: 60px;
    justify-content: center;
    padding: 10px;
    width: 100%;
}

.time-slot {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(0);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 1px solid rgba(150, 131, 236, 0.15);
}

.time-slot:hover {
    background: linear-gradient(135deg, rgba(245, 243, 255, 0.95), rgba(255, 255, 255, 0.95));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(150, 131, 236, 0.3);
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: 0 5px 15px rgba(150, 131, 236, 0.3);
    transform: translateY(-2px);
    border-color: transparent;
}

.no-slots-message {
    width: 100%;
    text-align: center;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.85rem;
    padding: 10px;
}

/* ===== BOTONES DE ACCIÓN ===== */

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 15px;
}

.button {
    font-family: inherit;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 600;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button.primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    flex: 1;
    padding: 12px 20px;
    box-shadow: 0 4px 10px rgba(150, 131, 236, 0.3);
}

.button.secondary {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(150, 131, 236, 0.3);
    padding: 12px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.button.primary:hover,
.button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button.primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-dark));
}

.button.secondary:hover {
    background: rgba(150, 131, 236, 0.05);
    color: var(--color-text);
    border-color: rgba(150, 131, 236, 0.5);
}

/* Botón de WhatsApp */
#whatsappBtn {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: white !important;
    display: flex !important;
    align-items: center;
    font-weight: 600;
    padding: 12px 20px;
    white-space: nowrap;
    width: auto;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

#whatsappBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#whatsappBtn:hover::before {
    transform: translateY(0);
}

#whatsappBtn i.fab.fa-whatsapp {
    margin-right: 8px;
    font-size: 1.1em;
}

#whatsappBtn:hover:not(:disabled) {
    background: linear-gradient(135deg, #20ba5a, #0e7a6d) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

#whatsappBtn:disabled {
    background: linear-gradient(135deg, #a8e6c2, #a8e6c2) !important;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

#whatsappBtn:not(:disabled) {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== ESTILOS PARA VALIDACIÓN Y ESTADOS ===== */

.invalid-field {
    border-color: #ff3860 !important;
    box-shadow: 0 0 0 2px rgba(255, 56, 96, 0.2) !important;
}

.shake-effect {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.error-message {
    color: #ff3860;
    font-size: 0.85rem;
    margin-top: 5px;
    animation: fadeIn 0.3s;
}

/* ===== ANIMACIONES ===== */

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-3px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(3px, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MEDIA QUERIES ===== */

/* Para tablets */
@media (max-width: 991px) and (min-width: 577px) {
    #bookingForm {
        padding: 25px;
    }
    
    .calendar-container {
        max-width: 100%;
    }
    
    .time-slots-container {
        margin-top: 20px !important;
        padding-top: 20px;
    }
    
    .form-section {
        background-size: 250px 250px, 250px 250px, 25px 25px, 25px 25px;
    }
}

/* Para dispositivos móviles */
@media (max-width: 768px) {
    #calendarSection {
        padding: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: var(--radius-lg);
    }
    
    #bookingForm {
        padding: 20px;
    }
    
    .form-section {
        padding: 18px;
    }
    
    .header-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .form-header {
        padding: 18px 20px;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .floating-label input {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .appointment-type-options {
        flex-direction: column;
    }
    
    .selected-appointment {
        padding: 10px;
        gap: 10px;
    }
    
    .selected-appointment-item {
        min-width: auto;
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions .button {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .form-section {
        padding: 18px;
        background-size: 200px 200px, 200px 200px, 20px 20px, 20px 20px;
    }
}

/* Para móviles pequeños */
@media (max-width: 576px) {
    #calendarSection {
        padding: 0;
        border-radius: var(--radius-md);
    }
    
    #bookingForm {
        padding: 15px;
    }
    
    .form-header {
        padding: 15px;
    }
    
    .header-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }
    
    .form-header h2 {
        font-size: 1.2rem;
    }
    
    .calendar-wrapper {
        padding: 10px;
    }
    
    .calendar-days {
        padding: 8px 5px;
        gap: 3px;
    }
    
    .weekdays-header div {
        font-size: 0.75rem;
    }
    
    .calendar-day {
        font-size: 0.75rem;
        height: 28px;
    }
    
    .appointment-type-container {
        padding: 15px 10px 10px 10px;
    }
    
    .type-option label {
        min-height: 140px;
        padding: 15px 10px;
    }
    
    #whatsappBtn {
        order: 1;
    }
    
    #cancelBtn {
        order: 2;
    }
    
    .time-slots-container {
        margin-top: 20px !important;
        padding-top: 15px;
    }
    
    .time-slots-container h5 {
        font-size: 1rem !important;
    }
    
    .form-section {
        margin-bottom: 15px;
        padding: 15px;
        background-size: 180px 180px, 180px 180px, 15px 15px, 15px 15px;
    }
}

/* Para dispositivos extremadamente pequeños */
@media (max-width: 380px) {
    #calendarSection {
        padding: 0;
        border-radius: var(--radius-sm);
    }
    
    .form-header {
        padding: 12px;
    }
    
    .header-icon {
        width: 28px;
        height: 28px;
    }
    
    #bookingForm {
        padding: 12px;
    }
    
    .form-section {
        padding: 12px;
        margin-bottom: 12px;
        background-size: 150px 150px, 150px 150px, 12px 12px, 12px 12px;
    }
    
    .section-icon {
        width: 30px;
        height: 30px;
    }
    
    .calendar-day {
        height: 24px;
        font-size: 0.7rem;
    }
    
    .time-slot {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .button {
        font-size: 0.85rem;
        padding: 10px 15px !important;
    }
}

/* ===== ESTILOS PARA MÉTODO DE PAGO ===== */

.payment-method-container {
    margin-top: 20px;
    background-color: rgba(249, 249, 252, 0.7);
    border-radius: var(--radius-md);
    padding: 15px;
    border: 1px solid rgba(150, 131, 236, 0.15);
}

.section-subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.section-subtitle i {
    color: var(--color-primary);
    margin-right: 8px;
    font-size: 1rem;
}

.section-subtitle h5 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 600;
}

.payment-method-options {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    position: relative;
}

.payment-option {
    flex: 1;
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option label {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(150, 131, 236, 0.08), rgba(131, 177, 236, 0.08));
    border: 2px solid rgba(150, 131, 236, 0.15);
    border-radius: var(--radius-md);
    padding: 12px 15px;
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 100%;
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
}

.payment-option input[type="radio"]:checked + label {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(150, 131, 236, 0.05), rgba(131, 177, 236, 0.05));
    box-shadow: 0 4px 10px rgba(150, 131, 236, 0.2);
    transform: translateY(-2px);
}

.payment-option label:hover {
    border-color: rgba(150, 131, 236, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.payment-option label i {
    font-size: 18px;
    margin-right: 10px;
    color: var(--color-primary);
}

.payment-option label span {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-option input[type="radio"]:checked + label::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.selected-payment-method {
    margin-top: 15px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 12px 15px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 8px rgba(150, 131, 236, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.selected-payment-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(150, 131, 236, 0.3);
}

.selected-payment-method i {
    color: var(--color-white);
    margin-right: 10px;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.selected-payment-method span {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Media queries para responsive */
@media (max-width: 768px) {
    .payment-method-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-option label {
        padding: 10px 12px;
    }
}

@media (max-width: 576px) {
    .payment-method-container {
        padding: 12px;
    }
    
    .selected-payment-method {
        padding: 10px 12px;
    }
}