/* AUTO-GENERATED — do not edit by hand.
 * Regenerate: python scripts/build_app_shell_bundle.py
 * Sources: assets/css/app_shell/firstpaint/layers/04-integrations.css
 */
/*
 * Layer 04 — 集成层
 * 插件 CSS 占位 · 第三方组件覆盖（如 react-select）
 * 源码树: app_shell/integrations/
 */

/* === import from ../../integrations/index.css (index.css) */
/* 壳层集成：插件内联占位 + 第三方库覆盖 */

/* === import from ./plugins-embed.css (plugins-embed.css) */
/* L2 内联模式：由 --embed-plugins 构建时 @import _plugins.generated.css */

/* === import from ../../_plugins.generated.css (_plugins.generated.css) */
/* AUTO-GENERATED — do not edit by hand.
 * Regenerate: python scripts/build_app_shell_bundle.py
 * Embedded plugin stylesheets (L2); shell critical subset (login, …).
 * Remaining L2 styles load at runtime from /assets/plugins/<id>/.
 */

/* @plugin: system_login */

/* === import from ../../plugins/system_plugins/system_login/assets/css/index.css (index.css) */
/* @plugin: system_login */

.sl-login-viewport {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    background: #eef2f8;
    z-index: 9999;
}

.sl-login-back-link {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
    text-decoration: none;
}

.sl-login-back-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.sl-login-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 85% 65% at 18% 22%, rgba(129, 140, 248, 0.38) 0%, transparent 58%),
        radial-gradient(ellipse 75% 55% at 88% 12%, rgba(103, 232, 249, 0.34) 0%, transparent 52%),
        radial-gradient(ellipse 65% 70% at 78% 88%, rgba(167, 139, 250, 0.3) 0%, transparent 56%),
        radial-gradient(ellipse 55% 45% at 8% 78%, rgba(96, 165, 250, 0.28) 0%, transparent 50%),
        linear-gradient(135deg, #eef2f8 0%, #e8ecff 35%, #e6f6f4 68%, #e0f2fe 100%);
    background-size: 120% 120%;
    animation:
        slLoginBgReveal 1.2s ease-in-out forwards,
        slLoginBgShift 22s ease-in-out 1.2s infinite alternate;
}

.sl-login-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 72% 72% at 50% 48%, black 18%, transparent 100%);
    pointer-events: none;
}

.sl-login-bg::after {
    content: "";
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(circle at 28% 38%, rgba(255, 255, 255, 0.75) 0%, transparent 8%),
        radial-gradient(circle at 72% 62%, rgba(199, 210, 254, 0.55) 0%, transparent 10%),
        radial-gradient(circle at 52% 18%, rgba(165, 243, 252, 0.45) 0%, transparent 14%);
    animation: slLoginBgDrift 16s ease-in-out infinite alternate;
    pointer-events: none;
}

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

@keyframes slLoginBgShift {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 100% 100%;
    }
}

@keyframes slLoginBgDrift {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
    to {
        transform: translate(2.5%, -2%) scale(1.06);
        opacity: 1;
    }
}

.sl-login-paper {
    width: min(420px, 100%);
    max-width: 420px;
    position: relative;
    z-index: 2;
    padding: 40px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.sl-login-brand-icon {
    font-size: 48px;
    color: var(--mantine-color-indigo-6);
}

.sl-login-brand-title {
    font-weight: 900;
    letter-spacing: 1px;
    color: #1e293b;
}

.sl-login-field-icon {
    font-size: 14px;
    color: #94a3b8;
}

.sl-login-field .mantine-TextInput-input,
.sl-login-field .mantine-PasswordInput-input {
    background: rgba(255, 255, 255, 0.5);
}

.sl-login-captcha-block {
    width: 100%;
}

.sl-login-captcha-block--hidden {
    display: none !important;
}

.sl-login-captcha-row {
    width: 100%;
}

.sl-login-captcha-input {
    flex: 1;
    min-width: 0;
}

.sl-login-captcha-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sl-login-captcha-img {
    display: block;
    width: 120px;
    height: 44px;
    border-radius: 8px;
    user-select: none;
    pointer-events: none;
}

.sl-login-captcha-refresh {
    flex-shrink: 0;
}

.sl-login-submit-btn {
    height: 50px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
}

.sl-login-error-output {
    margin-top: 2px;
}

.sl-login-mount-anchor {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.sl-link-plain {
    text-decoration: none;
}

.header-login-link {
    display: inline-block;
}

.header-login-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--mantine-color-blue-filled, #228be6);
    color: var(--mantine-color-white, #fff);
    border-radius: var(--mantine-radius-md, 8px);
    font-size: var(--mantine-font-size-sm, 14px);
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.header-login-link:hover .header-login-pill {
    background: var(--mantine-color-blue-filled-hover, #1c7ed6);
}

.header-login-icon {
    font-size: 14px;
}

.system-login-doc-markdown {
    font-size: 14px;
    line-height: 1.65;
}

.sl-menu-chevron {
    font-size: 12px;
    color: #adb5bd;
    margin-left: 4px;
}

.sl-menu-trigger {
    cursor: pointer;
}







/* === import from ./overrides/index.css (index.css) */
/*
   Third-Party Library Overrides
   Add new library overrides here to keep them organized.
*/

/* === import from ./react-select/index.css (index.css) */
/*
   React-Select Dark Theme Override

   Apply the 'dark-dropdown' class to the parent container.
   Usage: <div className="dark-dropdown"><Select ... /></div>
*/

/* === import from ./control.css (control.css) */
/* Control (Main Input Box) */
.dark-dropdown .Select-control {
    background-color: var(--bg1) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    border-radius: 12px !important;
    height: 42px !important;
}

/* Placeholder & Selected Value */
.dark-dropdown .Select-placeholder,
.dark-dropdown .Select-value-label {
    color: var(--text) !important;
    line-height: 42px !important;
}



/* === import from ./menu.css (menu.css) */
/* Dropdown Menu */
.dark-dropdown .Select-menu-outer {
    background-color: var(--bg1) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 12px !important;
    margin-top: 4px !important;
    box-shadow: var(--shadow2) !important;
}



/* === import from ./options.css (options.css) */
/* Menu Options */
.dark-dropdown .Select-option {
    background-color: transparent !important;
    color: var(--text) !important;
}

/* Focused/Hovered Option */
.dark-dropdown .Select-option.is-focused {
    background-color: var(--panel) !important;
    color: #fff !important;
}

/* Arrow & Clear Icons */
.dark-dropdown .Select-arrow-zone,
.dark-dropdown .Select-clear-zone {
    color: var(--muted) !important;
}





/*
   Example:
   @import './react-datepicker/index.css';
   @import './react-table/index.css';
*/
