/* 第二套系统：墨绿商务风主题覆盖 */

:root {
    --brand-primary: #0f5b46;
    --brand-primary-2: #147a5b;
    --brand-accent: #c79b3b;
    --brand-bg: #eef4f1;
    --brand-card: #ffffff;
    --brand-text: #0f172a;
    --brand-subtle: #64748b;
    --brand-border: #d9e3df;
}

/* 全局背景 */
body {
    background: linear-gradient(180deg, #edf3f0 0%, #f6f8f7 100%) !important;
    color: var(--brand-text) !important;
}

/* 顶部 */
.app-header {
    background: rgba(255,255,255,.96) !important;
    border-bottom: 1px solid #e5ece8 !important;
}

/* 登录页整体 */
body.login-page,
.login-page body,
.auth-page,
.login-page-wrap,
.login-wrap {
    background:
        radial-gradient(circle at top left, rgba(199,155,59,.16), transparent 28%),
        radial-gradient(circle at top right, rgba(15,91,70,.18), transparent 30%),
        linear-gradient(160deg, #10372e 0%, #174a3c 45%, #0c241f 100%) !important;
}

/* 登录卡片（尽量兼容不同 class） */
.login-card,
.auth-card,
.login-box,
.login-panel,
.page-login .card,
.page-login .login-card {
    background: rgba(255,255,255,.98) !important;
    border-radius: 28px !important;
    box-shadow: 0 24px 60px rgba(7, 22, 18, .26) !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    overflow: hidden;
    position: relative;
}

.login-card::before,
.auth-card::before,
.login-box::before,
.login-panel::before {
    content: "";
    display: block;
    height: 7px;
    background: linear-gradient(90deg, #c79b3b 0%, #0f5b46 60%, #147a5b 100%);
}

/* 登录标题 */
.login-title,
.auth-title,
.login-card h1,
.login-box h1,
.login-panel h1 {
    color: #0f172a !important;
    font-weight: 900 !important;
    letter-spacing: .5px;
}

/* 登录副标题 */
.login-subtitle,
.auth-subtitle,
.login-card p,
.login-box p {
    color: #64748b !important;
}

/* 输入框 */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="month"],
input[type="datetime-local"],
select,
textarea,
.form-input {
    border: 1px solid #d6dfdb !important;
    border-radius: 16px !important;
    background: #fbfcfc !important;
    color: #111827 !important;
    box-shadow: none !important;
}

input:focus,
select:focus,
textarea:focus,
.form-input:focus {
    border-color: #147a5b !important;
    box-shadow: 0 0 0 4px rgba(20,122,91,.10) !important;
    outline: none !important;
}

/* 主按钮 */
button,
.primary-btn,
.submit-btn,
.quick-actions a:first-child,
.mini-btn.reimburse-primary,
.bottom-nav a.active {
    background: linear-gradient(180deg, #147a5b 0%, #0f5b46 100%) !important;
    color: #fff !important;
}

.primary-btn,
.submit-btn,
.quick-actions a {
    border-radius: 18px !important;
    box-shadow: 0 10px 22px rgba(15,91,70,.18) !important;
}

/* 次按钮 */
.logout-link,
.mini-btn.outline,
.mini-btn.delete,
.mini-btn.success,
.quick-actions a:not(:first-child) {
    border: 1px solid #dbe4e0 !important;
    background: #fff !important;
    color: #0f5b46 !important;
}

/* 统计卡片 */
.summary-card {
    border: 1px solid #dce6e1 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05) !important;
    background: #fff !important;
}

.summary-card::before {
    background: #147a5b !important;
}

.summary-card:nth-child(2)::before {
    background: #0f766e !important;
}

.summary-card:nth-child(3)::before {
    background: #c79b3b !important;
}

.summary-card:nth-child(4)::before {
    background: #7c5c18 !important;
}

/* 提示卡 */
.notice-card {
    background: #f5fbf8 !important;
    border: 1px solid #b8d8c8 !important;
}

.notice-title {
    color: #0f5b46 !important;
}

/* 卡片容器 */
.expense-card,
.report-card,
.filter-card,
.settings-row,
.settings-user-card,
.rank-card {
    border: 1px solid #e1e8e5 !important;
    box-shadow: 0 6px 16px rgba(15,23,42,.04) !important;
}

/* 底部菜单 */
.bottom-nav {
    background: rgba(255,255,255,.96) !important;
    border: 1px solid #dce4e0 !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

.bottom-nav a {
    color: #5b6b67 !important;
}

.bottom-nav a.active {
    box-shadow: 0 10px 24px rgba(15,91,70,.22) !important;
}

.bottom-nav a.active::after {
    background: #c79b3b !important;
}

/* 二级 tab */
.report-sub-tabs a.active,
.filter-tabs .active,
.expense-status-tabs .active {
    background: linear-gradient(180deg, #147a5b 0%, #0f5b46 100%) !important;
    color: #fff !important;
    border-color: #147a5b !important;
}

/* 标签状态 */
.status-tag.pending,
.status-tag.danger {
    background: #fff7ed !important;
    color: #b45309 !important;
}

.status-tag.confirmed,
.status-tag.success {
    background: #ecfdf5 !important;
    color: #15803d !important;
}

/* 设置页图标块 */
.settings-row i,
.settings-avatar {
    background: linear-gradient(180deg, #147a5b 0%, #0f5b46 100%) !important;
    color: #fff !important;
}

/* 首页标题强调 */
.hello,
.page-title,
h1, h2 {
    color: #0f172a !important;
}
