/* ========== 基础工具类 ========== */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* ========== 页面级注册容器 ========== */
.login_layer_page {
    min-height: 83vh;
    
    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}

.layer_content {
    width: 420px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(90, 81, 66, 0.12);
    position: relative;
}

/* 顶部装饰色条 */
.layer_content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #b8a88a 0%, #9a8b6f 100%);
    z-index: 10;
}

/* 内容包裹区 */
.login_content_warp {
    padding: 45px 40px 40px;
    position: relative;
    z-index: 1;
}

/* ========== 标题区 ========== */
.login_page_title {
    font-size: 22px;
    font-weight: bold;
    color: #5a5142;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* 注册跳转提示 */
.login_page_registinfo {
    text-align: center;
    font-size: 13px;
    color: #8a8070;
    margin-bottom: 22px;
}

.login_page_registinfo b {
    color: #9a8b6f;
    font-size: 14px;
    margin-right: 6px;
    font-weight: bold;
}

.login_page_registinfo a {
    color: #9a8b6f;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-left: 2px;
}

.login_page_registinfo a:hover {
    color: #85775c;
    text-decoration: underline;
}

/* 错误提示 */
.error_info {
    min-height: 20px;
    color: #d97c7c;
    font-size: 12px;
    text-align: center;
    margin-bottom: 12px;
    line-height: 20px;
}

/* ========== 表单区域 ========== */
.form_box {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.form_box li {
    margin-bottom: 18px;
    position: relative;
}

/* 输入框标签 */
.ipt_name {
    font-size: 13px;
    color: #5a5142;
    font-weight: 500;
    margin-bottom: 7px;
}

/* 输入框容器 */
.ipt {
    position: relative;
}

.ipt input {
    width: 100%;
    height: 42px;
    padding: 0 15px;
    border: 1px solid #e0d7c4;
    border-radius: 6px;
    background: #ffffff;
    color: #5a5142;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ipt input::placeholder {
    color: #aaa395;
    font-size: 12px;
}

.ipt input:focus {
    border-color: #b8a88a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(184, 168, 138, 0.12);
}

/* 密码可见切换按钮 */
.pwd_eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5142' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.pwd_eye:hover {
    opacity: 0.8;
}

/* ========== 注册按钮 ========== */
.layer_btn {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, #b8a88a 0%, #9a8b6f 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 2px;
}

.layer_btn:hover {
    background: linear-gradient(135deg, #9a8b6f 0%, #85775c 100%);
    box-shadow: 0 4px 12px rgba(154, 139, 111, 0.3);
}

.layer_btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* ========== 移动端适配 ========== */
@media (max-width: 480px) {
    .layer_content {
        width: 100%;
        max-width: 380px;
    }
    
    .login_content_warp {
        padding: 35px 25px 30px;
    }
    
    .login_page_title {
        font-size: 20px;
    }
}