/* Modern Login Page Styles */
:root {
    --login-bg-gradient: linear-gradient(135deg, #4f46e5 0%, #0f172a 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --input-bg: #f8fafc;
    --input-border: #e2e8f0;
    --input-focus: #4f46e5;
}

body.login-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background: #f8fafc;
}

.login-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left Side - Hero Section */
.login-hero {
    flex: 1;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: white;
    overflow: hidden;
}

.login-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1557683316-973673baf926?q=80&w=2029&auto=format&fit=crop') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.hero-logo i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: auto;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.stat-item p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.875rem;
}

/* Right Side - Login Form */
.login-section {
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #fff;
    position: relative;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.login-form-container {
    width: 100%;
    max-width: 380px;
    padding: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    transition: color 0.2s;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--input-border);
    border-radius: 0.75rem;
    background: var(--input-bg);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--input-focus);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

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

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.form-check-label {
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Responsive */
@media (max-width: 992px) {
    .login-hero {
        display: none;
    }
    
    .login-section {
        width: 100%;
        background: #f8fafc;
    }
    
    .login-form-container {
        max-width: 420px;
        background: #fff;
        padding: 2.5rem;
        border-radius: 1.5rem;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    }
}
