/* ========================================
   MiniERP - Login Page Styles
   ======================================== */

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

:root {
    /* Primary Palette - Gaming Purple */
    --primary-50: #f5f0ff;
    --primary-100: #ede5ff;
    --primary-200: #ddd0ff;
    --primary-300: #c4abff;
    --primary-400: #a67dff;
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-800: #5b21b6;
    --primary-900: #4c1d95;

    /* Accent - Neon Cyan */
    --accent-400: #22d3ee;
    --accent-500: #06b6d4;
    --accent-600: #0891b2;

    /* Success */
    --success-400: #4ade80;
    --success-500: #22c55e;

    /* Warning */
    --warning-400: #fb923c;
    --warning-500: #f97316;

    /* Error */
    --error-400: #f87171;
    --error-500: #ef4444;

    /* Neutrals */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    /* Surfaces */
    --surface-glass: rgba(255, 255, 255, 0.05);
    --surface-glass-hover: rgba(255, 255, 255, 0.1);
    --surface-glass-border: rgba(255, 255, 255, 0.1);

    /* Misc */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    --shadow-glow-accent: 0 0 40px rgba(6, 182, 212, 0.3);

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-950);
    color: var(--gray-100);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* ========================================
   Animated Background
   ======================================== */
.bg-animated {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #020617 0%, #0a0e1a 50%, #020617 100%);
    animation: bgShift 20s ease-in-out infinite alternate;
}

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

#particlesCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Floating game icons */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    color: rgba(139, 92, 246, 0.08);
    font-size: 2rem;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 2.5rem; color: rgba(139, 92, 246, 0.1); }
.shape-2 { top: 20%; right: 10%; animation-delay: -3s; font-size: 1.8rem; color: rgba(6, 182, 212, 0.08); }
.shape-3 { top: 60%; left: 8%; animation-delay: -6s; font-size: 2rem; color: rgba(139, 92, 246, 0.06); }
.shape-4 { bottom: 20%; right: 15%; animation-delay: -9s; font-size: 2.2rem; color: rgba(6, 182, 212, 0.08); }
.shape-5 { top: 40%; left: 45%; animation-delay: -12s; font-size: 1.5rem; color: rgba(139, 92, 246, 0.05); }
.shape-6 { bottom: 30%; left: 20%; animation-delay: -4s; font-size: 2rem; color: rgba(6, 182, 212, 0.06); }
.shape-7 { top: 15%; left: 60%; animation-delay: -8s; font-size: 1.8rem; color: rgba(139, 92, 246, 0.07); }
.shape-8 { bottom: 10%; right: 30%; animation-delay: -15s; font-size: 2rem; color: rgba(6, 182, 212, 0.06); }

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(3deg); }
}

/* ========================================
   Login Wrapper
   ======================================== */
.login-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ========================================
   Left Brand Panel
   ======================================== */
.login-brand {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.login-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

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

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

/* Logo Area */
.brand-logo-area {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.logo-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
    border-radius: var(--radius-lg);
    animation: logoBgRotate 8s linear infinite;
}

@keyframes logoBgRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--gray-950);
    border-radius: calc(var(--radius-lg) - 2px);
    z-index: 1;
}

.logo-main-icon {
    position: relative;
    z-index: 2;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-400), var(--accent-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-500);
    opacity: 0;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.2); }
}

.brand-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-100);
    letter-spacing: -0.02em;
}

.brand-text h1 span {
    background: linear-gradient(135deg, var(--primary-400), var(--accent-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 2px;
}

/* Brand Tagline */
.brand-tagline {
    margin-bottom: 2.5rem;
}

.brand-tagline h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-100);
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 50%, var(--primary-400) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.brand-tagline p {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Feature Items */
.brand-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInFeature 0.6s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.3s; }
.feature-item:nth-child(2) { animation-delay: 0.45s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInFeature {
    to { opacity: 1; transform: translateX(0); }
}

.feature-item:hover {
    background: var(--surface-glass-hover);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(4px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-400);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-200);
}

.feature-text span {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1px;
}

/* Brand Stats */
.brand-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-300), var(--accent-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, var(--gray-700), transparent);
}

/* ========================================
   Right Form Panel
   ======================================== */
.login-form-panel {
    width: 520px;
    min-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.login-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3), transparent);
}

.form-container {
    width: 100%;
    max-width: 380px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Mobile Logo */
.mobile-logo {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    color: var(--gray-100);
}

.mobile-logo i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-400), var(--accent-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form Header */
.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-100);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-400);
    font-size: 0.925rem;
}

