* {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.site-wrapper {
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部区域 - 参考目标站风格 */
.main-header {
    background: white;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}
.logo {
    margin-right: auto;
}
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
}

.nav-links a:hover {
    color: #4a6cf7;
}

.login-btn {
    background: #4a6cf7;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.login-btn:hover {
    background: #3154e0;
    color: white;
    text-decoration: none;
}

/* 注册主体区域 - 左右布局 */
.register-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.register-container {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    display: flex;
}

/* 左侧图片区域 */
.register-left {
    width: 50%;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.register-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

/* 左侧图片下方文字 */
.image-slogan {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 0 10px;
}

.slogan-text {
    font-size: 18px;
    font-weight: 700; /* 粗体 */
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.slogan-text span {
    display: inline-block;
    margin: 0 8px;
}

.slogan-text .separator {
    color: #4a6cf7;
    font-weight: 600;
}

/* 右侧注册表单 */
.register-right {
    width: 50%;
    padding: 50px 40px;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.register-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 简洁表单样式 - 无验证 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.input-field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.input-field:focus {
    border-color: #4a6cf7;
    outline: none;
}

/* 验证码区域 */
.code-group {
    display: flex;
    gap: 10px;
}

.code-input {
    flex: 1;
}

.get-code-btn {
    background: #4a6cf7;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 0 16px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    min-width: 100px;
}

.get-code-btn:hover {
    background: #3154e0;
}

/* 协议同意 - 修复对齐和间距 */
.agreement-box {
    display: flex;
    align-items: center;
    margin: 20px 0 25px;
    padding: 5px 0;
}

.agreement-checkbox {
    width: 16px;
    height: 16px;
    margin: 0 12px 0 0; /* 右侧增加间距 */
    cursor: pointer;
    vertical-align: middle;
}

.agreement-label {
    font-size: 13px;
    color: #666;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.agreement-link {
    color: #4a6cf7;
    text-decoration: none;
    margin-left: 2px;
}

.agreement-link:hover {
    text-decoration: underline;
}

/* 注册按钮 */
.register-btn {
    background: #4a6cf7;
    color: white;
    border: none;
    border-radius: 3px;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    cursor: pointer;
}

.register-btn:hover {
    background: #3154e0;
}

/* 登录链接 */
.login-link-box {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.login-text {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.login-link {
    color: #4a6cf7;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

/* 安全提示 */
.security-tip {
    background: #f9f9f9;
    border-radius: 3px;
    padding: 12px 15px;
    margin-top: 25px;
    border-left: 3px solid #4a6cf7;
}

.security-tip p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 底部 */
.main-footer {
    background: white;
    border-top: 1px solid #f0f0f0;
    padding: 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-text {
    color: #999;
    font-size: 13px;
    margin: 0;
}

.footer-link {
    color: #666;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .register-container {
        flex-direction: column;
    }

    .register-left, .register-right {
        width: 100%;
    }

    .register-left {
        padding: 30px;
    }

    .register-right {
        padding: 40px 30px;
    }

    .image-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 15px;
    }

    .register-left {
        padding: 20px;
    }

    .register-right {
        padding: 30px 20px;
    }

    .register-title {
        font-size: 20px;
    }

    .code-group {
        flex-direction: column;
    }

    .get-code-btn {
        height: 36px;
        width: 100%;
    }
}
.layui-error {
    position: absolute;
    color: red;
}