/* ============================================
    大橘有活平台 — 橘色主题样式
   主色: #FF8C00  辅色: #E65100
   ============================================ */

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --mud-typography-default-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --mud-typography-h1-family: var(--mud-typography-default-family);
    --mud-typography-h2-family: var(--mud-typography-default-family);
    --mud-typography-h3-family: var(--mud-typography-default-family);
    --mud-typography-h4-family: var(--mud-typography-default-family);
    --mud-typography-h5-family: var(--mud-typography-default-family);
    --mud-typography-h6-family: var(--mud-typography-default-family);
    --mud-typography-subtitle1-family: var(--mud-typography-default-family);
    --mud-typography-subtitle2-family: var(--mud-typography-default-family);
    --mud-typography-body1-family: var(--mud-typography-default-family);
    --mud-typography-body2-family: var(--mud-typography-default-family);
    --mud-typography-button-family: var(--mud-typography-default-family);
    --mud-typography-caption-family: var(--mud-typography-default-family);
    --mud-typography-overline-family: var(--mud-typography-default-family);
}

/* ===== 移动端模拟容器 ===== */
.mobile-shell {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background: #FFF8F0;
    box-shadow: 0 0 40px rgba(0,0,0,0.08);
    position: relative;
    overflow-x: hidden;
}

/* ===== 通用卡片 ===== */
.section-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(255,140,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,140,0,0.12);
}

/* ===== 底部导航间距 ===== */
.bottom-nav-spacer {
    height: 80px;
}

/* ===== 状态标签 ===== */
.status-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== 金额高亮 ===== */
.amount-highlight {
    color: #FF8C00;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ===== 沉浸式顶部区域 ===== */
.hero-header {
    background: linear-gradient(180deg, #FF8C00 0%, #FFA040 100%);
    padding: 16px 16px 32px;
    position: relative;
    overflow: hidden;
}
.hero-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    z-index: 0;
}
.hero-header::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    z-index: 0;
}
.hero-header > * {
    position: relative;
}

/* 搜索栏 */
.hero-search {
    background: rgba(255,255,255,0.92);
    border-radius: 24px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}
.hero-search:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.hero-search-icon {
    color: #FF8C00;
    font-size: 20px;
}
.hero-search-text {
    color: #aaa;
    font-size: 14px;
    flex: 1;
}

/* Logo 占位 */
.hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 8px;
}
.hero-logo .mud-icon-root {
    font-size: 36px;
    color: #fff;
}

/* ===== 2x2 快捷入口卡片网格 ===== */
.quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}
.quick-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 16px rgba(255,140,0,0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: #333;
    min-height: 100px;
}
.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255,140,0,0.15);
}
.quick-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.quick-card-icon-orange {
    background: linear-gradient(135deg, #FF8C00, #FFA040);
    color: #fff;
}
.quick-card-icon-white {
    background: #FFF3E0;
    color: #FF8C00;
    border: 1.5px solid rgba(255,140,0,0.15);
}
.quick-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.quick-card.quick-card-active {
    background: #FF8C00;
    box-shadow: 0 4px 20px rgba(255,140,0,0.3);
}
.quick-card.quick-card-active .quick-card-icon {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.quick-card.quick-card-active .quick-card-title {
    color: #fff;
}

/* ===== 底部导航栏 — 橘色主题 ===== */
.bottom-nav-orange {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 430px;
    width: 100%;
    background: linear-gradient(135deg, #FF8C00, #E65100);
    border-radius: 20px 20px 0 0;
    padding: 8px 0 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(255,140,0,0.2);
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}
.bottom-nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}
.bottom-nav-item.active {
    color: #fff;
}
.bottom-nav-item .nav-icon {
    font-size: 22px;
    line-height: 1;
}
.bottom-nav-item .nav-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}
.bottom-nav-item.active .nav-label {
    font-weight: 700;
}

/* ===== MudBlazor底部导航栏覆写（橘色） ===== */
.bottom-nav {
    border-top: none !important;
    background: linear-gradient(135deg, #FF8C00, #E65100) !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 6px 0 8px !important;
    box-shadow: 0 -4px 20px rgba(255,140,0,0.2) !important;
}
.bottom-nav .mud-button-root {
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    padding: 6px 4px;
    min-height: 52px;
    color: rgba(255,255,255,0.7) !important;
}
.bottom-nav .mud-button-root:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}
.bottom-nav .mud-typography-caption {
    color: inherit !important;
}
.bottom-nav .mud-icon-root {
    color: inherit !important;
}
.nav-active {
    position: relative;
    color: #fff !important;
}
.nav-active .mud-icon-root,
.nav-active .mud-typography-caption {
    color: #fff !important;
}
.nav-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
}

.mud-appbar-bottom .mud-button-label,
.bottom-nav-bar .mud-button-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px;
}

