/* ==========================================================================
   雪中飞统一登录平台（sf-cas）- 现代高端明亮企业级设计系统
   基于 UI/UX Pro Max 规范：高对比度、无 Emoji 图标、柔和光影、微交互反馈
   ========================================================================== */

:root {
    /* 核心色彩系统（明亮通透的雪中飞品牌蓝与极光白） */
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-active: #1e40af;
    --color-primary-light: #eff6ff;
    --color-primary-border: #bfdbfe;

    --color-accent: #0284c7;
    --color-accent-hover: #0369a1;

    /* 界面基底与卡片（Light & Airy） */
    --color-bg-base: #f8fafc;
    --color-bg-subtle: #f1f5f9;
    --color-bg-card: rgba(255, 255, 255, 0.92);
    --color-bg-card-border: rgba(255, 255, 255, 0.85);
    --color-bg-input: #f8fafc;
    --color-bg-input-focus: #ffffff;

    /* 文本层次（严格满足 WCAG AAA/AA 4.5:1+ 对比度） */
    --color-text-main: #0f172a;
    /* Slate-900 */
    --color-text-body: #334155;
    /* Slate-700 */
    --color-text-muted: #64748b;
    /* Slate-500 */
    --color-text-light: #94a3b8;
    /* Slate-400 */

    /* 边框与分割线 */
    --color-border: #e2e8f0;
    --color-border-hover: #cbd5e1;

    /* 状态与告警色 */
    --color-error: #ef4444;
    --color-error-bg: #fef2f2;
    --color-error-border: #fecaca;
    --color-success: #10b981;
    --color-success-bg: #ecfdf5;

    /* 钉钉官方品牌色 */
    --color-dingtalk: #007fff;
    --color-dingtalk-hover: #006ce0;
    --color-dingtalk-bg: #f0f7ff;
    --color-dingtalk-border: #bae0ff;

    /* 分层拟态阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.7);
    --shadow-card-hover: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(203, 213, 225, 0.85);
    --shadow-btn: 0 6px 20px -4px rgba(37, 99, 235, 0.35);
    --shadow-btn-hover: 0 10px 24px -4px rgba(37, 99, 235, 0.45);

    /* 圆角规格 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;

    /* 字体栈 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ==========================================================================
   全局重置与通用设置
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-family);
    color: var(--color-text-body);
    background-color: var(--color-bg-base);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.login-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ==========================================================================
   明亮环境背景微光层 (Ambient Light Canvas)
   ========================================================================== */
.video-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    background: #f8fafc;
    pointer-events: none;
}

/* 现代网格与环境微光叠加 */
.video-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(56, 189, 248, 0.16) 0%, transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.95) 0%, transparent 55%),
        linear-gradient(135deg, #f0f7ff 0%, #f8fafc 45%, #eff6ff 100%);
    z-index: 2;
}

/* 科技感细腻点阵网格 */
.video-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(148, 163, 184, 0.25) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.55;
    z-index: 3;
}

/* 背景动效光球 */
.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 2;
    animation: ambientFloat 20s infinite alternate ease-in-out;
}

.light-1 {
    width: 500px;
    height: 500px;
    background: rgba(14, 165, 233, 0.18);
    top: -100px;
    left: -100px;
}

.light-2 {
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.14);
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

.light-3 {
    width: 400px;
    height: 400px;
    background: rgba(186, 230, 253, 0.22);
    top: 40%;
    left: 45%;
    animation-delay: -14s;
}

@keyframes ambientFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -25px) scale(1.06);
    }

    100% {
        transform: translate(-25px, 25px) scale(0.95);
    }
}

/* 雪山肌理：极微弱高光纹理叠加，不暗沉，富有纵深 */
.video-box .video-background {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0.05;
    filter: grayscale(100%) contrast(130%) brightness(160%);
    z-index: 1;
}

/* ==========================================================================
   主容器布局
   ========================================================================== */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1240px;
    margin: auto;
    padding: 60px 40px 40px;
    gap: 80px;
}

/* ==========================================================================
   左侧：企业品牌与中台价值展示区 (Brand Section)
   ========================================================================== */
.brand-section {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 540px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-primary);
    animation: pulseDot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.brand-logo-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title-group {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 70%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    margin: 0;
    text-align: left;
}

.brand-subtitle {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--color-text-muted);
    text-shadow: none;
    margin: 6px 0 0 0;
    line-height: 1.5;
    text-align: left;
}

