/**
 * tech.css — 深蓝渐变科技风覆盖层
 * 仅覆盖视觉样式（颜色/背景/边框/阴影/圆角/动效），不改动任何布局与逻辑
 * 引入顺序：位于 layui.css / style.css / theme.css / content.css 之后
 * 配色：深蓝渐变 + 霓虹青蓝 + 金色点缀 + 浅色内容区（保证可读性）
 * Author: tech-theme override
 * ============================================================= */

:root {
    --tech-bg-deep: #0a1f3d;
    --tech-bg-deep2: #0d2847;
    --tech-bg-deep3: #102a52;
    --tech-cyan: #00d4ff;
    --tech-cyan-soft: #38bdf8;
    --tech-blue: #0ea5e9;
    --tech-blue-deep: #0284c7;
    --tech-gold: #fbbf24;
    --tech-gold-deep: #f5a623;
    --tech-line: rgba(0, 212, 255, 0.28);
    --tech-line-soft: rgba(56, 189, 248, 0.18);
    --tech-glow: 0 0 0 1px rgba(0, 212, 255, 0.25), 0 4px 24px rgba(0, 212, 255, 0.12);
    --tech-content-bg: #eef2f8;
    --tech-card-bg: #ffffff;
    --tech-text: #1e293b;
    --tech-text-soft: #475569;
    --tech-radius: 8px;
}

/* =============================================================
 * 1. 全局背景与滚动条
 * ============================================================= */
body.layui-layout-body,
.layui-layout-admin {
    background: var(--tech-content-bg) !important;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px) !important;
    background-size: 28px 28px !important;
    color: var(--tech-text);
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}
::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: linear-gradient(180deg, var(--tech-cyan-soft), var(--tech-blue-deep));
    box-shadow: inset 0 0 4px rgba(0, 212, 255, 0.4);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--tech-cyan), var(--tech-blue));
}
::-webkit-scrollbar-track {
    background: rgba(13, 40, 71, 0.06);
}

/* 全局文字渲染 */
body {
    -webkit-font-smoothing: antialiased;
}

/* =============================================================
 * 2. 顶部导航栏 — 深蓝渐变玻璃 + 霓虹底边
 * ============================================================= */
.layui-layout-admin .layui-header {
    background: linear-gradient(90deg, var(--tech-bg-deep) 0%, var(--tech-bg-deep2) 60%, var(--tech-bg-deep3) 100%) !important;
    border-bottom: 1px solid var(--tech-line) !important;
    box-shadow: 0 2px 16px rgba(0, 212, 255, 0.18), 0 1px 0 rgba(0, 212, 255, 0.35) inset !important;
    position: fixed;
}

