body {
    background-color: #f0f2f5;
    padding: 2rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden; /* Evitar scroll horizontal */
}

.container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    overflow-x: hidden; /* Evitar scroll horizontal */
    word-wrap: break-word; /* Evitar desbordamiento de texto */
}

h2 {
    color: #2d3748;
    margin-bottom: 2rem;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.form-control {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    line-height: 1.5;
    max-width: 100%; /* Evitar desbordamiento */
    box-sizing: border-box; /* Incluir padding en el ancho */
}

/* Centrar verticalmente el texto en selectores */
select.form-control {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    height: calc(1.5em + 1.6rem + 2px);
    line-height: 1.5;
    vertical-align: middle;
}

select.form-control option {
    padding: 8px 12px;
}

.form-control:focus {
    border-color: #4776E6;
    box-shadow: 0 0 0 3px rgba(71, 118, 230, 0.1);
}

/* Estilos para campos con error de validación */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.btn {
    border-radius: 12px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(90deg, #4776E6, #8E54E9);
    border: none;
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(71, 118, 230, 0.3);
    color: white;
}

.btn-success {
    background: linear-gradient(90deg, #10B981, #059669);
    border: none;
    color: white;
}

.btn-success:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    color: white;
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    background: transparent;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.alert {
    border-radius: 15px;
    padding: 1.5rem;
    border: none;
}

.alert-info {
    background: linear-gradient(145deg, #f8f9ff, #f0f2ff);
    color: #4776E6;
}

.alert-danger {
    background: linear-gradient(145deg, #fff5f5, #ffe0e0);
    color: #e53e3e;
}

.form-check-input {
    margin-top: 0.3rem;
}

.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.custom-file-upload::before {
    content: '📎 Arrastra tu archivo aquí o haz clic para seleccionar';
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #dc3545;
    pointer-events: none;
    font-size: 1.1em;
    text-decoration: underline;
}

.custom-file-upload::after {
    content: '* Documento requerido.\A Si requiere la factura antes del pago. Envíenos un correo electrónico a info@campusneurokids.com y le indicaremos las instrucciones para obtenerla.';
    white-space: pre-wrap;
    display: block;
    color: #dc3545;
    font-size: 0.9em;
    font-weight: 500;
    margin-top: 5px;
    pointer-events: none;
}

.custom-file-upload {
    position: relative;
    margin: 20px 0;
    background: #fff3f3;
    border: 2px dashed #dc3545;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.custom-file-upload:hover {
    background: #ffe9e9;
    border-color: #bd2130;
}

#preview-container img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 15px;
}

.alert-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    margin-top: 15px;
}

.alert-success i {
    font-size: 1.2em;
}

.file-preview-container {
    position: relative;
    display: inline-block;
}

.delete-file-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.delete-file-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.alert-success a {
    color: #155724;
    text-decoration: underline;
    font-weight: bold;
}

.alert-success a:hover {
    color: #0b2e13;
    text-decoration: none;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
    border-left: 5px solid #ffc107;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.custom-file-upload.required {
    border: 2px dashed #dc3545;
    background-color: #fff5f5;
}

.custom-file-upload.required::before {
    color: #dc3545;
    font-weight: 600;
}

/* Estilos para Stripe */
#card-element {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    background: white;
    margin-bottom: 1rem;
}

#card-errors {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 0.5rem;
}

.stripe-button {
    background: linear-gradient(90deg, #6772E5, #5469D4);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stripe-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.stripe-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.spinner,
.spinner:before,
.spinner:after {
    border-radius: 50%;
}
.spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.spinner:before,
.spinner:after {
    position: absolute;
    content: '';
}
.spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #5469d4;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
    width: 10.4px;
    height: 20.4px;
    background: #5469d4;
    border-radius: 0 20.4px 20.4px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}
@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}

/* Sistema de Feedback de Pago */
.payment-feedback-container {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.payment-feedback {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    border: 1px solid transparent;
}

.payment-feedback.info {
    background: linear-gradient(145deg, #f0f8ff, #e6f3ff);
    color: #2563eb;
    border-color: #bfdbfe;
}

.payment-feedback.success {
    background: linear-gradient(145deg, #f0fff4, #e6fffa);
    color: #059669;
    border-color: #a7f3d0;
}

.payment-feedback.error {
    background: linear-gradient(145deg, #fef2f2, #fee2e2);
    color: #dc2626;
    border-color: #fecaca;
}

.payment-feedback.warning {
    background: linear-gradient(145deg, #fffbeb, #fef3c7);
    color: #d97706;
    border-color: #fde68a;
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feedback-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feedback-message {
    flex: 1;
}

/* Animación de entrada */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras en el botón de pago */
.stripe-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stripe-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.stripe-button:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Alineación del texto y spinner en el botón */
.stripe-button #button-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stripe-button .spinner {
    margin: 0;
    flex-shrink: 0;
}

/* Mejoras en el spinner */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    margin: 0;
    flex-shrink: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mensaje de éxito mejorado */
.success-message {
    animation: fadeInUp 0.5s ease-out;
}

.success-message .alert-success {
    background: linear-gradient(145deg, #f0fff4, #e6fffa);
    border: 1px solid #a7f3d0;
    color: #059669;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.success-message .alert-success h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* Responsive para feedback */
@media (max-width: 768px) {
    .payment-feedback {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .feedback-content {
        gap: 0.5rem;
    }
    
    .feedback-icon {
        font-size: 1rem;
    }
    
    /* Mejorar diseño móvil del título y precio */
    h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Reducir padding del container en móvil */
    .container {
        padding: 1.5rem !important;
    }
    
    body {
        padding: 1rem !important;
    }
}

/* Mejoras en la distribución de botones */
.d-flex.justify-content-between {
    gap: 1rem;
}

@media (max-width: 576px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Mejorar diseño para pantallas muy pequeñas */
    h2 {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    h3 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .container {
        padding: 1rem !important;
    }
    
    body {
        padding: 0.5rem !important;
    }
}

/* Efectos adicionales para botones */
.btn i {
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: scale(1.1);
}

/* Estilo especial para el botón de pago */
.stripe-button.btn-success {
    min-width: 200px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stripe-button.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
}

/* Estilos para la advertencia de procesamiento */
#processing-warning {
    background: linear-gradient(145deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    color: #856404;
    border-radius: 12px;
    animation: pulse 2s infinite;
}

#processing-warning .fas {
    color: #ffc107;
    font-size: 1.2em;
}

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

/* Estilos para el resumen de datos */
#student-summary {
    margin-top: 1rem;
}

#student-summary h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
}

#student-summary h6.text-primary {
    border-bottom-color: #4776E6;
}

#student-summary h6.text-success {
    border-bottom-color: #10B981;
}

#student-summary h6.text-muted {
    border-bottom-color: #6c757d;
}

#student-summary p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

#student-summary p strong {
    color: #2d3748;
    font-weight: 600;
}

/* Responsive para el resumen */
@media (max-width: 768px) {
    #student-summary .col-md-6:first-child {
        margin-bottom: 1.5rem;
    }
    
    #student-summary h6 {
        font-size: 1rem;
    }
    
    #student-summary p {
        font-size: 0.9rem;
    }
}