/* 核心战略金句徽章（单行自适应精美胶囊） */
.brand-slogan-wrap {
    margin: 18px 0 26px 0;
    display: inline-flex;
    align-items: center;
}

/* 核心强调金句：品牌向上 · 用户向上 · 健康组织在路上 */
.mission-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(239, 246, 255, 0.8) 100%);
    border: 1px solid rgba(191, 219, 254, 0.85);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.mission-tagline:hover {
    border-color: rgba(147, 197, 253, 0.95);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.mission-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.mission-part {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.mission-dot {
    color: var(--color-primary);
    font-weight: 800;
    opacity: 0.6;
    font-size: 14px;
}




/* 品牌背书/核心安全信任栏 (替代多余的逐项罗列卡片) */
.brand-trust-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    flex-wrap: wrap;
    width: 100%;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.trust-item svg {
    color: var(--color-primary);
    opacity: 0.85;
    flex-shrink: 0;
}

.trust-item:hover {
    color: var(--color-text-main);
}


/* 核心特性卡片列表 */
/* 中台已接入系统紧凑徽标栏 */
.systems-bar {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    box-sizing: border-box;
}

.systems-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.systems-bar-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.systems-bar-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 2px;
}

.systems-bar-sub {
    font-size: 12px;
    color: var(--color-text-muted);
}

.systems-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sys-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--color-text-body);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.sys-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    opacity: 0.75;
}

.sys-badge:hover {
    color: var(--color-primary);
    border-color: var(--color-primary-border);
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 兼容保留 brand-features 基础样式 */
.brand-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* ==========================================================================
   右侧：登录毛玻璃卡片 (Login Section & Card)
   ========================================================================== */
.login-section {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 420px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-bg-card-border);
    border-radius: var(--radius-xl);
    padding: 25px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.login-card:hover {
    box-shadow: var(--shadow-card-hover);
}

/* 卡片标题区：标题与标签同排居左展示 */
.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    text-align: left;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.25;
    margin: 0;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    margin: 0;
}

.card-subtitle {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* 表单容器 */
.login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 错误提示条 */
.error-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    background-color: var(--color-error-bg);
    border: 1px solid var(--color-error-border);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    animation: fadeInShake 0.3s ease;
}

