/* * Custom Login Page Styles
 */

/* 1. 页面整体背景色 */
body.page-template-page-login {
    background-color: #ededed !important;
}

/* 覆盖可能的主题背景干扰 */
.custom-login-wrapper {
    background-color: #ededed;
    min-height: calc(100vh - 60px - 300px); /* 减去header和footer的大概高度，确保居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

/* 2. 登录框主体卡片 */
.login-container {
    background-color: #ffffff; /* 卡片白色背景 */
    width: 100%;
    max-width: 480px; /* 限制最大宽度 */
    padding: 50px;
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* 轻微阴影，增加质感 */
}

/* 标题 */
.login-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #000;
    font-weight: 600;
}

/* 输入框区域 */
.login-field {
    margin-bottom: 25px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.login-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #f9f9f9;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box; /* 确保 padding 不撑大宽度 */
}

.login-input:focus {
    border-color: #000;
    background: #fff;
}

/* 记住我 */
.login-remember {
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

/* Sign In 按钮 */
.btn-signin {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-signin:hover {
    background-color: #333;
}

/* 底部链接区 */
.login-links {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.link-item {
    margin-bottom: 10px;
}

.link-item span {
    color: #666;
    margin-right: 5px;
}

.register-link, .lost-pwd-link {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
}

.register-link:hover, .lost-pwd-link:hover {
    text-decoration: none;
    color: #555;
}

/* 响应式适配 */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
}