/* 基础样式 */
.auth-wrapper {
    width: 100%;
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 120px;
    margin-bottom: 20px;
}

.auth-header h1 {
    color: #2d3e50;
    font-size: 24px;
    font-weight: 500;
}

/* 认证盒子 */
.auth-box {
    width: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    padding: 30px 40px;
}

/* 选项卡样式 */
.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    color: #666;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.tab-item.active {
    color: #409EFF;
    border-bottom: 2px solid #409EFF;
    font-weight: 500;
}

/* 表单样式 */
.auth-form {
    margin-top: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 90%;
    height: 44px;
    padding: 0 15px 0 40px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #409EFF;
    outline: none;
}

.iconfont {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #c0c4cc;
    font-size: 18px;
}

/* 验证码组 */
.code-group {
    display: flex;
    gap: 10px;
}

.code-group input {
    flex: 1;
    padding-left: 40px !important;
}

.btn-sms {
    width: 120px;
    height: 44px;
    background: #f0f2f5;
    border: none;
    border-radius: 4px;
    color: #409EFF;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-sms:hover {
    background: #e6e9ed;
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    height: 44px;
    background: #409EFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #2c7bff;
}

/* 底部链接 */
.auth-footer {
    margin-top: 20px;
    text-align: center;
    color: #909399;
}

.auth-footer a {
    color: #2c7bff;
    text-decoration: none;
    margin-left: 5px;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .auth-box {
        width: 90%;
        padding: 20px;
    }
    
    .auth-header h1 {
        font-size: 20px;
    }
}

/* 新增注册框样式 */
.register-box {
    width: 600px;
    margin:190px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.register-title {
    font-size: 24px;
    color: #303133;
    text-align: center;
    margin-bottom: 30px;
}

.form-tips {
    color: #909399;
    font-size: 12px;
    margin-top: 6px;
}

/* 返回登录链接样式 */
.back-login {
    margin: -10px 0 20px;
    position: relative;
}

.back-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #f5f7fa;
    border-radius: 20px;
    color: #606266;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #dcdfe6;
}

.back-link .iconfont {
    font-size: 14px;
    color: #409EFF;
    margin-right: 8px;
    transition: transform 0.3s;
}

.back-link:hover {
    background-color: #409EFF;
    color: #fff;
    border-color: #409EFF;
}

.back-link:hover .iconfont {
    color: #fff;
    transform: translateX(-3px);
}

/* 注册容器布局 */
.register-wrapper {
   
    gap: 40px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 注册表单区块 */
.register-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* 协议复选框样式 */
.agree-check {
    margin: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #606266;
}

.agree-check a {
    color: #409EFF;
    text-decoration: none;
}

.agree-check a:hover {
    text-decoration: underline;
}

/* 弹窗内容样式 */
.layui-layer-content {
    padding: 20px !important;
}

.agreement-content {
    max-height: 500px;
    overflow-y: auto;
}

.agreement-content h4 {
    color: #303133;
    font-size: 16px;
    margin: 20px 0 10px;
    border-left: 3px solid #409EFF;
    padding-left: 10px;
}

.agreement-content p {
    color: #606266;
    margin-bottom: 15px;
    text-indent: 2em;
}

.agreement-content ul {
    margin: 10px 0 20px 30px;
}

.agreement-content li {
    margin-bottom: 8px;
    list-style-type: disc;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .register-wrapper {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    
    .agreement-panel {
        height: auto;
        order: -1;
        margin-bottom: 20px;
    }
}

@font-face {
    font-family: "layer-icon";
    src: url('/static/layer/fonts/icon.woff') format('woff'),
         url('/static/layer/fonts/icon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 移除图标占位空间 */
.layui-layer-msg .layui-layer-content {
    padding: 0 35px !important;
    margin-left: 0 !important;
}

/* 隐藏图标元素 */
.layui-layer-msg .layui-layer-ico {
    display: none;
}

.layui-layer-ico16 {
    display: none !important;
}

/* 调整消息框高度和间距 */
.layui-layer-msg {
    min-height: 25px !important;  /* 控制最小高度 */
    padding: 8px 8px !important; /* 控制整体内边距 */
}

.layui-layer-msg .layui-layer-content {
    padding: 8px 8px !important;  /* 增加垂直间距 */
    font-size: 15px !important;    /* 稍加大字号 */
    min-height: 24px !important;   /* 保证最小高度 */
}

/* 密码强度提示 */
.password-strength {
    margin-top: 8px;
    font-size: 12px;
    color: #909399;
}

.password-strength span {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 8px;
    border-radius: 3px;
}

.strength-weak { background: #f56c6c; color: #fff; }
.strength-medium { background: #e6a23c; color: #fff; }
.strength-strong { background: #67c23a; color: #fff; }

/* 手机验证码找回密码专用样式 */
#forgotForm .code-group {
    margin-bottom: 20px;
}

#forgotForm .code-group .form-group {
    flex: 1;
    margin-right: 10px;
}

#forgotForm .code-group input {
    padding-left: 40px !important;
}

#forgotForm .btn-sms {
    width: 120px;
    height: 44px;
    background: #f0f2f5;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    color: #409EFF;
    cursor: pointer;
    transition: all 0.3s;
}

#forgotForm .btn-sms:hover {
    background: #e6e9ed;
}

#forgotForm .btn-sms:disabled {
    background: #f5f7fa;
    color: #c0c4cc;
    cursor: not-allowed;
} 