/* 登录 / 注册页 */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; position: relative; font-family: -apple-system,"Segoe UI","Microsoft YaHei",sans-serif; }
.auth-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #3A2358 0%, #4A2D6E 55%, #6B3FA0 100%); }
.auth-bg::after { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.auth-box { position: relative; z-index: 1; width: 100%; max-width: 430px; margin: 20px; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0,0,0,.3); padding: 34px 36px 26px; }
.auth-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; }
.auth-logo { width: 46px; height: 46px; border-radius: 11px; background: linear-gradient(135deg,#6B3FA0,#C02B6B); color: #fff; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.auth-brand h1 { font-size: 20px; color: #3A2358; font-weight: 750; }
.auth-brand p { font-size: 12px; color: #6b7a8d; margin-top: 3px; }
.auth-tabs { display: flex; border-bottom: 1px solid #e4e9ef; margin-bottom: 22px; }
.auth-tab { flex: 1; background: none; border: none; padding: 11px; font-size: 15px; font-weight: 600; color: #6b7a8d; cursor: pointer; border-bottom: 2px solid transparent; }
.auth-tab.active { color: #6B3FA0; border-bottom-color: #6B3FA0; }
.auth-form { display: flex; flex-direction: column; gap: 15px; }
.auth-form .field label { font-size: 12px; color: #44546a; font-weight: 600; }
.auth-form .field input { border: 1px solid #d9e0e8; border-radius: 8px; padding: 11px 12px; font-size: 14px; width: 100%; outline: none; }
.auth-form .field input:focus { border-color: #6B3FA0; box-shadow: 0 0 0 3px rgba(107,63,160,.12); }
.field-note { font-size: 11px; color: #6b7a8d; margin-top: 4px; display: block; }
.field-note a { color: #6B3FA0; }
.auth-err { color: #d92d20; font-size: 13px; min-height: 18px; }
.auth-submit { width: 100%; justify-content: center; padding: 12px; font-size: 15px; }
.auth-hint { text-align: center; font-size: 12px; color: #6b7a8d; }
.auth-hint a { color: #6B3FA0; }
.auth-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eef1f5; text-align: center; font-size: 11px; color: #8a98a9; line-height: 1.6; }

/* 云端标记 */
.cloud-badge { background: #e8f7ef; color: #0f9d58; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 20px; }

/* 安全页条目 */
.sec-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid #eef1f5; }
.sec-row:last-child { border-bottom: none; }
.sec-ic { width: 22px; height: 22px; border-radius: 50%; background: #e8f7ef; color: #0f9d58; display: flex; align-items: center; justify-content: center; font-size: 13px; flex: 0 0 22px; font-weight: 700; }
.sec-row b { font-size: 14px; color: #1b2733; }
.sec-row p { font-size: 12px; color: #6b7a8d; margin-top: 2px; }

/* 服务器未连接提示 */
.server-down-tip { position: relative; z-index: 3; width: 100%; max-width: 430px; margin: 0 20px 14px; background: #fff4f2; border: 1px solid #ffc9c2; border-left: 4px solid #d92d20; border-radius: 10px; padding: 14px 16px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.server-down-tip .sd-title { color: #b42318; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.server-down-tip .sd-body { color: #7a271a; font-size: 13px; line-height: 1.6; }
.server-down-tip .sd-cmd { color: #7a271a; font-size: 12px; margin-top: 8px; }

.role-badge { background: #eef1ff; color: #6B3FA0; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 20px; }

/* 品牌标志 */
.auth-logo-img { width:52px; height:52px; object-fit:contain; border-radius:11px; background:#fff; padding:4px; }
