/**
 * Estilos adicionales para la vista de registro
 * (complementa auth-register.css y auth-register-unified.css)
 *
 * @see views/auth/modern-register.php
 */

.code-input {
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.code-input:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    outline: none !important;
}

.code-input.filled {
    border-color: #28a745 !important;
    background-color: #f8fff8 !important;
}

.code-input.error {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

#email-verification-section {
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    margin-top: 1.5rem;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Estilos para auth-card con ancho completo */
.auth-card {
    width: 100% !important;
    max-width: none !important;
}

@media (min-width: 768px) {
    .auth-card {
        padding: 40px 60px !important;
    }
}
