/* 登录/注册页样式 —— 仿QQ风格 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    height: 100vh;
    background: linear-gradient(135deg, #12b7f5 0%, #0d8ddb 50%, #096ebd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-wrapper { width: 100%; padding: 20px; }

.auth-box {
    width: 380px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 30px;
    box-shadow: 0 18px 50px rgba(0, 60, 120, 0.35);
    animation: fadeIn .4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-logo { text-align: center; margin-bottom: 28px; }

.logo-icon {
    width: 76px; height: 76px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, #12b7f5, #0d8ddb);
    border-radius: 50%;
    font-size: 40px;
    line-height: 76px;
    box-shadow: 0 6px 18px rgba(18, 183, 245, 0.45);
}

.auth-logo h1 { font-size: 24px; color: #333; letter-spacing: 2px; }
.auth-logo .slogan { color: #9aa5b1; font-size: 13px; margin-top: 6px; }

.form-item { margin-bottom: 18px; }

.form-item input {
    width: 100%;
    height: 46px;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all .2s;
}

.form-item input:focus {
    border-color: #12b7f5;
    box-shadow: 0 0 0 3px rgba(18, 183, 245, 0.15);
}

.gender-item {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 14px;
}
.gender-item .radio { margin-right: 14px; cursor: pointer; display: flex; align-items: center; gap: 4px; }

.error-tip {
    background: #fdecea;
    color: #e74c3c;
    border: 1px solid #f5c6c1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 14px;
}

.btn-primary {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #12b7f5, #0d8ddb);
    color: #fff;
    font-size: 17px;
    letter-spacing: 6px;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-primary:hover { opacity: .9; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.auth-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.auth-footer a { color: #12b7f5; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