/* 顶栏所有图标/文字浅色化 */
.layui-layout-admin .layui-header .layui-nav,
.layui-layout-admin .layui-header .layui-nav .layui-nav-item a,
.layui-layout-admin .layui-header .layui-nav .layui-nav-item a cite {
    color: #cfe4ff !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.25);
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-item a:hover,
.layui-layout-admin .layui-header .layui-nav-item.layui-this a {
    color: var(--tech-cyan) !important;
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-item a i {
    color: #9ec7ff;
}
.layui-layout-admin .layui-header .layui-nav-img {
    border: 1px solid var(--tech-line);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* 顶部下拉菜单 */
.layui-layout-admin .layui-header .layui-nav .layui-nav-child {
    background: linear-gradient(180deg, var(--tech-bg-deep2), var(--tech-bg-deep3)) !important;
    border: 1px solid var(--tech-line) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.08) !important;
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-child a {
    color: #cfe4ff !important;
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-child a:hover {
    background: rgba(0, 212, 255, 0.14) !important;
    color: var(--tech-cyan) !important;
    text-indent: 4px;
}
.layui-layout-admin .layui-header .layui-nav-child dd hr {
    background: var(--tech-line-soft) !important;
    border: 0 !important;
}

/* 顶部多系统横向滚动菜单 */
.layui-nav-head .layui-nav-top li {
    border: 1px solid transparent;
}
.layui-nav-head .layui-nav-top li.layui-this,
.layui-nav-head .layui-nav-top li:hover {
    background: rgba(0, 212, 255, 0.12) !important;
    border: 1px solid var(--tech-line) !important;
    border-radius: 4px;
}

/* =============================================================
 * 3. 侧边栏 — 深蓝渐变 + 菜单霓虹高亮
 * ============================================================= */
.layui-layout-admin .layui-side,
.layui-layout-admin .layui-side-menu {
    background: linear-gradient(180deg, var(--tech-bg-deep) 0%, var(--tech-bg-deep2) 100%) !important;
    box-shadow: 2px 0 18px rgba(0, 0, 0, 0.35) !important;
    border-right: 1px solid var(--tech-line) !important;
}

/* logo 区 */
.layui-layout-admin .layui-logo {
    background: linear-gradient(90deg, var(--tech-bg-deep), var(--tech-bg-deep2)) !important;
    border-bottom: 1px solid var(--tech-line) !important;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.12) !important;
}
.layui-side .layui-logo h1 {
    color: #e6f4ff !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    letter-spacing: 1px;
}
.layui-logo img {
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
}

/* 侧边菜单容器 */
.layui-side-scroll {
    background: transparent !important;
}

/* 一级菜单项 */
.layui-nav-tree .layui-nav-item a,
.layui-nav-tree .layui-nav-item .layui-nav-child a {
    color: #b9d4f5 !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
    transition: all .22s ease;
}
.layui-nav-tree .layui-nav-item a i {
    color: #7fb4e8;
}

/* 菜单悬浮 */
.layui-nav-tree .layui-nav-item a:hover {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.16), transparent) !important;
    color: var(--tech-cyan) !important;
    box-shadow: inset 3px 0 0 var(--tech-cyan);
}
.layui-nav-tree .layui-nav-item a:hover i {
    color: var(--tech-cyan);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

/* 选中态 — 左侧霓虹条 + 背景 */
.layui-nav-tree .layui-nav-item.layui-this > a,
.layui-nav-tree .layui-nav-item.layui-nav-itemed > a,
.layui-nav-tree .layui-nav-bar {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.22), rgba(0, 212, 255, 0.04)) !important;
    color: #fff !important;
}
.layui-nav-tree .layui-nav-item.layui-this > a {
    box-shadow: inset 4px 0 0 var(--tech-cyan), 0 0 14px rgba(0, 212, 255, 0.18) !important;
}
.layui-nav-tree .layui-nav-item.layui-this > a,
.layui-nav-tree .layui-nav-item.layui-this > a i {
    color: var(--tech-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* 子菜单容器 */
.layui-nav-tree .layui-nav-child {
    background: rgba(8, 22, 42, 0.6) !important;
    border-top: 1px solid var(--tech-line-soft) !important;
}
.layui-nav-tree .layui-nav-child a:hover {
    background: rgba(0, 212, 255, 0.1) !important;
}

/* 展开收起箭头颜色 */
.layui-nav-tree .layui-nav-more {
    border-top-color: #7fb4e8 !important;
}
.layui-nav-tree .layui-nav-itemed > a .layui-nav-more {
    border-top-color: var(--tech-cyan) !important;
}

/* =============================================================
 * 4. Tab 标签栏 / 面包屑
 * ============================================================= */
.layui-layout-admin .swiftadmin-tabs {
    background: var(--tech-content-bg) !important;
    border-bottom: 1px solid var(--tech-line-soft) !important;
    box-shadow: 0 2px 8px rgba(13, 40, 71, 0.06);
}
.layui-layout-admin .swiftadmin-tabs .layui-breadcrumb a,
.layui-layout-admin .swiftadmin-tabs .layui-breadcrumb a cite {
    color: var(--tech-blue-deep) !important;
}
.layui-layout-admin .swiftadmin-tabs .layui-breadcrumb a:hover {
    color: var(--tech-cyan) !important;
}

/* =============================================================
 * 5. 内容主体区
 * ============================================================= */
.layui-layout-admin .layui-body {
    background: var(--tech-content-bg) !important;
}
.layui-layout-admin .layui-footer {
    background: linear-gradient(90deg, var(--tech-content-bg), #e3eaf3) !important;
    border-top: 1px solid var(--tech-line-soft) !important;
    color: var(--tech-text-soft) !important;
}

/* 内容容器 */
.layui-fluid {
    color: var(--tech-text);
}

/* =============================================================
 * 6. 卡片 — 科技玻璃质感
 * ============================================================= */
.layui-card {
    background: var(--tech-card-bg) !important;
    border: 1px solid var(--tech-line-soft) !important;
    border-radius: var(--tech-radius) !important;
    box-shadow: 0 2px 14px rgba(13, 40, 71, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
    overflow: hidden;
}
.layui-card:hover {
    border-color: var(--tech-line) !important;
    box-shadow: 0 6px 28px rgba(0, 212, 255, 0.14), 0 0 0 1px var(--tech-line-soft) inset !important;
}

.layui-card-header {
    background: linear-gradient(90deg, #f4f8fc, #eaf2fb) !important;
    border-bottom: 1px solid var(--tech-line-soft) !important;
    color: var(--tech-bg-deep2) !important;
    font-weight: 600;
    letter-spacing: .5px;
    position: relative;
}
.layui-card-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--tech-cyan), var(--tech-blue-deep));
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}
.layui-card-body {
    color: var(--tech-text);
}

/* 卡片淡入动效 */
.layui-card {
    animation: techFadeIn .45s ease both;
}
@keyframes techFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================
 * 7. 表格
 * ============================================================= */
.layui-table {
    background: #fff !important;
    color: var(--tech-text) !important;
}
.layui-table thead tr,
.layui-table-header {
    background: linear-gradient(180deg, var(--tech-bg-deep2), var(--tech-bg-deep3)) !important;
}
.layui-table thead th,
.layui-table-header th {
    color: #e6f4ff !important;
    font-weight: 600;
    letter-spacing: .3px;
    border-bottom: 1px solid var(--tech-line) !important;
}
.layui-table[lay-skin="line"] td,
.layui-table[lay-skin="row"] td,
.layui-table td {
    border-color: rgba(14, 165, 233, 0.12) !important;
}
.layui-table-body {
    color: var(--tech-text);
}
.layui-table-row:hover td,
.layui-table-hover td,
.layui-table-body .layui-table-hover td {
    background: rgba(0, 212, 255, 0.07) !important;
}
.layui-table[lay-skin="nob"] td {
    border-color: transparent !important;
}

/* 表格工具栏按钮区 */
.layui-table-tool {
    background: linear-gradient(90deg, #f4f8fc, #eaf2fb) !important;
    border-bottom: 1px solid var(--tech-line-soft) !important;
}
.layui-table-tool .layui-inline[lay-event] {
    color: var(--tech-blue-deep) !important;
    border-radius: 4px;
    transition: all .2s;
}
.layui-table-tool .layui-inline[lay-event]:hover {
    background: rgba(0, 212, 255, 0.14) !important;
    color: var(--tech-cyan) !important;
}

/* 表格分页 */
.layui-table-page {
    border-top: 1px solid var(--tech-line-soft) !important;
    background: #fff !important;
}
.layui-table-page .layui-laypage a,
.layui-table-page .layui-laypage span {
    color: var(--tech-text-soft);
    border-radius: 4px;
}
.layui-table-page .layui-laypage .layui-laypage-curr .layui-laypage-em {
    background: linear-gradient(180deg, var(--tech-cyan), var(--tech-blue-deep)) !important;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* 表格内链接 */
.layui-table .layui-table-cell a,
.layui-table-text {
    color: var(--tech-blue-deep) !important;
}
.layui-table .layui-table-cell a:hover,
.layui-table-text:hover {
    color: var(--tech-cyan) !important;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.4);
}

/* 固定列阴影 */
.layui-table-fixed-l,
.layui-table-fixed-r {
    box-shadow: 0 0 10px rgba(13, 40, 71, 0.1);
}

/* =============================================================
 * 8. 按钮 — 科技渐变 + 发光
 * ============================================================= */
.layui-btn {
    border-radius: 6px !important;
    transition: all .25s ease;
    letter-spacing: .5px;
}
.layui-btn-normal,
.layui-btn:not(.layui-btn-primary):not(.layui-btn-warm):not(.layui-btn-danger):not(.layui-btn-warm) {
    background: linear-gradient(135deg, var(--tech-blue) 0%, var(--tech-blue-deep) 100%) !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25), 0 0 0 1px rgba(56, 189, 248, 0.3) inset !important;
}
.layui-btn-normal:hover,
.layui-btn:not(.layui-btn-primary):not(.layui-btn-warm):not(.layui-btn-danger):hover {
    background: linear-gradient(135deg, var(--tech-cyan-soft) 0%, var(--tech-blue) 100%) !important;
    box-shadow: 0 4px 18px rgba(0, 212, 255, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.5) inset !important;
    transform: translateY(-1px);
}

/* 主操作按钮(提交) — 金色强调 */
.layui-btn[lay-filter="submitIframe"],
.layui-btn[lay-filter="submit"],
.layui-form-footer .layui-btn:not(.layui-btn-primary) {
    background: linear-gradient(135deg, var(--tech-gold) 0%, var(--tech-gold-deep) 100%) !important;
    color: #3a2400 !important;
    box-shadow: 0 2px 10px rgba(245, 166, 35, 0.35), 0 0 0 1px rgba(251, 191, 36, 0.5) inset !important;
}
.layui-btn[lay-filter="submitIframe"]:hover,
.layui-btn[lay-filter="submit"]:hover,
.layui-form-footer .layui-btn:not(.layui-btn-primary):hover {
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.5), 0 0 0 1px rgba(251, 191, 36, 0.7) inset !important;
    transform: translateY(-1px);
}

/* 次级按钮 */
.layui-btn-primary {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid var(--tech-line-soft) !important;
    color: var(--tech-blue-deep) !important;
}
.layui-btn-primary:hover {
    border-color: var(--tech-cyan) !important;
    color: var(--tech-cyan) !important;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.25) !important;
}