/* ===== 顶部导航栏美化 ===== */
.top-appbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.top-appbar .mud-typography {
    letter-spacing: 0.5px;
}

/* ===== 订单卡片 — 橘色边框风格 ===== */
.order-card {
    border-radius: 16px !important;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s ease;
    border-left: 4px solid #FF8C00 !important;
    box-shadow: 0 2px 12px rgba(255,140,0,0.06) !important;
    background: #fff !important;
}
.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,140,0,0.12) !important;
}
.order-card-pending { border-left-color: #FF8C00 !important; }
.order-card-progress { border-left-color: #4CAF50 !important; }
.order-card-verify { border-left-color: #2196F3 !important; }
.order-card-done { border-left-color: #8BC34A !important; }
.order-card-cancelled { border-left-color: #9E9E9E !important; }

/* 订单卡片橘色背景变体 */
.order-card-warm {
    border-radius: 16px !important;
    border: 1.5px solid rgba(255,140,0,0.12) !important;
    background: linear-gradient(135deg, #FFF8F0, #FFF3E0) !important;
    box-shadow: 0 2px 12px rgba(255,140,0,0.06) !important;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.order-card-warm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,140,0,0.12) !important;
}

/* ===== 个人中心头部美化 ===== */
.profile-header {
    position: relative;
    overflow: hidden;
    padding: 28px 16px 24px;
    background: linear-gradient(135deg, #FF8C00, #E65100) !important;
}
.profile-header::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.profile-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.profile-header > * {
    position: relative;
    z-index: 1;
}

/* ===== 统计卡片 ===== */
.stats-grid .mud-item {
    position: relative;
}
.stats-grid .mud-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}

/* ===== 菜单列表美化 ===== */
.menu-list {
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(255,140,0,0.05) !important;
}
.menu-list .mud-list-item {
    transition: background 0.2s ease;
    padding: 12px 16px;
}
.menu-list .mud-list-item:hover {
    background: #FFF8F0;
}
.menu-list .mud-list-item .mud-icon-root {
    transition: transform 0.2s ease;
}
.menu-list .mud-list-item:hover .mud-icon-root:last-child {
    transform: translateX(3px);
}

/* ===== 公告横幅美化 ===== */
.notice-banner {
    border-radius: 12px !important;
    border: none !important;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2) !important;
    animation: noticeSlideIn 0.5s ease;
}
.notice-banner .mud-alert-icon {
    color: #FF8C00 !important;
}
.notice-banner .mud-alert-message {
    color: #E65100 !important;
}
@keyframes noticeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 弹窗通知美化 ===== */
.popup-banner {
    border-radius: 12px !important;
    border: 1px solid rgba(255,140,0,0.2) !important;
    background: linear-gradient(135deg, #fff8e1, #fff3e0) !important;
    animation: popupPulse 0.4s ease;
}
@keyframes popupPulse {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== 钱包头部美化 ===== */
.wallet-header {
    position: relative;
    overflow: hidden;
    padding: 28px 16px;
    background: linear-gradient(135deg, #FF8C00, #E65100) !important;
}
.wallet-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
}
.wallet-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -15%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.wallet-header > * {
    position: relative;
    z-index: 1;
}

/* ===== 消息卡片美化 ===== */
.msg-card {
    border-radius: 12px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255,140,0,0.08) !important;
}
.msg-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,140,0,0.10) !important;
    border-color: rgba(255,140,0,0.15) !important;
}

/* ===== 聊天气泡美化 ===== */
.chat-bubble {
    border-radius: 16px !important;
    padding: 10px 14px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}
.chat-bubble-mine {
    border-bottom-right-radius: 4px !important;
    background: #FF8C00 !important;
    color: #fff !important;
}
.chat-bubble-other {
    border-bottom-left-radius: 4px !important;
}

/* ===== 渐变状态背景 ===== */
.status-header-employer {
    background: linear-gradient(135deg, #FF8C00, #E65100) !important;
    border-radius: 16px !important;
}
.status-header-labor {
    background: linear-gradient(135deg, #FF8C00, #E65100) !important;
    border-radius: 16px !important;
}
.status-header-success {
    background: linear-gradient(135deg, #66bb6a, #2e7d32) !important;
    border-radius: 16px !important;
}

/* ===== 通用过渡 ===== */
.mud-card {
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s ease;
}
.mud-chip {
    transition: transform 0.15s ease;
}
.mud-chip:hover {
    transform: scale(1.03);
}

/* ===== 表单美化 ===== */
.mud-input-outlined .mud-input-outlined-border {
    border-radius: 12px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    box-shadow: 0 0 0 3px rgba(255,140,0,0.12);
    border-color: #FF8C00 !important;
}

/* ===== 按钮美化 ===== */
.mud-button-filled {
    transition: transform 0.15s ease, box-shadow 0.2s ease !important;
}
.mud-button-filled:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,140,0,0.25) !important;
}
.mud-button-filled:active {
    transform: translateY(0);
}

/* 橘色主题按钮 */
.btn-orange {
    background: #FF8C00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.btn-orange:hover {
    background: #E65100 !important;
    box-shadow: 0 4px 14px rgba(255,140,0,0.3) !important;
}
.btn-orange-outline {
    background: transparent !important;
    color: #FF8C00 !important;
    border: 1.5px solid #FF8C00 !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.btn-orange-outline:hover {
    background: #FFF3E0 !important;
}

/* ===== 章节标题美化 ===== */
.section-title {
    font-weight: 700 !important;
    position: relative;
    padding-left: 12px;
    font-size: 18px !important;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    border-radius: 2px;
    background: #FF8C00;
}
.section-title-employer::before {
    background: #FF8C00;
}
.section-title-labor::before {
    background: #FF8C00;
}

/* ===== 时间线美化 ===== */
.mud-timeline-item-dot {
    transition: transform 0.2s ease;
}
.mud-timeline-item:hover .mud-timeline-item-dot {
    transform: scale(1.15);
}

/* ===== 标签页美化 ===== */
.mud-tabs-rounded .mud-tab {
    border-radius: 20px !important;
    transition: all 0.25s ease;
}

/* ===== 页面内容容器 ===== */
.page-content {
    padding: 16px;
    animation: pageEnter 0.35s ease;
}
@keyframes pageEnter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 空状态美化 ===== */
.empty-state {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: 16px;
}
.empty-state .mud-icon-root {
    opacity: 0.4;
    color: #FF8C00;
}

/* ===== 状态标签颜色 ===== */
.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.status-badge-pending {
    background: #E8F5E9;
    color: #2E7D32;
}
.status-badge-accepted {
    background: #E3F2FD;
    color: #1565C0;
}
.status-badge-done {
    background: #F3E5F5;
    color: #7B1FA2;
}

/* ===== 位置信息栏 ===== */
.location-bar {
    color: #fff;
    font-size: 14px;
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== 管理后台统一样式 ===== */
.admin-layout-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(255, 140, 0, 0.08), transparent 18%),
        linear-gradient(180deg, #f7f5f1 0%, #f3f4f6 35%, #eef2f7 100%);
}

.admin-sidebar.mud-drawer {
    width: 220px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, #353739 0%, #26282b 100%) !important;
    color: #f8fafc;
}

.admin-sidebar-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-brand {
    margin: 14px 14px 10px;
    padding: 12px 14px;
    border-radius: 18px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    color: #fff7ed;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.admin-sidebar-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-sidebar-brand-copy strong {
    font-size: 22px;
    line-height: 1.1;
    color: #ff9a1f;
}

.admin-sidebar-brand-copy span {
    margin-top: 3px;
    font-size: 12px;
    color: rgba(255, 247, 237, 0.78);
}

.admin-sidebar-nav {
    padding: 8px 10px 14px;
}

.admin-sidebar .mud-nav-link {
    min-height: 44px;
    margin-bottom: 6px;
    border-radius: 14px;
    color: rgba(255, 247, 237, 0.86);
}

.admin-sidebar .mud-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar .mud-nav-link.active {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.24), rgba(249, 115, 22, 0.18));
    color: #fff7ed;
    box-shadow: inset 3px 0 0 #ff8c00;
}

.admin-sidebar .mud-nav-link .mud-nav-link-icon {
    color: rgba(255, 255, 255, 0.68);
}

.admin-sidebar .mud-nav-link.active .mud-nav-link-icon {
    color: #ffb257;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding: 12px 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar-exit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: #fde68a;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

.admin-sidebar-exit:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-main-content {
    min-height: 100vh;
    padding: 24px 28px !important;
    background: transparent;
}

.admin-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 28%),
        linear-gradient(135deg, #fff6e5, #ffffff 55%, #fff1d6);
    border: 1px solid rgba(230, 81, 0, 0.08);
    box-shadow: 0 18px 48px rgba(230, 81, 0, 0.08);
}

.admin-page-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    color: #1f2937;
}

.admin-page-subtitle {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.admin-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-kpi-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.admin-kpi-card .label {
    color: #6b7280;
    font-size: 13px;
}

.admin-kpi-card .value {
    margin-top: 10px;
    color: #111827;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.admin-kpi-card .hint {
    margin-top: 10px;
    color: #9ca3af;
    font-size: 12px;
}

.admin-panel {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    padding: 20px 22px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.admin-panel.compact {
    padding: 16px 18px;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-panel-title {
    margin: 0;
    font-size: 17px;
    color: #111827;
}

.admin-panel-desc {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.admin-filter-bar,
.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.admin-filter-bar {
    margin-bottom: 16px;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 140px;
    flex: 1 1 160px;
}

.admin-field label {
    color: #6b7280;
    font-size: 12px;
}

.admin-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-static-field {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px dashed #d6dae2;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
}

.admin-input,
.admin-select,
.admin-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d6dae2;
    background: #fff;
    color: #111827;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-textarea {
    min-height: 110px;
    resize: vertical;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.12);
}

.admin-button {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.admin-button:hover {
    transform: translateY(-1px);
}

.admin-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.admin-button.primary {
    background: linear-gradient(135deg, #ff8c00, #f97316);
    color: #fff;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.admin-button.secondary {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.admin-button.ghost {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #dbe2ea;
}

.admin-button.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.admin-button.danger {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.admin-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-chip-list label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    font-weight: 600;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-tab {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.admin-tab.active {
    background: #fff7ed;
    border-color: #fb923c;
    color: #c2410c;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
}

.admin-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-table tr:hover td {
    background: #fffaf4;
}

.admin-table .cell-title {
    color: #0f172a;
    font-weight: 600;
}

.admin-table .cell-subtitle {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.admin-status.normal,
.admin-status.success {
    background: #ecfdf5;
    color: #047857;
}

.admin-status.warning {
    background: #fff7ed;
    color: #c2410c;
}

.admin-status.danger {
    background: #fff1f2;
    color: #be123c;
}

.admin-status.info {
    background: #eff6ff;
    color: #1d4ed8;
}

.admin-inline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-detail-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.admin-detail-item .key {
    color: #6b7280;
    font-size: 12px;
}

.admin-detail-item .val {
    margin-top: 6px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
}

.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1400;
}

.admin-modal {
    width: min(980px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.26);
}

.admin-modal.small {
    width: min(640px, 100%);
}

.admin-modal-header,
.admin-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f7;
}

.admin-modal-footer {
    border-top: 1px solid #eef2f7;
    border-bottom: none;
}

.admin-modal-body {
    padding: 20px;
}

.admin-empty {
    padding: 36px 20px;
    border-radius: 18px;
    background: #f8fafc;
    color: #94a3b8;
    text-align: center;
}

.admin-link {
    color: #c2410c;
    text-decoration: none;
    font-weight: 600;
}

.admin-link:hover {
    text-decoration: underline;
}

.admin-list-row {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    color: #475569;
    font-size: 14px;
    word-break: break-word;
}

.admin-list-row:last-child {
    border-bottom: none;
}

.admin-stat-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-stat-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
}

.admin-stat-item .name {
    color: #6b7280;
    font-size: 12px;
}

.admin-stat-item .num {
    margin-top: 6px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
}

.admin-alert-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-alert-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fdba74;
}

.admin-check {
    width: 16px;
    height: 16px;
    accent-color: #ff8c00;
}

@media (max-width: 1200px) {
    .admin-kpi-grid,
    .admin-detail-grid,
    .admin-stat-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-main-content {
        padding: 18px 16px !important;
    }

    .admin-page-header,
    .admin-panel,
    .admin-modal-body,
    .admin-modal-header,
    .admin-modal-footer {
        padding: 16px;
    }

    .admin-kpi-grid,
    .admin-inline-grid,
    .admin-detail-grid,
    .admin-stat-list {
        grid-template-columns: 1fr;
    }

    .admin-page-header {
        flex-direction: column;
    }
}


/* UI 设置 - 图标上传 */
.admin-icon-uploader { display: flex; gap: 8px; align-items: center; }
.admin-icon-uploader .admin-input { flex: 1; min-width: 0; }
.admin-upload-btn { position: relative; cursor: pointer; white-space: nowrap; padding: 6px 14px; }
.admin-upload-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.admin-icon-preview { display: block; margin-top: 6px; max-width: 56px; max-height: 56px; border: 1px solid #eee; border-radius: 6px; background: #fafafa; padding: 4px; }
.admin-icon-preview-lg { display: block; margin-top: 8px; max-width: 96px; max-height: 96px; border: 1px solid #eee; border-radius: 8px; background: #fafafa; padding: 6px; }

/* 用户搜索选择器 */
.user-search-wrapper { position: relative; }
.user-search-dropdown { position: absolute; top: 100%; left: 0; right: 0; z-index: 100; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.1); max-height: 240px; overflow-y: auto; margin-top: 2px; }
.user-search-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.user-search-item:last-child { border-bottom: none; }
.user-search-item:hover { background: #f8fafc; }
.user-search-name { font-weight: 500; color: #1e293b; font-size: 14px; }
.user-search-phone { color: #94a3b8; font-size: 13px; }
.user-search-empty { display: flex; align-items: center; padding: 12px 14px; color: #94a3b8; font-size: 14px; }
.user-search-selected { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 12px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 6px; color: #0369a1; font-size: 14px; }
.user-search-selected .admin-button { font-size: 13px; padding: 2px 8px; }
