/* auth_base.html 页面样式（2026-10-29 三期重构：自模板 <style> 块原样提取，位置等价） */

        :root {
            --auth-bg: rgba(255, 255, 255, 0.42);
            --auth-bg-strong: rgba(255, 255, 255, 0.65);
            --auth-border: rgba(255, 255, 255, 0.45);
            --auth-text: #1e293b;
            --auth-muted: #475569;
            --auth-accent: var(--ui-primary, #8b5cf6);
        }

        body {
            background:
                radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 50%),
                radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.12), transparent 45%),
                radial-gradient(circle at 72% 78%, rgba(255, 255, 255, 0.08), transparent 35%),
                linear-gradient(135deg, #91b5df 0%, #2e4d75 100%);
            background-attachment: fixed;
            min-height: 100vh;
            color: var(--auth-text);
            font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
            overflow-x: hidden;
        }

        .auth-shell {
            max-width: 1120px;
        }

        .auth-topbar {
            margin-bottom: 1rem;
            text-align: center;
        }

        .auth-topbar-kicker {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--auth-accent);
            margin-bottom: 0.25rem;
        }

        .auth-topbar-title {
            margin: 0;
            font-size: 1.45rem;
            font-weight: 800;
            color: var(--auth-text);
        }

        .auth-topbar-desc {
            margin-top: 0.35rem;
            color: var(--auth-muted);
            font-size: 0.84rem;
            line-height: 1.45;
        }

        .card {
            background: linear-gradient(180deg, var(--auth-bg-strong), var(--auth-bg));
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--auth-border);
            border-radius: 1rem;
            box-shadow:
                0 20px 44px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .card-header {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)) !important;
            border-bottom: 1px solid var(--auth-border);
            padding: 0.85rem 1.1rem;
            color: var(--auth-text) !important;
        }

        .auth-shell,
        .card-body,
        .card-body p,
        .card-body li,
        .card-body span,
        .card-body div {
            color: var(--auth-text);
        }

        .text-muted,
        .text-secondary,
        small,
        .small,
        .form-text {
            color: var(--auth-muted) !important;
        }

        .text-dark,
        .fw-bold,
        .fw-semibold {
            color: var(--auth-text) !important;
        }

        .btn-outline-primary,
        .btn-outline-secondary,
        .btn-outline-info,
        .btn-outline-danger,
        .btn-outline-warning,
        .btn-outline-light {
            background: rgba(255, 255, 255, 0.03);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .form-control,
        .form-select,
        textarea.form-control {
            background: rgba(255, 255, 255, 0.65);
            border: 1px solid rgba(15, 23, 42, 0.12);
            color: var(--auth-text);
            border-radius: 0.62rem;
            transition: all 0.2s ease;
        }

        .form-control::placeholder,
        textarea.form-control::placeholder {
            color: rgba(71, 85, 105, 0.5);
        }

        .form-control:focus,
        .form-select:focus,
        textarea.form-control:focus {
            background: rgba(255, 255, 255, 0.9);
            border-color: var(--auth-accent);
            color: var(--auth-text);
            box-shadow: 0 0 0 0.16rem rgba(37, 99, 235, 0.15);
        }

        .auth-card-title {
            font-size: 1rem;
            font-weight: 800;
            color: var(--auth-text);
        }

        .auth-side-title {
            margin-bottom: 0.75rem;
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.03em;
            color: var(--auth-text);
        }

        .auth-side-list {
            display: grid;
            gap: 0.55rem;
        }

        .auth-side-item {
            display: flex;
            justify-content: space-between;
            gap: 0.75rem;
            font-size: 0.78rem;
        }

        .auth-side-label {
            color: var(--auth-muted);
        }

        .auth-side-value {
            text-align: right;
            font-weight: 700;
            color: var(--auth-text);
            word-break: break-word;
        }

        .auth-note-card {
            margin-top: 0.85rem;
            padding: 0.85rem 0.9rem;
            border-radius: 0.9rem;
            border: 1px dashed rgba(255, 255, 255, 0.15);
            background: rgba(15, 23, 42, 0.35);
        }

        .auth-note-card strong {
            color: var(--auth-text);
        }

        .auth-note-card small {
            display: block;
            margin-top: 0.25rem;
            color: var(--auth-muted);
            line-height: 1.45;
        }

        .auth-chip-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.45rem;
            margin-top: 0.75rem;
        }

        .auth-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.32rem;
            padding: 0.25rem 0.6rem;
            border-radius: 999px;
            background: rgba(226, 232, 240, 0.88);
            color: #334155;
            font-size: 0.74rem;
            font-weight: 800;
            border: 1px solid rgba(100, 116, 139, 0.22);
        }

        .auth-chip.is-on {
            background: rgba(209, 250, 229, 0.94);
            color: #047857;
            border-color: rgba(16, 185, 129, 0.38);
        }

        .auth-chip.is-warn {
            background: rgba(245, 158, 11, 0.16);
            color: #fbbf24;
            border-color: rgba(245, 158, 11, 0.2);
        }

        .btn-primary {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border: none;
            font-weight: 700;
            letter-spacing: 0.01em;
            color: #fff;
            box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
            transition: all 0.25s ease;
        }

        .btn-primary:hover,
        .btn-primary:focus {
            background: linear-gradient(135deg, #9a71f8, #7c4de8);
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
        }

        .btn {
            font-weight: 700;
            letter-spacing: 0.01em;
            border-radius: 0.75rem;
            transition: all 0.2s ease;
        }

        .btn:hover {
            transform: translateY(-1px);
        }

        .btn-outline-primary,
        .btn-outline-secondary,
        .btn-outline-info,
        .btn-outline-danger,
        .btn-outline-warning,
        .btn-outline-light {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-width: 1.5px;
        }

        .btn-outline-primary {
            color: var(--ui-primary, #8b5cf6);
            border-color: rgba(139, 92, 246, 0.38);
        }

        .btn-outline-primary:hover,
        .btn-outline-primary:focus {
            color: #fff;
            background: rgba(37, 99, 235, 0.92);
            border-color: rgba(37, 99, 235, 0.92);
        }

        .btn-outline-secondary {
            color: #334155;
            border-color: rgba(100, 116, 139, 0.36);
            background: rgba(255, 255, 255, 0.58);
        }

        .btn-outline-secondary:hover,
        .btn-outline-secondary:focus {
            color: #fff;
            background: rgba(148, 163, 184, 0.3);
            border-color: rgba(148, 163, 184, 0.3);
        }

        .btn-outline-info {
            color: var(--ui-primary, #8b5cf6);
            border-color: rgba(139, 92, 246, 0.38);
        }

        .btn-outline-info:hover,
        .btn-outline-info:focus {
            color: #fff;
            background: #8b5cf6;
            border-color: #8b5cf6;
        }

        .btn-outline-danger {
            color: #f43f5e;
            border-color: rgba(244, 63, 94, 0.34);
        }

        .btn-outline-danger:hover,
        .btn-outline-danger:focus {
            color: #fff;
            background: #e11d48;
            border-color: #e11d48;
        }

        .btn-outline-warning {
            color: #fbbf24;
            border-color: rgba(251, 191, 36, 0.34);
        }

        .btn-outline-warning:hover,
        .btn-outline-warning:focus {
            color: #fff;
            background: #fbbf24;
            border-color: #fbbf24;
        }

        .btn-outline-light {
            color: #334155;
            border-color: rgba(100, 116, 139, 0.32);
            background: rgba(255, 255, 255, 0.58);
        }

        .btn-outline-light:hover,
        .btn-outline-light:focus {
            color: #fff;
            background: rgba(148, 163, 184, 0.3);
            border-color: rgba(148, 163, 184, 0.3);
        }

        .form-text {
            color: #475569;
            font-weight: 700;
            line-height: 1.45;
        }

        /* Override Bootstrap Light Utilities to match Dark Glassmorphism */
        .bg-light {
            background: rgba(255, 255, 255, 0.03) !important;
        }
        .bg-white {
            background: rgba(255, 255, 255, 0.05) !important;
        }
        .text-dark {
            color: #0f172a !important;
        }
        .text-bg-light {
            background-color: rgba(255, 255, 255, 0.55) !important;
            color: var(--auth-text) !important;
        }

        .alert {
            border: 1px solid rgba(15, 23, 42, 0.08);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.55));
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow:
                0 8px 24px rgba(15, 23, 42, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
            color: var(--auth-text);
        }

        .alert-success {
            border-color: rgba(22, 163, 74, 0.25);
            color: #15803d;
        }

        .alert-warning {
            border-color: rgba(202, 138, 4, 0.25);
            color: #ca8a04;
        }

        .alert-danger {
            border-color: rgba(220, 38, 38, 0.25);
            color: #dc2626;
        }

        @media (max-width: 991.98px) {
            .auth-topbar-title {
                font-size: 1.3rem;
            }
        }
    