/* 危险按钮 */
.layui-btn-danger {
    background: linear-gradient(135deg, #f87171, #dc2626) !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
}

/* 图标按钮(搜索/添加) */
.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* =============================================================
 * 9. 表单 — 输入框 / 下拉 / 文本域
 * ============================================================= */
.layui-input,
.layui-textarea,
.layui-select {
    border: 1px solid var(--tech-line-soft) !important;
    border-radius: 5px !important;
    background: #fbfdff !important;
    color: var(--tech-text) !important;
    transition: all .22s ease;
}
.layui-input:hover,
.layui-textarea:hover {
    border-color: var(--tech-cyan-soft) !important;
}
.layui-input:focus,
.layui-textarea:focus {
    border-color: var(--tech-cyan) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16), 0 0 12px rgba(0, 212, 255, 0.25) !important;
    outline: none !important;
}

.layui-form-label {
    color: var(--tech-text-soft) !important;
    font-weight: 500;
}

/* 下拉选择 */
.layui-form-select dl {
    border: 1px solid var(--tech-line-soft) !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 24px rgba(13, 40, 71, 0.12) !important;
    background: #fff !important;
}
.layui-form-select dl dd.layui-this {
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-deep)) !important;
    color: #fff !important;
}
.layui-form-select dl dd:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    color: var(--tech-cyan) !important;
}