/* Input Groups */
.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--gray-100);
    font-family: 'Inter', sans-serif;
    font-size: 0.925rem;
    outline: none;
    transition: all var(--transition-base);
}

.input-wrapper input::placeholder {
    color: var(--gray-600);
}

.input-wrapper input:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.input-wrapper input:focus {
    border-color: var(--primary-500);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1), 0 0 20px rgba(139, 92, 246, 0.05);
}

.input-icon {
    position: absolute;
    left: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: color var(--transition-base);
    z-index: 1;
    pointer-events: none;
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper input:focus + .input-focus-effect + .input-icon {
    color: var(--primary-400);
}

/* Reposition icon properly */
.input-wrapper > .input-icon {
    order: -1;
}

.input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.input-wrapper input:focus ~ .input-focus-effect {
    width: 100%;
}

.input-valid-icon {
    position: absolute;
    right: 1rem;
    color: var(--success-400);
    font-size: 0.875rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--transition-spring);
}

.input-group.valid .input-valid-icon {
    opacity: 1;
    transform: scale(1);
}

.input-group.valid .input-wrapper input {
    border-color: rgba(34, 197, 94, 0.3);
}

.input-group.error .input-wrapper input {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Toggle Password */
.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    z-index: 2;
}

.toggle-password:hover {
    color: var(--gray-300);
}

/* Password Strength */
.password-strength {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
    height: 0;
    overflow: hidden;
}

.password-strength.visible {
    opacity: 1;
    height: auto;
}

.strength-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.strength-fill.weak { width: 33%; background: var(--error-400); }
.strength-fill.medium { width: 66%; background: var(--warning-400); }
.strength-fill.strong { width: 100%; background: var(--success-400); }

.strength-text {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-500);
    min-width: 50px;
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray-400);
    user-select: none;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
    flex-shrink: 0;
}

.checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--transition-spring);
}

.custom-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-color: var(--primary-500);
}

.custom-checkbox input:checked + .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--primary-400);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-link:hover {
    color: var(--primary-300);
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 0.9375rem;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--accent-600) 100%);
    background-size: 200% auto;
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background-position: right center;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
    transform: translateY(-1px);
}

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

.btn-loader, .btn-success {
    display: none;
}

.btn-login.loading .btn-text { display: none; }
.btn-login.loading .btn-loader {
    display: flex;
    animation: spin 1s linear infinite;
}

.btn-login.loading .btn-loader svg {
    width: 22px;
    height: 22px;
}

.btn-login.success .btn-text { display: none; }
.btn-login.success .btn-success {
    display: flex;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-login.success {
    background: linear-gradient(135deg, var(--success-500), #10b981);
}

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

@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* Button Ripple */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: none;
    pointer-events: none;
}

.btn-ripple.animate {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Divider */
.form-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.form-divider span {
    font-size: 0.75rem;
    color: var(--gray-500);
    white-space: nowrap;
}

/* Social Login */
.social-login {
    display: flex;
    gap: 0.75rem;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--gray-300);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-social i {
    font-size: 1rem;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-google:hover {
    border-color: rgba(234, 67, 53, 0.3);
    color: #ea4335;
}

.btn-microsoft:hover {
    border-color: rgba(0, 120, 212, 0.3);
    color: #0078d4;
}

/* Form Footer */
.form-footer {
    margin-top: 2rem;
    text-align: center;
}

.form-footer p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.form-footer a {
    color: var(--primary-400);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.form-footer a:hover {
    color: var(--primary-300);
}

.footer-version {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.7rem;
    color: var(--gray-600);
}

.version-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-600);
}

/* ========================================
   Toast Notifications
   ======================================== */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    color: var(--gray-200);
    font-size: 0.875rem;
    min-width: 300px;
    animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: top right;
}

.toast.removing {
    animation: toastSlideOut 0.3s ease-in forwards;
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.toast.success .toast-icon {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success-400);
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error-400);
}

.toast.info .toast-icon {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-400);
}

@keyframes toastSlideIn {
    from { transform: translateX(100%) scale(0.8); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes toastSlideOut {
    to { transform: translateX(100%) scale(0.8); opacity: 0; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .login-brand {
        display: none;
    }

    .login-form-panel {
        width: 100%;
        min-width: unset;
        border-left: none;
    }

    .mobile-logo {
        display: flex;
    }
}

@media (max-width: 480px) {
    .login-form-panel {
        padding: 1.5rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .social-login {
        flex-direction: column;
    }
}
