/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de Color - Tema Java */
:root {
    --java-orange: #ED8B00;
    --java-orange-light: #FFA726;
    --java-orange-glow: rgba(237, 139, 0, 0.25);
    --java-blue: #007396;
    --java-blue-light: #0097C8;
    --java-blue-glow: rgba(0, 115, 150, 0.25);
    --accent-primary: var(--java-blue);
    --accent-primary-light: var(--java-blue-light);
    --accent-glow: var(--java-blue-glow);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Background Image Section Enhanced */
.left-side {
    flex: 1;
    background-image: url(../assets/one.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Overlay mejorado con gradiente más sofisticado */
.left-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Efecto de partículas sutiles */
.left-side::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.welcome-content {
    position: relative;
    z-index: 1;
    max-width: 550px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Logo mejorado */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 80px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateX(5px);
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo span {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.8px;
    text-shadow: none;
}

/* Título y descripción mejorados */
.welcome-content h1 {
    font-size: 58px;
    font-weight: 900;
    margin-bottom: 28px;
    line-height: 1.1;
    color: white;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

.welcome-content>p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 70px;
    margin-top: 1.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Steps mejorados con efectos premium */
.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.step:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.step.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    color: var(--java-blue);
    box-shadow: 0 10px 40px var(--java-blue-glow);
    transform: translateX(8px) scale(1.02);
    border-color: transparent;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--java-blue) 0%, var(--java-blue-light) 100%);
    color: white;
    box-shadow: 0 4px 12px var(--java-blue-glow);
}

.step span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Right Side - Forms Enhanced */
.right-side {
    flex: 1;
    background: linear-gradient(180deg, #0b0b0b 0%, #111111 100%);
    padding: 70px;
    padding-inline: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    position: relative;
}

.form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.form-container.hidden {
    display: none;
}

.form-container h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
    letter-spacing: -1px;
    line-height: 1.2;
}

.subtitle {
    color: #b3b3b3;
    margin-bottom: 48px;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0.3px;
    font-weight: 400;
}

/* Social Buttons Enhanced */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 22px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.social-btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn:hover {
    background: #252525;
    border-color: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.social-btn:active {
    transform: translateY(0);
}

.social-btn img {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
}

.social-btn span {
    position: relative;
    z-index: 1;
}

/* Divider Enhanced */
.divider {
    position: relative;
    text-align: center;
    margin: 36px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #333 50%, transparent 100%);
}

.divider span {
    position: relative;
    background: #000;
    padding: 0 18px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Forms Enhanced */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    position: relative;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 6px;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
}

.form-group:focus-within label {
    color: var(--java-blue-light);
    transform: translateX(2px);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: white;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    line-height: 1.5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.form-group input::placeholder {
    color: #777;
    transition: color 0.3s ease;
}

/* Estilos para autocompletado - mantiene el tema oscuro */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px rgba(20, 20, 20, 1) inset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: rgba(255, 255, 255, 0.9);
}

.form-group input:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.form-group input:hover::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--java-blue);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px var(--java-blue-glow), 
                0 8px 24px rgba(0, 115, 150, 0.3),
                0 0 40px rgba(0, 115, 150, 0.15);
    transform: translateY(-2px);
}

.form-group input:focus::placeholder {
    color: #aaa;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding-right: 55px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    padding: 9px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2;
}

.toggle-password:hover {
    color: var(--java-blue-light);
    background: rgba(0, 115, 150, 0.15);
    border-color: var(--java-blue);
    transform: translateY(-50%) scale(1.05);
}

.toggle-password:active {
    transform: translateY(-50%) scale(0.98);
}

/* Forgot Password Link */
.forgot-password-container {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 1.2rem;
}

.forgot-password-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.forgot-password-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--java-blue) 0%, var(--java-blue-light) 100%);
    transition: width 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--java-blue-light);
}

.forgot-password-link:hover::after {
    width: 100%;
}

.form-group small {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.error-message {
    font-size: 13px;
    color: #ef4444;
    margin-top: -4px;
    font-weight: 500;
}

/* Enhanced Checkbox Styles */
.form-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    cursor: pointer;
    user-select: none;
}

