/* @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: #f1f5f9;
    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;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/auth/login_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.85;
}

.sl-login-paper {
    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);
}

.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-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;
}
