/* 
 * EasyAdmin Auth Styles 
 * 抽离自 login.html，保持模板整洁
 */

:root {
    --tblr-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    font-feature-settings: "cv03", "cv04", "cv11";
}

/* 自定义 Telegram 风格背景 */
.bubble-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-image: linear-gradient(135deg, #d2d78e, #8bb889, #d6dbb9);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1;
}

.bubble-bg:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 引用涂鸦底纹文件 */
    background-image: url('/static/img/auth/pattern.svg');
    background-repeat: repeat;
    background-size: 400px auto;
    opacity: .15;
    pointer-events: none;
}

/* 增强卡片质感 */
.card-md {
    border-radius: 12px;
}

.hr-text {
    margin: 2rem 0 1.5rem 0;
}

/* 修复输入框右侧图标点击时的黑框/焦点框 */
.input-group-flat .input-group-text a:focus,
.input-group-flat .input-group-text a:active {
    outline: none !important;
    box-shadow: none !important;
}

.input-group-flat .input-group-text {
    background-color: transparent !important;
    border-left: 0 !important;
}

/* 暗黑模式下的背景适配 */
[data-bs-theme="dark"] .bubble-bg {
    background-image: linear-gradient(135deg, #1e293b, #0f172a, #1e293b);
}