/* 开关 */
.layui-form-switch[lay-skin="switch"],
.layui-form [lay-skin="switch"] {
    border-color: var(--tech-line-soft) !important;
    background-color: #cdd9e6 !important;
}
.layui-form [lay-skin="switch"].layui-form-onswitch {
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-blue-deep)) !important;
    border-color: var(--tech-cyan) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* 复选框/单选 */
.layui-form-checkbox[lay-skin="primary"] i {
    border-color: var(--tech-line-soft) !important;
}
.layui-form-checkbox[lay-skin="primary"]:hover i {
    border-color: var(--tech-cyan) !important;
}
.layui-form-checked[lay-skin="primary"] i {
    background: var(--tech-blue-deep) !important;
    border-color: var(--tech-blue-deep) !important;
}
.layui-form-radio:hover *,
.layui-form-radioed,
.layui-form-radioed > i {
    color: var(--tech-blue-deep) !important;
}

/* =============================================================
 * 10. 徽章 / 标签 / 进度条
 * ============================================================= */
.layui-badge {
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-deep)) !important;
    border-radius: 4px !important;
    box-shadow: 0 0 6px rgba(2, 132, 199, 0.35);
}
.layui-badge-blue {
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-blue)) !important;
}
.layui-badge-green,
.layui-badge.layui-bg-green {
    background: linear-gradient(135deg, #34d399, #059669) !important;
}
.layui-badge-dot {
    background: var(--tech-gold) !important;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.7);
}

