.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 3;
    flex-direction: column;
}
a{
    text-decoration: none !important;
}
.login-container  img{
    width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #edf4ff;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 14px;
    color: rgba(237, 244, 255, 0.6);
    text-align: center;
    margin-bottom: 32px;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 16px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: #edf4ff;
    font-family: inherit;
    transition: all 0.2s ease;
}

.login-form input[type="text"]::placeholder,
.login-form input[type="email"]::placeholder,
.login-form input[type="password"]::placeholder {
    color: rgba(237, 244, 255, 0.5);
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(31, 156, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(31, 156, 255, 0.1);
}

.form-errors {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #edf4ff;
    -webkit-user-select: none;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1f9cff;
}

.forgot-password {
    font-size: 13px;
    color: #1f9cff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #2bd3ff;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3aa1ff 0%, #1793ff 100%);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #f0f7ff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(41, 138, 255, 0.45);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(41, 138, 255, 0.55);
}

.login-btn:active {
    transform: translateY(0);
}

.signup-link {
    text-align: center;
    font-size: 13px;
    color: #1f9cff;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.signup-link:hover {
    color: #2bd3ff;
    text-decoration: underline;
}

/* Hide header and footer on login page */
body.login-page .topbar {
    display: none;
}

@media (max-width: 600px) {
    .login-card {
        max-width: 100%;
        margin: 16px;
        padding: 32px 24px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .forgot-password {
        order: -1;
        align-self: flex-end;
    }
}