/* 注册页 - 蓝白金融风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.bgWhite {
    background: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.header .back {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-space {
    height: 48px !important;
}

/* 顶部装饰区 */
.reg-top {
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    padding: 30px 20px 40px;
    position: relative;
    overflow: hidden;
}

.reg-top::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.reg-top::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}

.reg-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.reg-logo-mark {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    overflow: hidden;
}

.reg-logo-mark img {
    width: 32px;
    height: 32px;
}

.reg-logo-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.reg-logo-subtitle {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
}

.reg-welcome {
    text-align: center;
    color: #fff;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.reg-welcome h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.reg-welcome p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* 表单区域 */
.reg-form-wrap {
    background: #fff;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    padding: 28px 24px 24px;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 200px);
}

/* 表单标题 */
.czmm-title {
    font-size: 20px !important;
    font-weight: 700;
    color: #1f2937;
    padding: 0 0 20px 0 !important;
    margin: 0;
}

/* 输入框通用样式 */
.czmm-account,
.czmm-code,
.czmm-yzm,
.czmm-pwd {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #f5f7fa !important;
    border: 1.5px solid transparent !important;
    border-radius: 30px !important;
    padding: 0 18px !important;
    margin: 0 0 16px 0 !important;
    height: 48px;
    transition: all 0.25s;
}

.czmm-account:focus-within,
.czmm-code:focus-within,
.czmm-yzm:focus-within,
.czmm-pwd:focus-within {
    border-color: #1677ff !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.08);
}

.czmm-account input,
.czmm-code input,
.czmm-yzm input,
.czmm-pwd input {
    flex: 1;
    margin-left: 12px !important;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #1f2937;
    height: 100%;
    width: auto !important;
}

.czmm-account input::placeholder,
.czmm-code input::placeholder,
.czmm-yzm input::placeholder,
.czmm-pwd input::placeholder {
    color: #9ca3af;
}

.icon-img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.6;
}

/* 获取验证码按钮 */
.czmm-code a,
.czmm-yzm button {
    color: #1677ff !important;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.czmm-code a:disabled,
.czmm-yzm button:disabled {
    color: #9ca3af !important;
}

/* 注册按钮 */
.forget-btns {
    display: block;
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%) !important;
    color: #fff !important;
    width: 100% !important;
    margin: 24px auto 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    height: 48px !important;
    line-height: 48px !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    letter-spacing: 4px;
    box-shadow: 0 6px 16px rgba(22, 119, 255, 0.25);
    transition: all 0.25s;
}

.forget-btns:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.2);
}

/* 协议勾选 */
.check {
    margin-top: 16px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.check-in {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.check-in img {
    width: 18px !important;
    height: 18px !important;
    margin-right: 4px;
}

.check-in span {
    color: #6b7280 !important;
    font-size: 12px;
}

.check a {
    color: #1677ff;
    font-size: 12px;
    text-decoration: none;
}

/* Tab切换 */
.czmm-list {
    font-size: 16px !important;
    padding: 0 0 16px 0 !important;
    margin-bottom: 16px !important;
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #f3f4f6;
}

.czmm-list span {
    position: relative;
    padding-bottom: 12px;
    color: #9ca3af !important;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.czmm-list span.active {
    color: #1677ff !important;
    font-size: 16px !important;
    font-weight: 600;
}

.czmm-list span.active::after {
    content: "";
    height: 3px;
    background: #1677ff !important;
    width: 24px !important;
    margin: 0 !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

/* 密码显示切换图标 */
.czmm-pwd .icon-img:last-child {
    cursor: pointer;
    opacity: 0.4;
}

.czmm-pwd .icon-img:last-child:active {
    opacity: 0.7;
}

/* 底部登录提示 */
.reg-footer {
    text-align: center;
    margin-top: 24px;
    padding-bottom: 20px;
}

.reg-footer span {
    color: #6b7280;
    font-size: 13px;
}

.reg-footer a {
    color: #1677ff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}
