/* 学生注册页面样式 */
.reg-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4f7 50%, #c5d9f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.reg-container {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
    padding: 2rem 2rem 1.5rem;
}
.reg-header {
    text-align: center;
    margin-bottom: 1.8rem;
}
.reg-header h1 {
    font-size: 1.6rem;
    color: #1a5fb4;
    margin: 0 0 .3rem;
}
.reg-subtitle {
    color: #8899aa;
    font-size: .9rem;
    margin: 0;
}
/* 消息提示 */
.reg-msg {
    padding: .75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    font-size: .9rem;
    line-height: 1.5;
}
.reg-msg-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.reg-msg-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f5c6cb;
}
.reg-msg-warning {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffecb3;
}
/* 分区 */
.reg-section {
    margin-bottom: 1.2rem;
}
.reg-section-title {
    font-size: 1rem;
    color: #333;
    margin: 0 0 .6rem;
    padding-bottom: .35rem;
    border-bottom: 2px solid #e8f0fe;
}
.reg-row {
    display: flex;
    align-items: center;
    margin-bottom: .7rem;
}
.reg-label {
    flex: 0 0 100px;
    font-size: .9rem;
    color: #555;
    text-align: right;
    padding-right: .8rem;
}
.reg-required {
    color: #e74c3c;
}
.reg-input {
    flex: 1;
    padding: .5rem .7rem;
    border: 1px solid #d5dce6;
    border-radius: 6px;
    font-size: .9rem;
    color: #333;
    background: #fafbfc;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    box-sizing: border-box;
}
.reg-input:focus {
    border-color: #1a5fb4;
    box-shadow: 0 0 0 3px rgba(26,95,180,.12);
    background: #fff;
}
.reg-select {
    cursor: pointer;
    appearance: auto;
}
/* 单选组 */
.reg-radio-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.reg-radio-item {
    display: flex;
    align-items: center;
    gap: .3rem;
    cursor: pointer;
    font-size: .9rem;
    color: #555;
}
.reg-radio-item input[type="radio"] {
    margin: 0;
    accent-color: #1a5fb4;
}
.reg-hint {
    font-size: .8rem;
    color: #8899aa;
}
/* 身份证号实时校验提示 */
.reg-error-hint {
    flex-basis: 100%;
    margin: .25rem 0 0 100px;
    font-size: .8rem;
    line-height: 1.4;
    min-height: 1rem;
}
.reg-error-hint.reg-bad {
    color: #c62828;
}
.reg-error-hint.reg-ok {
    color: #2e7d32;
}
@media (max-width: 600px) {
    .reg-error-hint {
        margin-left: 0;
    }
}
/* 验证码行 */
.reg-captcha-row {
    align-items: center;
}
.reg-captcha-input {
    flex: 1;
    max-width: 160px;
}
.reg-captcha-img {
    height: 38px;
    margin-left: .6rem;
    border: 1px solid #d5dce6;
    border-radius: 6px;
    cursor: pointer;
    vertical-align: middle;
}
/* 提交按钮 */
.reg-submit-row {
    text-align: center;
    margin: 1.5rem 0 .8rem;
}
.reg-submit-btn {
    width: 100%;
    max-width: 300px;
    padding: .7rem 2rem;
    background: linear-gradient(135deg, #1a5fb4, #2a7de1);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s;
    letter-spacing: 1px;
}
.reg-submit-btn:hover {
    background: linear-gradient(135deg, #1652a0, #226fd4);
    transform: translateY(-1px);
}
.reg-submit-btn:active {
    transform: translateY(0);
}
/* 底部链接 */
.reg-footer-links {
    text-align: center;
    margin-top: .5rem;
}
.reg-footer-links a {
    color: #1a5fb4;
    text-decoration: none;
    font-size: .9rem;
}
.reg-footer-links a:hover {
    text-decoration: underline;
}
/* 响应式 */
@media (max-width: 600px) {
    .reg-page {
        padding: 0;
        background: #fff;
    }
    .reg-container {
        border-radius: 0;
        box-shadow: none;
        padding: 1.5rem 1rem 1rem;
    }
    .reg-row {
        flex-direction: column;
        align-items: stretch;
    }
    .reg-label {
        flex: none;
        text-align: left;
        padding-right: 0;
        margin-bottom: .25rem;
    }
    .reg-header h1 {
        font-size: 1.4rem;
    }
    .reg-captcha-input {
        max-width: 100%;
    }
    .reg-captcha-img {
        margin-left: 0;
        margin-top: .4rem;
    }
}