.layui-bg-blue,
.layui-progress-bar.layui-bg-blue {
    background: linear-gradient(90deg, var(--tech-cyan), var(--tech-blue-deep)) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}
.layui-progress {
    background: rgba(13, 40, 71, 0.08) !important;
    border-radius: 10px !important;
}

/* 数字强调(控制台统计数字) */
.layui-sales,
.workplace-content,
.layui-small-block-title {
    color: var(--tech-bg-deep2) !important;
}
.layui-sales-info > div:first-child {
    color: var(--tech-gold-deep) !important;
    font-weight: 600;
}

/* =============================================================
 * 11. 弹窗 / 提示 / 加载
 * ============================================================= */
.layui-layer-page .layui-layer-title {
    background: linear-gradient(90deg, var(--tech-bg-deep), var(--tech-bg-deep2)) !important;
    color: #e6f4ff !important;
    border-bottom: 1px solid var(--tech-line) !important;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.15);
    font-weight: 600;
    letter-spacing: .5px;
}
.layui-layer-page {
    border: 1px solid var(--tech-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 212, 255, 0.1) !important;
}
.layui-layer-btn {
    border-top: 1px solid var(--tech-line-soft) !important;
    background: #f7fafd !important;
}
.layui-layer-btn .layui-layer-btn0 {
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-deep)) !important;
    border-color: transparent !important;
    border-radius: 5px !important;
}
.layui-layer-btn .layui-layer-btn1 {
    border-radius: 5px !important;
}

/* 弹窗内表格/表单跟随主题 */
.layui-layer-page .layui-card {
    animation: none;
}

/* =============================================================
 * 12. Tab 选项卡
 * ============================================================= */
.layui-tab-title {
    border-bottom: 1px solid var(--tech-line-soft) !important;
}
.layui-tab-title li {
    color: var(--tech-text-soft) !important;
    transition: all .2s;
}
.layui-tab-title li:hover {
    color: var(--tech-cyan) !important;
}
.layui-tab-title li.layui-this {
    color: var(--tech-blue-deep) !important;
}
.layui-tab-title li.layui-this::after {
    border-bottom: 2px solid var(--tech-cyan) !important;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

/* =============================================================
 * 13. 面包屑 / 分隔线 / 引用
 * ============================================================= */
.layui-breadcrumb a {
    color: var(--tech-blue-deep) !important;
}
.layui-breadcrumb a:hover {
    color: var(--tech-cyan) !important;
}
.layui-breadcrumb a cite {
    color: var(--tech-text) !important;
}

.layui-divider {
    border-color: var(--tech-line-soft) !important;
}

.layui-quote-tips {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), rgba(251, 191, 36, 0.06)) !important;
    border: 1px solid var(--tech-line-soft) !important;
    border-left: 3px solid var(--tech-cyan) !important;
    border-radius: 6px !important;
}
.layui-quote-tips i {
    color: var(--tech-gold-deep) !important;
}

/* 字段集 */
.layui-elem-field legend {
    color: var(--tech-blue-deep) !important;
    letter-spacing: .5px;
}

/* =============================================================
 * 14. 头像 / 列表小图标块(控制台快捷入口)
 * ============================================================= */
.layui-nav-img,
.layui-admin-avatar {
    border-radius: 50% !important;
    border: 1px solid var(--tech-line) !important;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}
