/* AUTO-GENERATED — do not edit by hand.
 * Regenerate: python scripts/build_app_shell_bundle.py
 * Sources: assets/css/app_shell/pages/auth/index.css
 */

/* === import from ./login.css (login.css) */
.login-container {
    --brand-gradient: linear-gradient(135deg, var(--brand1) 0%, var(--brand2) 100%);
}

/*
 * 登录页关键布局（壳层首屏必带）。
 * 插件 CSS（system_login）可能因百余 stylesheet 排队迟到；无 max-width 时
 * Mantine Paper 会横向拉满，刷新偶发「变形」。此处用共用 class 兜底。
 */
.login-container.sl-login-viewport {
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    overflow: auto;
    padding: 24px;
    box-sizing: border-box;
    background: #eef2f8;
    z-index: 9999;
}

.login-container.login-stub-layout {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg0);
}

.login-stub-link {
    text-decoration: none;
}



/* === import from ./animations.css (animations.css) */
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-bg {
    animation: fadeIn 1.2s ease-in-out;
}



/* === import from ./login-ui.css (login-ui.css) */
/* Glassmorphism Refinements + 卡片宽度兜底（不依赖插件 CSS 到达顺序） */
.login-card {
    width: min(420px, 100%);
    max-width: 420px;
    box-sizing: border-box;
    padding: 40px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--shadow2);
}

/* Custom transition for inputs */
.mantine-TextInput-root, .mantine-PasswordInput-root {
    transition: transform 0.2s ease;
}

.mantine-TextInput-root:focus-within, .mantine-PasswordInput-root:focus-within {
    transform: translateY(-2px);
}

#login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}



/* === import from ./user-menu.css (user-menu.css) */
/* User Menu & Dropdown Styles */
.user-menu-wrapper {
    margin-right: 15px;
}

.user-menu-trigger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.user-menu-item:hover {
    background: rgba(0, 0, 0, 0.04) !important;
}

.user-menu-item:active {
    background: rgba(0, 0, 0, 0.08) !important;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* === import from ./profile.css (profile.css) */
/* 个人中心页：滚动由 .platform-page-scroll 承担 */
.profile-scroll-area,
.home-container > .platform-page-scroll {
    flex: 1 1 0;
    min-height: 0;
    background-color: transparent;
}

.profile-loading-center {
    height: 50vh;
}

.profile-header-card {
    margin-top: 20px;
}

.profile-stack-col {
    display: flex;
    flex-direction: column;
}

.profile-stack-col--gap {
    gap: 12px;
}

.profile-info-icon {
    font-size: 14px;
}
