/** 登录页面样式 **/
/* 背景和整体布局 */
body.login {
    background-color: #fff;
}

#login {
    width: 400px;
    padding: 40px;
    margin: 60px auto;
    border: 1px solid #111;
    border-radius: 6px;
}


/* 表单标题 */
#login h1 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

/* 输入框 */
.login form .input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #888;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* 登录按钮 */
.wp-core-ui .button-primary {
    width: 100%;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    padding: 12px 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-transform: uppercase;
    font-weight: 500;
}

.wp-core-ui .button-primary:hover {
    background-color: #333;
}

/* 记住我复选框 */
.login form .forgetmenot label {
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login form .forgetmenot input[type=checkbox] {
    border: 2px solid #f26522;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    position: relative;
    margin-right: 4px;
}

.login form .forgetmenot input[type=checkbox]:checked::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 6px;
    height: 10px;
    border: solid #f26522;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 忘记密码链接 */
.login #nav {
    text-align: center;
    margin-top: 20px;
}

.login #nav a {
    color: #000;
    text-decoration: none;
}

.login #nav a:hover {
    text-decoration: underline;
}


/* Logo 区域隐藏或自定义 
.wp-login-logo {
    display: none;
}
*/

/** 替换logo **/
.login h1 a {
    background-image: url('/wp-content/uploads/2025/08/cropped-top-logo.png');
    background-size: contain;
    width: 100%;
    height: 80px;
    display: block;
}

