.login-page {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #1c1c1c 0%, #2c2c2c 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    margin-top: 0;
    position: relative;
    top: 70px;
    padding-top: 50px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.login-header h1 {
    color: #333;
    font-size: 1.5rem;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #666;
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #1c69d4;
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.forgot-password {
    color: #1c69d4;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    background: #1c69d4;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #0c4da2;
}

.register-link {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.register-link a {
    color: #1c69d4;
    text-decoration: none;
    margin-left: 0.5rem;
}

.register-link a:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media screen and (max-width: 480px) {
    .login-box {
        padding: 1.5rem;
    }

    .login-header h1 {
        font-size: 1.2rem;
    }

    .form-group input {
        padding: 0.7rem;
    }
}

/* 修改导航栏在登录页面的样式 */
.login-page + .navbar,
body > .navbar {
    border-bottom: none;
    box-shadow: none;
}

/* 确保内容区域填满剩余空间 */
body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #1c1c1c 0%, #2c2c2c 100%);
} 