.layui-small-block i {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* =============================================================
 * 15. 树/下拉/xm-select 兼容
 * ============================================================= */
xm-select > .xm-body .xm-tree .xm-option-content {
    color: var(--tech-text);
}

/* =============================================================
 * 16. 响应式微调
 * ============================================================= */
@media screen and (max-width: 768px) {
    .layui-card {
        animation: none;
    }
}

/* =============================================================
 * 17. reduce-motion 适配
 * ============================================================= */
@media (prefers-reduced-motion: reduce) {
    .layui-card,
    .layui-btn,
    .layui-input,
    .layui-textarea {
        animation: none !important;
        transition: none !important;
    }
}

/* =============================================================
 * 18. 登录页 — 深蓝渐变背景 + 玻璃质感登录卡片
 *     仅作用于含 .swiftadmin-login 的登录页 body
 * ============================================================= */
body:has(.swiftadmin-login) {
    background:
        radial-gradient(circle at 18% 20%, rgba(0, 212, 255, 0.16), transparent 42%),
        radial-gradient(circle at 82% 78%, rgba(251, 191, 36, 0.10), transparent 42%),
        linear-gradient(135deg, #061528 0%, #0a1f3d 50%, #0d2847 100%) !important;
    background-size: 100% 100%, 100% 100%, 100% 100% !important;
    color: #cfe4ff;
}

.swiftadmin-login {
    color: #cfe4ff;
}

/* 玻璃登录卡片 */
.swiftadmin-login-main,
.swiftadmin-login-main[bgimg] {
    background: rgba(13, 40, 71, 0.55) !important;
    border: 1px solid var(--tech-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.15) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 8px 6px;
}

/* 标题 */
.swiftadmin-login-header h2 {
    color: #e6f4ff !important;
    text-shadow: 0 0 16px rgba(0, 212, 255, 0.6);
}
.swiftadmin-login-header p {
    color: #8fb8e8 !important;
}
.swiftadmin-login .logo {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

/* 输入项图标 */
.swiftadmin-login-icon {
    color: var(--tech-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* 输入项容器 */
.swiftadmin-login .item,
.swiftadmin-login .layui-col-xs7 {
    background: rgba(6, 21, 40, 0.5) !important;
    border: 1px solid var(--tech-line-soft) !important;
    border-radius: 6px !important;
    transition: all .25s ease;
}
.swiftadmin-login .item:hover,
.swiftadmin-login .layui-col-xs7:hover {
    border-color: var(--tech-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.14);
}

/* 登录输入框透明融入容器 */
.swiftadmin-login-body .layui-form-item .layui-input {
    background: transparent !important;
    color: #e6f4ff !important;
    border: 0 !important;
    box-shadow: none !important;
}
.swiftadmin-login-body .layui-input::placeholder {
    color: rgba(207, 228, 255, 0.45);
}

/* 验证码容器 */
.swiftadmin-login .captcha {
    background: rgba(6, 21, 40, 0.5) !important;
    border: 1px solid var(--tech-line-soft) !important;
}

/* 登录/注册按钮 — 金色强调 */
.swiftadmin-login .layui-btn-normal,
.swiftadmin-login .layui-btn,
.swiftadmin-login .layui-btn-fixed {
    background: linear-gradient(135deg, var(--tech-gold), var(--tech-gold-deep)) !important;
    color: #3a2400 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 18px rgba(245, 166, 35, 0.4), 0 0 0 1px rgba(251, 191, 36, 0.5) inset !important;
    letter-spacing: 2px;
}
.swiftadmin-login .layui-btn-normal:hover,
.swiftadmin-login .layui-btn:hover {
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.55), 0 0 0 1px rgba(251, 191, 36, 0.7) inset !important;
    transform: translateY(-1px);
}

/* 记住密码 / 切换链接 */
.swiftadmin-link,
.swiftadmin-login-other label {
    color: var(--tech-cyan-soft) !important;
}
.swiftadmin-login-footer,
.swiftadmin-login-footer a {
    color: rgba(207, 228, 255, 0.6) !important;
}
.swiftadmin-login-footer a:hover {
    color: var(--tech-cyan) !important;
}

/* 社交登录图标 */
.swiftadmin-login .other-login .layui-icon {
    color: #6f9fce !important;
}
.swiftadmin-login .other-login .layui-icon:hover {
    color: var(--tech-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* 复选框 */
.swiftadmin-login .layui-form-checkbox[lay-skin=primary] i {
    border-color: var(--tech-line) !important;
}
.swiftadmin-login .layui-form-checked[lay-skin=primary] i {
    background: var(--tech-blue-deep) !important;
    border-color: var(--tech-blue-deep) !important;
}
