/* ============================================================
 * 认证页面样式 - auth.css
 * 登录 / 注册 / 忘记密码
 * ============================================================ */

/* 面包屑 */
.breadcrumb { background: #fff; border-bottom: 1px solid #f0f0f0; }
.breadcrumb .container { padding: 12px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #f26a1b; }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }
.breadcrumb .cur { color: #999; }

/* 主体 */
.auth-main {
    padding: 32px 0 56px;
    background: #f5f6f8;
    min-height: 520px;
}

/* 认证卡片容器 */
.auth-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* 认证卡片 */
.auth-card {
    width: 440px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

/* 卡片内标题 */
.auth-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px;
    text-align: center;
}

/* 卡片表单区 */
.auth-card-body {
    padding: 28px 32px 32px;
}

/* 表单组 */
.auth-form-group {
    margin-bottom: 18px;
}
.auth-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.auth-form-group label .required {
    color: #f26a1b;
    margin-left: 2px;
}

/* 输入框 */
.auth-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.auth-input:focus {
    border-color: #f26a1b;
    box-shadow: 0 0 0 3px rgba(242,106,27,.1);
}
.auth-input::placeholder { color: #bbb; }

/* 验证码行 */
.auth-captcha-row {
    display: flex;
    gap: 10px;
}
.auth-captcha-row .auth-input {
    flex: 1;
}
.auth-captcha-img {
    width: 120px;
    height: 44px;
    border-radius: 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
    user-select: none;
    overflow: hidden;
}
.auth-captcha-img:hover { border-color: #f26a1b; }

/* 附加选项行 */
.auth-form-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 13px;
}
.auth-form-extra label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    cursor: pointer;
}
.auth-form-extra label input[type="checkbox"] {
    accent-color: #f26a1b;
}
.auth-form-extra a {
    color: #f26a1b;
}
.auth-form-extra a:hover { text-decoration: underline; }

/* 提交按钮 */
.auth-submit {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7a1a, #f05212);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    letter-spacing: 2px;
}
.auth-submit:hover {
    background: linear-gradient(135deg, #f05212, #d4440e);
    box-shadow: 0 4px 16px rgba(242,106,27,.3);
}
.auth-submit:active {
    transform: scale(.98);
}

/* 底部链接 */
.auth-card-foot {
    text-align: center;
    padding: 18px 32px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #888;
    background: #fafbfc;
}
.auth-card-foot a {
    color: #f26a1b;
    font-weight: 600;
}
.auth-card-foot a:hover { text-decoration: underline; }
.auth-card-foot .sep {
    margin: 0 10px;
    color: #ddd;
}

/* 协议勾选 */
.auth-agreement {
    font-size: 12px;
    color: #888;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.6;
}
.auth-agreement input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #f26a1b;
    flex-shrink: 0;
}
.auth-agreement a {
    color: #f26a1b;
}
.auth-agreement a:hover { text-decoration: underline; }

/* 第三方登录分隔 */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 22px 0 18px;
    color: #ccc;
    font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

/* 第三方登录按钮 */
.auth-third-party {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.auth-third-party a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #888;
    transition: .2s;
}
.auth-third-party a:hover {
    border-color: #f26a1b;
    color: #f26a1b;
    background: #fff7f2;
}
.auth-third-party a.wechat:hover { color: #07c160; border-color: #07c160; background: #f0faf4; }
.auth-third-party a.qq:hover { color: #12b7f5; border-color: #12b7f5; background: #f0f8ff; }
.auth-third-party a.weibo:hover { color: #e6162d; border-color: #e6162d; background: #fff0f2; }

/* 注册页 - 更宽 */
.auth-card.auth-register { width: 480px; }

/* 响应式 */
@media (max-width: 520px) {
    .auth-card, .auth-card.auth-register { width: 100%; }
    .auth-card-body { padding: 22px 20px 28px; }
    .auth-card-foot { padding: 16px 20px; }
}