/* Estilos para formulario responsive */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: block;
}

/* Responsive para formulario */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 16px; /* Evita zoom en iOS */
        max-width: 100%; /* Evitar desbordamiento */
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* En móviles, los campos se apilan */
    .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .row .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    /* Mejorar espaciado en móviles */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        max-width: 100%; /* Evitar desbordamiento */
    }
    
    .col-md-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        max-width: 100%; /* Evitar desbordamiento */
        box-sizing: border-box; /* Incluir padding en el ancho */
    }
}

@media (max-width: 576px) {
    .container {
        padding: 1rem;
        max-width: 100%; /* Evitar desbordamiento */
    }
    
    .form-control {
        padding: 0.7rem 0.75rem;
        max-width: 100%; /* Evitar desbordamiento */
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        max-width: 100%; /* Evitar desbordamiento */
    }
    
    /* Ajustes específicos para campos de facturación */
    #invoice-fields h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        word-wrap: break-word; /* Evitar desbordamiento de texto */
    }
    
    #invoice-fields .row .col-md-8,
    #invoice-fields .row .col-md-4 {
        margin-bottom: 0.75rem;
        max-width: 100%; /* Evitar desbordamiento */
    }
    
    /* Ajustes para títulos en móviles */
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
}

/* Mejoras en espaciado para pantallas grandes */
@media (min-width: 992px) {
    .form-group {
        margin-bottom: 1.75rem;
    }
    
    .form-control {
        padding: 0.875rem 1rem;
    }
}

/* Animaciones para modales */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Estilos específicos para modales de email duplicado */
.email-exists-modal {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden; /* Evitar scroll horizontal */
}

.email-exists-modal .modal-content {
    overflow-x: hidden; /* Evitar scroll horizontal */
    word-wrap: break-word; /* Evitar desbordamiento de texto */
}

.email-exists-modal .modal-content {
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.email-exists-modal .btn {
    transition: all 0.3s ease;
}

.email-exists-modal .btn:hover {
    transform: translateY(-2px);
}

.email-exists-modal .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.email-exists-modal .btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 8px 20px rgba(71, 118, 230, 0.3);
}

