/* 登录页特定样式 */

/* 当前页面导航项高亮 */
nav a.active {
    background-color: #ff8787;
}

/* 登录区域布局 */
.login-section {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 1rem;
}

/* 登录容器样式 */
.login-container {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 表单样式 */
.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #ff6b6b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

/* 记住我和忘记密码 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.forgot-password {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ff6b6b;
}

/* 登录按钮 */
.login-button {
    width: 100%;
    padding: 1rem;
    background-color: #ff6b6b;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: #ff8787;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 注册链接 */
.register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.register-link a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.5rem;
}

.register-link a:hover {
    text-decoration: underline;
}

/* 二维码登录 */
.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.qr-login img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.qr-login p {
    color: #666;
    font-size: 0.9rem;
}

/* 右侧banner */
.login-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.login-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.banner-text p {
    font-size: 1.2rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .login-section {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .login-banner {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 2rem;
    }
    
    .login-header h2 {
        font-size: 1.8rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
} 