.form-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 6px;
    background: #1a1a1a;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.form-check input[type="checkbox"]:hover {
    border-color: var(--java-blue);
    background: #222;
}

.form-check input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--java-blue-glow);
}

/* Checkmark */
.form-check input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.form-check input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--java-blue) 0%, var(--java-blue-light) 100%);
    border-color: var(--java-blue);
}

.form-check input[type="checkbox"]:checked::before {
    transform: translate(-50%, -55%) scale(1) rotate(45deg);
    opacity: 1;
}

/* Label */
.form-check label {
    font-size: 15px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
}

.form-check:hover label {
    color: #fff;
}

.form-check input[type="checkbox"]:checked+label {
    color: #fff;
}

/* Efecto ripple al hacer click */
.form-check input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.form-check input[type="checkbox"]:active::after {
    width: 40px;
    height: 40px;
    opacity: 1;
}

/* Variante: Toggle Switch Style (iOS-like) */
.form-check.toggle-style {
    gap: 14px;
}

.form-check.toggle-style input[type="checkbox"] {
    width: 48px;
    height: 26px;
    border-radius: 13px;
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-check.toggle-style input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #6b7280;
    top: 2px;
    left: 2px;
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.form-check.toggle-style input[type="checkbox"]::after {
    display: none; /* Desactivar efecto ripple para toggle */
}

.form-check.toggle-style input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--java-blue) 0%, var(--java-blue-light) 100%);
    border-color: var(--java-blue);
}

.form-check.toggle-style input[type="checkbox"]:checked::before {
    background: #ffffff;
    transform: translateX(22px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.form-check.toggle-style input[type="checkbox"]:hover {
    background: #3a3a3a;
    border-color: #4a4a4a;
}

.form-check.toggle-style input[type="checkbox"]:hover::before {
    background: #808080;
}

.form-check.toggle-style input[type="checkbox"]:checked:hover {
    background: linear-gradient(135deg, #005d78 0%, var(--java-blue) 100%);
    border-color: #005d78;
}

.form-check.toggle-style input[type="checkbox"]:checked:hover::before {
    background: #ffffff;
}

.form-check.toggle-style input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px var(--java-blue-glow);
}

/* Submit Button Enhanced - Apple Style */
.submit-btn {
    width: 100%;
    padding: 18px 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: #000;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.12),
                0 1px 3px rgba(255, 255, 255, 0.08);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 115, 150, 0.08);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.18),
                0 3px 8px rgba(255, 255, 255, 0.12);
}

.submit-btn:hover::before {
    width: 350px;
    height: 350px;
}

.submit-btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}

/* Switch Form Enhanced */
.switch-form {
    text-align: center;
    margin-top: 28px;
    color: #a3a3a3;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.switch-form a {
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.switch-form a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--java-blue) 0%, var(--java-blue-light) 100%);
    transition: width 0.3s ease;
}

.switch-form a:hover {
    color: var(--java-blue-light);
}

.switch-form a:hover::after {
    width: 100%;
}

/* Loading Enhanced */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid #000;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

/* ================================
   ESTILOS PARA EL MODAL (Añadir al final de signin.css)
================================ */

/* --- Capa Oscura (Overlay) --- */
.modal-overlay {
    position: fixed;
    /* Fijo en la pantalla */
    inset: 0;
    /* Cubre todo (top: 0, left: 0, ...) */
    background: rgba(0, 0, 0, 0.75);
    /* Fondo oscuro translúcido */
    display: flex;
    /* Usar flex para centrar */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Asegurar que esté encima de todo */
    opacity: 0;
    /* Oculto por defecto */
    pointer-events: none;
    /* No interactuable cuando está oculto */
    transition: opacity 0.3s ease;
}