/* Responsive para modales */
@media (max-width: 768px) {
    .email-exists-modal .modal-content {
        width: 95%;
        max-width: none;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .email-exists-modal .modal-header h3 {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }
    
    .email-exists-modal .modal-body {
        padding: 1rem !important;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .email-exists-modal .modal-footer {
        padding: 1rem !important;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .email-exists-modal .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Reducir espaciado en pantallas pequeñas */
    .email-exists-modal .modal-body p {
        margin-bottom: 1rem !important;
        font-size: 1rem !important;
    }
    
    .email-exists-modal .modal-body div[style*="background"] {
        padding: 1rem !important;
        margin: 1rem 0 !important;
    }
    
    .email-exists-modal .modal-body h4 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .email-exists-modal .modal-body div[style*="display: grid"] p {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .email-exists-modal .modal-content {
        width: 98%;
        max-height: 95vh;
    }
    
    .email-exists-modal .modal-header {
        padding: 1rem !important;
    }
    
    .email-exists-modal .modal-header h3 {
        font-size: 1.1rem !important;
    }
    
    .email-exists-modal .modal-body {
        padding: 0.75rem !important;
        max-height: 70vh;
    }
    
    .email-exists-modal .modal-footer {
        padding: 0.75rem !important;
    }
    
    .email-exists-modal .btn {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
} 

/* Estilos para el modal de datos actualizados cuando ya ha pagado */
.already-paid-modal {
    animation: fadeIn 0.3s ease-out;
}

.already-paid-modal .modal-content {
    animation: slideInUp 0.3s ease-out;
}

.already-paid-modal .btn {
    transition: all 0.3s ease;
}

.already-paid-modal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.already-paid-modal .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.already-paid-modal .btn-success:hover {
    background: linear-gradient(90deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

/* Responsive para el modal de datos actualizados */
@media (max-width: 768px) {
    .already-paid-modal .modal-content {
        width: 95%;
        max-width: none;
        margin: 1rem;
    }
    
    .already-paid-modal .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .already-paid-modal .modal-body {
        padding: 1.5rem;
    }
    
    .already-paid-modal .modal-footer {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .already-paid-modal .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .already-paid-modal .modal-body p {
        font-size: 0.95rem;
    }
    
    .already-paid-modal .modal-body div[style*="background"] {
        padding: 1rem;
    }
    
    .already-paid-modal .modal-body h4 {
        font-size: 1rem;
    }
    
    .already-paid-modal .modal-body div[style*="display: grid"] p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .already-paid-modal .modal-content {
        width: 98%;
        margin: 0.5rem;
    }
    
    .already-paid-modal .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .already-paid-modal .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .already-paid-modal .modal-body {
        padding: 1rem;
    }
    
    .already-paid-modal .modal-footer {
        padding: 1rem;
    }
    
    .already-paid-modal .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
} 

/* Estilos para el modal de comparación de datos en el paso 2 */
.data-comparison-modal {
    animation: fadeIn 0.3s ease-out;
}

.data-comparison-modal .modal-content {
    animation: slideInUp 0.3s ease-out;
}

.data-comparison-modal .btn {
    transition: all 0.3s ease;
}

.data-comparison-modal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.data-comparison-modal .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.data-comparison-modal .btn-primary:hover {
    background: linear-gradient(90deg, #4776E6, #8E54E9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(71, 118, 230, 0.3);
}

/* Responsive para el modal de comparación de datos */
@media (max-width: 768px) {
    .data-comparison-modal .modal-content {
        width: 95%;
        max-width: none;
        margin: 1rem;
    }
    
    .data-comparison-modal .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .data-comparison-modal .modal-body {
        padding: 1.5rem;
    }
    
    .data-comparison-modal .modal-footer {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .data-comparison-modal .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .data-comparison-modal .modal-body p {
        font-size: 0.95rem;
    }
    
    .data-comparison-modal .modal-body div[style*="background"] {
        padding: 1rem;
    }
    
    .data-comparison-modal .modal-body h4 {
        font-size: 1rem;
    }
    
    .data-comparison-modal .modal-body div[style*="display: grid"] p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .data-comparison-modal .modal-body div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0.25rem !important;
    }
}

@media (max-width: 480px) {
    .data-comparison-modal .modal-content {
        width: 98%;
        margin: 0.5rem;
    }
    
    .data-comparison-modal .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .data-comparison-modal .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .data-comparison-modal .modal-body {
        padding: 1rem;
    }
    
    .data-comparison-modal .modal-footer {
        padding: 1rem;
    }
    
    .data-comparison-modal .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
} 