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

:root {
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --accent: #4cc9f0;
    --success: #06d6a0;
    --dark: #1a1c2c;
    --light: #f8f9fa;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f1b31, #1d2b53);
    color: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* ===== Navigation Bar ===== */
.navbar {
    width: 100%;
    background: rgba(10, 15, 30, 0.8);
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(67, 97, 238, 0.2);
}

.nav-left {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-right {
    display: flex;
    gap: 1.8rem;
}

.nav-link {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(67, 97, 238, 0.1);
}

.nav-link.active {
    color: var(--accent);
    background: rgba(67, 97, 238, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

.login-info {
    margin-bottom: 3rem;
}

.login-info h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #4cc9f0, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-info p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(67, 97, 238, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(67, 97, 238, 0.1);
}

.feature-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--light);
}

.feature-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Login Form ===== */
.login-form-container {
    flex: 0 0 450px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(67, 97, 238, 0.2);
    position: relative;
    overflow: hidden;
}

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

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(67, 97, 238, 0.15);
    box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.2);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

.remember input {
    accent-color: var(--accent);
}

.forgot-password {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.login-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 12, 163, 0.4);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.4);
}

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

.divider span {
    padding: 0 1rem;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(67, 97, 238, 0.2);
    transform: translateY(-3px);
}

.register-link {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.register-link a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.register-link a:hover {
    text-decoration: underline;
}

/* ===== Updated Full Width Footer ===== */
        .footer {
            background: rgba(10, 15, 30, 0.9);
            padding: 2rem 0;
            text-align: center;
            margin-top: auto;
            border-top: 1px solid rgba(67, 97, 238, 0.2);
            width: 100%;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 2rem;
            width: 100%;
        }
        
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 1.5rem;
        }
        
        .footer-links {
            display: flex;
            gap: 2rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
            width: 100%;
        }
        
        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: var(--transition);
            padding: 0.5rem 1rem;
        }
        
        .footer-links a:hover {
            color: var(--accent);
            background: rgba(67, 97, 238, 0.1);
            border-radius: 6px;
        }
        
        .copyright {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
            width: 100%;
        }
/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        max-width: 800px;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-right {
        width: 100%;
        justify-content: center;
    }
    
    .login-info h1 {
        font-size: 2.8rem;
    }
    
    .login-info p {
        font-size: 1.1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .login-form-container {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .nav-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        justify-content: center;
    }
    
    .login-info h1 {
        font-size: 2.2rem;
    }
    
    .remember-forgot {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}