/* --- Contenido del Modal --- */
.modal-content {
    background: var(--bg-card, #1a1a1a);
    /* Reutilizar color tarjeta o fallback */
    padding: 40px 35px;
    border-radius: 12px;
    border: 1px solid var(--border-color, #2a2a2a);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    width: 90%;
    /* Ancho base */
    max-width: 450px;
    /* Límite en desktop */
    position: relative;
    /* Para posicionar el botón de cierre */
    transform: scale(0.95);
    /* Efecto de "zoom" al aparecer */
    transition: transform 0.3s ease;
}

/* --- Estado Visible --- */
.modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
    /* Hacer interactuable */
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

/* --- Estilos Internos --- */
.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary, #fff);
    text-align: center;
}

.modal-content .subtitle {
    font-size: 15px;
    color: var(--text-secondary, #a0a0a0);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

.modal-content .form-group {
    margin-bottom: 25px;
    /* Espacio antes del botón */
}

/* Reutilizar estilos de input */
.modal-content input {
    width: 100%;
    padding: 15px 18px;
    background: #101010;
    /* Un poco más oscuro que bg-card */
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    font-size: 15px;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--accent-color, #7c3aed);
    background: #1f1f1f;
}

/* Reutilizar estilos de botón */
.modal-content .submit-btn {
    display: block;
    /* Ocupar todo el ancho */
    width: 100%;
    margin-top: 10px;
    padding: 15px 24px;
}

/* Botón de Cierre (X) */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary, #a0a0a0);
    cursor: pointer;
    padding: 5px;
    line-height: 0;
    /* Para alinear bien el icono SVG */
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--text-primary, #fff);
    transform: rotate(90deg);
}

.modal-close-btn svg {
    width: 20px;
    height: 20px;
}

/* Contenedor para alertas DENTRO del modal */
#modalAlertContainer .message {
    margin-bottom: 20px;
    /* Espacio antes del botón */
}


/* --- Responsive: Ajustes para Móvil --- */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        /* Un poco más ancho en móvil */
        padding: 30px 25px;
        max-height: 90vh;
        /* Limitar altura */
        overflow-y: auto;
        /* Scroll si el contenido es mucho */
    }

    .modal-content h3 {
        font-size: 22px;
    }

    .modal-content .subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .modal-close-btn {
        top: 10px;
        right: 10px;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Messages Enhanced */
.message {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    display: none;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.message.show {
    display: block;
}

.message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* ================================
   RESPONSIVE DESIGN ENHANCED
================================ */

/* Tablet */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .left-side {
        padding: 50px;
        min-height: 450px;
    }

    .welcome-content h1 {
        font-size: 42px;
    }

    .right-side {
        padding: 50px;
    }

    .form-container h2 {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .left-side {
        padding: 40px 30px;
        min-height: 350px;
    }

    .logo {
        margin-bottom: 50px;
    }

    .welcome-content h1 {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .welcome-content>p {
        font-size: 17px;
        margin-bottom: 50px;
    }

    .step {
        padding: 18px 24px;
    }

    .step-number {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .step span {
        font-size: 15px;
    }

    .right-side {
        padding: 40px 28px;
        padding-inline: 2rem;
    }

    .form-container {
        max-width: 100%;
    }

    .form-container h2 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .social-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .social-btn {
        padding: 14px 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .left-side {
        padding: 30px 20px;
        min-height: 300px;
    }

    .logo {
        margin-bottom: 40px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo span {
        font-size: 19px;
    }

    .welcome-content h1 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .welcome-content>p {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .steps {
        gap: 12px;
    }

    .step {
        padding: 16px 20px;
        gap: 16px;
    }

    .right-side {
        padding: 30px 20px;
    }

    .form-container h2 {
        font-size: 26px;
    }

    .form-group input,
    .form-group select {
        padding: 14px 18px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 15px 24px;
        font-size: 15px;
    }
}

/* Desktop Large */
@media (min-width: 1440px) {
    .left-side {
        padding: 80px;
    }

    .welcome-content {
        max-width: 600px;
    }

    .welcome-content h1 {
        font-size: 56px;
    }

    .welcome-content>p {
        font-size: 20px;
    }

    .right-side {
        padding: 80px;
    }

    .form-container {
        max-width: 520px;
    }

    .form-container h2 {
        font-size: 40px;
    }
}