/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-blue: #3b82f6;
    --primary-purple: #8b5cf6;
    --primary-cyan: #06b6d4;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== BACKGROUND ANIMATIONS ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-purple);
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-cyan);
    top: 40%;
    right: 20%;
    animation-delay: 4s;
}

.circle-4 {
    width: 350px;
    height: 350px;
    background: #8b5cf6;
    bottom: 30%;
    left: 15%;
    animation-delay: 6s;
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 20%;
    animation-delay: 3s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ===== BACK TO HOME BUTTON ===== */
.back-home-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    z-index: 100;
    transition: all var(--transition-normal);
    animation: slideInLeft 0.5s ease-out;
}

.back-home-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.btn-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

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

/* ===== BRANDING PANEL ===== */
.branding-panel {
    position: relative;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.branding-content {
    position: relative;
    z-index: 1;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    animation: slideUp 0.6s ease-out 0.2s both;
}

.logo-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: var(--radius-lg);
    font-size: 24px;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--primary-blue);
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    margin-bottom: 48px;
    animation: slideUp 0.6s ease-out 0.3s both;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(45deg, var(--text-primary), var(--primary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    margin-bottom: 48px;
    animation: slideUp 0.6s ease-out 0.4s both;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    margin-bottom: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: var(--radius-sm);
    font-size: 18px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Testimonial Section */
.testimonial-section {
    animation: slideUp 0.6s ease-out 0.5s both;
}

.testimonial-content {
    position: relative;
    padding: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-icon {
    position: absolute;
    top: -12px;
    left: 24px;
    font-size: 24px;
    color: var(--primary-blue);
    background: var(--dark-bg);
    padding: 8px;
    border-radius: 50%;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 14px;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ===== FORM PANEL ===== */
.form-panel {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Logo */
.mobile-logo {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
}

.mobile-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.mobile-logo .logo-text {
    font-size: 24px;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    background: var(--glass-bg);
    padding: 8px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.6s ease-out 0.3s both;
}

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

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
}

.tab-btn.active i {
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Form Styles */
.form {
    display: none;
    animation: slideUp 0.6s ease-out both;
}

.form.active-form {
    display: block;
}

.form-header {
    margin-bottom: 32px;
    animation: fadeIn 0.5s ease-out 0.2s both;
}

.form-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 24px;
    animation: slideUp 0.5s ease-out both;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 48px 16px 48px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-normal);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
    transition: color var(--transition-normal);
}

.form-input:focus + .input-icon {
    color: var(--primary-blue);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.password-toggle:hover {
    color: var(--primary-blue);
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-bar {
    height: 100%;
    width: 0%;
    background: var(--danger);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.strength-text {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    animation: slideUp 0.5s ease-out 0.3s both;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.checkbox-container input:checked + .checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-normal);
}

.forgot-link:hover {
    color: var(--primary-cyan);
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.5s ease-out 0.4s both;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Form Footer */
.form-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.5s ease-out 0.5s both;
}

.form-footer p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.demo-accounts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.demo-account {
    flex: 1;
    min-width: 120px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.demo-account:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.5s ease-out 0.5s both;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.step-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* Social Login */
.social-login-section {
    margin-top: 40px;
    animation: slideUp 0.5s ease-out 0.6s both;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 16px;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-btn i {
    font-size: 20px;
    margin-bottom: 4px;
}

.google-btn:hover {
    background: rgba(219, 68, 55, 0.1);
    border-color: #db4437;
    color: #db4437;
}

.github-btn:hover {
    background: rgba(24, 23, 23, 0.1);
    border-color: #24292e;
    color: #24292e;
}

.linkedin-btn:hover {
    background: rgba(10, 102, 194, 0.1);
    border-color: #0a66c2;
    color: #0a66c2;
}

.social-login-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    font-size: 12px;
    color: var(--text-secondary);
}

.social-login-info i {
    color: var(--primary-blue);
    font-size: 14px;
}

/* Mobile Switcher */
.mobile-switcher {
    display: none;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.mobile-switcher a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-normal);
}

.mobile-switcher a:hover {
    color: var(--primary-cyan);
    text-decoration: underline;
}

/* Footer */
.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content p {
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
}

.toast {
    padding: 16px 24px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
}

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

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.info {
    border-left: 4px solid var(--primary-blue);
}

.toast i {
    font-size: 20px;
}

.toast.success i {
    color: var(--success);
}

.toast.error i {
    color: var(--danger);
}

.toast.info i {
    color: var(--primary-blue);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.toast-message {
    font-size: 14px;
    color: var(--text-secondary);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color var(--transition-normal);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .main-container {
        max-width: 1000px;
    }
    
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .branding-panel {
        display: none;
    }
    
    .form-panel {
        min-height: 100vh;
        border-left: none;
    }
    
    .mobile-logo {
        display: flex;
    }
    
    .mobile-switcher {
        display: block;
    }
    
    .main-footer {
        display: block;
    }
}

@media (max-width: 768px) {
    .form-panel {
        padding: 32px 24px;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
    
    .demo-accounts {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .form-panel {
        padding: 24px 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .tab-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .form-input {
        padding: 14px 48px 14px 48px;
    }
    
    .submit-btn {
        padding: 16px 24px;
        font-size: 14px;
    }
    
    .back-home-btn {
        top: 16px;
        left: 16px;
    }
    
    .toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
    }
    
    .toast {
        max-width: 100%;
    }
}

/* Print Styles */
@media print {
    .bg-animation,
    .back-home-btn,
    .social-buttons,
    .mobile-switcher,
    .main-footer,
    .toast-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .main-container {
        grid-template-columns: 1fr;
        box-shadow: none !important;
    }
    
    .branding-panel,
    .form-panel {
        background: white !important;
        color: black !important;
        border: 1px solid #ddd !important;
    }
}