@keyframes fadeInShake {
    0% {
        opacity: 0;
        transform: translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-icon {
    color: var(--color-error);
    flex-shrink: 0;
    margin-top: 1px;
}

.error-content {
    font-size: 13px;
    color: var(--color-error);
    line-height: 1.4;
    font-weight: 500;
}

/* 表单字段组 */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-body);
    margin-bottom: 7px;
    display: block;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-box {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.input-wrapper input[type="text"],
.input-wrapper input[type="password"] {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 42px;
    font-size: 14px;
    font-family: inherit;
    color: var(--color-text-main);
    background-color: var(--color-bg-input);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    outline: none;
    box-shadow: none;
    margin-bottom: 0;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper input[type="text"]::placeholder,
.input-wrapper input[type="password"]::placeholder {
    color: var(--color-text-light);
    font-weight: 400;
}

.input-wrapper input[type="text"]:hover,
.input-wrapper input[type="password"]:hover {
    border-color: var(--color-border-hover);
    background-color: #ffffff;
}

.input-wrapper input[type="text"]:focus,
.input-wrapper input[type="password"]:focus {
    border-color: var(--color-primary);
    background-color: var(--color-bg-input-focus);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-wrapper input[type="text"]:focus+.input-icon-box,
.input-wrapper input:focus~.input-icon-box {
    color: var(--color-primary);
}

.input-wrapper:focus-within .input-icon-box {
    color: var(--color-primary);
}

/* 登录提交按钮 */
.form-action {
    margin-top: 8px;
    margin-bottom: 4px;
}

.submit-btn {
    width: 100%;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-btn:hover {
    filter: brightness(1.05);
    box-shadow: var(--shadow-btn-hover);
    transform: translateY(-1px);
    opacity: 1;
}

.submit-btn:active {
    transform: translateY(0);
    filter: brightness(0.96);
    box-shadow: var(--shadow-sm);
}

/* 第三方登录（钉钉扫码） */
.login-divider {
    display: flex;
    align-items: center;
    margin: 14px 0 16px;
    color: var(--color-text-light);
    font-size: 12px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-border);
}

.login-divider span {
    padding: 0 12px;
    font-weight: 500;
}

.dingtalk-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 0 16px;
    color: var(--color-dingtalk);
    background-color: var(--color-dingtalk-bg);
    border: 1px solid var(--color-dingtalk-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dingtalk-button:hover {
    color: #ffffff;
    background-color: var(--color-dingtalk);
    border-color: var(--color-dingtalk);
    box-shadow: 0 6px 16px rgba(0, 127, 255, 0.25);
    text-decoration: none;
    transform: translateY(-1px);
}

.dingtalk-button:active {
    transform: translateY(0);
}

.dingtalk-svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dingtalk-button:hover .dingtalk-svg {
    transform: scale(1.06);
}

/* 卡片底部安全提示 */
.card-security-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--color-border);
    color: var(--color-text-light);
    font-size: 12px;
}

.card-security-tip svg {
    color: var(--color-text-light);
}

/* ==========================================================================
   页脚版权区域 (Footer)
   ========================================================================== */
.login-footer {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 20px 0 24px;
    text-align: center;
}

.footer-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 12px;
}

.footer-dot {
    color: var(--color-text-light);
}

/* 旧视图兼容结构 */
.flex-1 {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
}

.title {
    color: var(--color-text-main);
    text-align: center;
}

.title h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 70%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    text-shadow: none;
}

.title h2 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    text-shadow: none;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.success {
    background-color: var(--color-bg-card);
    padding: 36px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-bg-card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 420px;
    text-align: center;
    animation: zoomIn 0.3s ease;
}

.primary-title {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.logout,
.login {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 999;
}

.logout a,
.login a {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-body);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    cursor: pointer;
}

.logout a:hover,
.login a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary-border);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.confirm-pop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.confirm-container {
    width: 380px;
    background-color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 28px 24px 20px;
    box-shadow: var(--shadow-card-hover);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confirm-message {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 24px;
    text-align: center;
}

.confirm-footer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.confirm-button,
.cancel-button {
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.confirm-button {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-btn);
}

.confirm-button:hover {
    background-color: var(--color-primary-hover);
}

.cancel-button {
    background-color: var(--color-bg-subtle);
    color: var(--color-text-body);
    border: 1px solid var(--color-border);
}

.cancel-button:hover {
    background-color: var(--color-border);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   响应式断点适配 (Responsive Design)
   ========================================================================== */

/* 笔记本与中小屏幕 */
@media screen and (max-width: 1024px) {
    .container {
        gap: 40px;
        padding: 40px 24px 30px;
    }

    .brand-title {
        font-size: 32px;
    }

    .login-card {
        width: 380px;
        padding: 32px 28px 26px;
    }
}

/* 平板与手机端折叠布局 */
@media screen and (max-width: 820px) {
    .container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 24px 16px 20px;
        min-height: auto;
    }

    .brand-section {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .brand-badge {
        margin-bottom: 12px;
    }

    .brand-header {
        justify-content: center;
        margin-bottom: 6px;
        gap: 12px;
    }

    .brand-logo-wrap {
        width: 44px;
        height: 44px;
        padding: 6px;
    }

    .brand-title {
        text-align: center;
        font-size: 26px;
    }

    .brand-subtitle {
        text-align: center;
        font-size: 11px;
    }

    .brand-slogan-wrap {
        margin: 12px 0 16px 0;
        padding: 0;
        text-align: center;
        border: none;
        justify-content: center;
        width: 100%;
    }

    .mission-tagline {
        justify-content: center;
        font-size: 13px;
        gap: 6px;
        padding: 6px 14px 6px 12px;
        margin-bottom: 0;
    }

    .brand-slogan {
        text-align: center;
        margin: 0;
        font-size: 12.5px;
        line-height: 1.5;
        color: var(--color-text-muted);
    }


    .login-section {
        width: 100%;
        max-width: 400px;
    }

    .login-card {
        width: 100%;
        box-sizing: border-box;
        padding: 28px 20px 22px;
    }

    .login-footer {
        padding: 12px 12px 16px;
    }

    .footer-container {
        flex-direction: column;
        gap: 4px;
    }

    .footer-dot {
        display: none;
    }
}

/* 超小屏移动端 (< 400px) */
@media screen and (max-width: 400px) {
    .brand-title {
        font-size: 24px;
    }

    .brand-logo-wrap {
        width: 44px;
        height: 44px;
    }

    .login-card {
        padding: 24px 18px 20px;
    }

    .card-title {
        font-size: 20px;
    }
}