/* static/css/style.css */
/* =========================================================
   科尼数字化平台 - 完整主题系统 V2
   ========================================================= */

/* ---------- 浅色主题 (默认) ---------- */
:root,
[data-theme="light"] {
    --bg-body: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-table-header: #f8fafc;
    --bg-table-hover: #f1f5f9;
    --bg-input: #ffffff;
    --bg-elevated: #f1f5f9;

    --border-color: #e2e8f0;
    --border-subtle: rgba(0, 0, 0, 0.04);
    --border-card: rgba(0, 0, 0, 0.06);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-link: #4f46e5;
    --text-light: #ffffff;

    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

    --success-500: #22c55e;
    --warning-500: #f59e0b;
    --danger-500: #ef4444;
    --info-500: #3b82f6;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.1);

    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.2);

    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --header-height: 68px;
}

/* ---------- 暗色主题 ---------- */
[data-theme="dark"] {
    --bg-body: #0a0a0f;
    --bg-card: #14141e;
    --bg-card-hover: #1e1e32;
    --bg-table-header: #14141e;
    --bg-table-hover: #1e1e32;
    --bg-input: #0a0a0f;
    --bg-elevated: #1a1a2e;

    --border-color: #2d2d4a;
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-card: rgba(255, 255, 255, 0.06);

    --text-primary: #e8e8f0;
    --text-secondary: #a8a8c8;
    --text-muted: #6a6a8a;
    --text-link: #a5b4fc;
    --text-light: #ffffff;

    --primary-400: #818cf8;
    --primary-500: #818cf8;
    --primary-600: #a78bfa;
    --primary-700: #c084fc;
    --gradient-primary: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);

    --success-500: #34d399;
    --warning-500: #fbbf24;
    --danger-500: #f87171;
    --info-500: #60a5fa;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.6);
    --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.7);

    --glass-bg: rgba(20, 20, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.04);

    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --header-height: 68px;
}

/* =========================================================
   全局基础样式
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    padding-top: var(--header-height);
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--text-link);
}
a:hover {
    color: var(--primary-600);
}

/* =========================================================
   滚动条
   ========================================================= */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* =========================================================
   主容器
   ========================================================= */
.main-container {
    padding: 24px 28px;
    min-height: calc(100vh - var(--header-height));
    max-width: 1600px;
    margin: 0 auto;
    color: var(--text-primary);
}

/* 布局模式：紧凑 */
html[data-layout="compact"] .main-container {
    max-width: 1200px;
    padding: 14px 18px;
}

html[data-layout="compact"] .container {
    max-width: 1140px;
}

html[data-layout="compact"] .card-body {
    padding: 14px 16px;
}

html[data-layout="compact"] .table > :not(caption) > * > * {
    padding: 6px 8px;
}

html[data-layout="compact"] .form-section-title {
    margin: 14px 0 10px;
}

/* 布局模式：宽屏 */
html[data-layout="wide"] .main-container {
    max-width: none;
    padding: 24px 32px;
}

html[data-layout="wide"] .container {
    max-width: none;
}

@media (max-width: 768px) {
    .main-container {
        padding: 16px;
    }
}

/* =========================================================
   卡片 - 毛玻璃效果
   ========================================================= */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.08);
}
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}
.card-body {
    padding: 24px;
    color: var(--text-primary);
}

/* =========================================================
   统计卡片
   ========================================================= */
.dashboard-stat-card {
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.dashboard-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.dashboard-stat-card .stat-icon {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 32px;
    opacity: 0.06;
    color: var(--primary-500);
}
.dashboard-stat-card .stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dashboard-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0 0;
    letter-spacing: -0.5px;
}
.dashboard-stat-card .stat-change {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 100px;
    margin-top: 6px;
    background: rgba(34, 197, 94, 0.08);
    color: var(--success-500);
}
.dashboard-stat-card .stat-change.down {
    background: rgba(239, 68, 68, 0.08);
    color: var(--danger-500);
}
.dashboard-stat-card .stat-change.neutral {
    background: var(--bg-elevated);
    color: var(--text-muted);
}

/* =========================================================
   图表卡片
   ========================================================= */
.chart-card {
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

/* =========================================================
   筛选区域
   ========================================================= */
.filter-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
}
.filter-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================================
   表格
   ========================================================= */
.table {
    font-size: 13px;
    color: var(--text-primary) !important;
}
.table thead th {
    background: var(--bg-table-header);
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
}
.table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary) !important;
    vertical-align: middle;
}
.table tbody tr:hover {
    background: var(--bg-table-hover);
}
.table a {
    color: var(--text-link) !important;
}
.table a:hover {
    color: var(--primary-600) !important;
}

.talent-table,
.project-table,
.customer-table,
.vendor-table {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
}

/* =========================================================
   表单
   ========================================================= */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    padding: 8px 12px;
    font-size: 13px;
    background: var(--bg-input);
    color: var(--text-primary) !important;
    transition: all 0.2s ease;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
    outline: none;
}
.form-control::placeholder {
    color: var(--text-muted) !important;
}
.form-label {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* =========================================================
   按钮
   ========================================================= */
.btn {
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 13px;
    padding: 6px 16px;
    transition: all 0.25s ease;
    border: none;
}
.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: white;
}
.btn-success:hover {
    transform: translateY(-1px);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: white;
}
.btn-danger:hover {
    transform: translateY(-1px);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
}
.btn-warning:hover {
    transform: translateY(-1px);
    color: white;
}

.btn-outline-secondary {
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    background: transparent;
}
.btn-outline-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.btn-sm {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: var(--radius);
}

/* =========================================================
   分页
   ========================================================= */
.pagination .page-link {
    border: none;
    border-radius: var(--radius);
    color: var(--text-secondary);
    padding: 6px 12px;
    margin: 0 2px;
    font-size: 13px;
    background: transparent;
    transition: all 0.2s ease;
}
.pagination .page-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}
.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}
.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    color: var(--text-muted);
}

/* =========================================================
   复选框
   ========================================================= */
.form-check-input {
    background-color: var(--bg-input);
    border-color: var(--border-color);
}
.form-check-input:checked {
    background-color: var(--primary-500);
    border-color: var(--primary-500);
}

/* =========================================================
   标签/徽章
   ========================================================= */
.tag-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

[data-tag="985"] {
    background: #dbeafe;
    color: #1e40af;
}
[data-tag="211"] {
    background: #dcfce7;
    color: #166534;
}
[data-tag="双一流"] {
    background: #fef3c7;
    color: #92400e;
}
[data-tag="一本"] {
    background: #e0e7ff;
    color: #3730a3;
}
[data-tag="二本"] {
    background: #f3f4f6;
    color: #6b7280;
}
[data-tag="大专"] {
    background: #fce4ec;
    color: #c62828;
}

[data-theme="dark"] [data-tag="985"] {
    background: #1e3a5f;
    color: #93c5fd;
}
[data-theme="dark"] [data-tag="211"] {
    background: #1a3a2a;
    color: #86efac;
}
[data-theme="dark"] [data-tag="双一流"] {
    background: #3d2e1a;
    color: #fcd34d;
}
[data-theme="dark"] [data-tag="一本"] {
    background: #1e2a4a;
    color: #93c5fd;
}
[data-theme="dark"] [data-tag="二本"] {
    background: #2d2d2d;
    color: #9ca3af;
}
[data-theme="dark"] [data-tag="大专"] {
    background: #4a1a2a;
    color: #f48fb1;
}

.badge {
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 11px;
}
.badge-success {
    background: #dcfce7;
    color: #166534;
}
.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}
.badge-warning {
    background: #fef3c7;
    color: #92400e;
}
.badge-info {
    background: #dbeafe;
    color: #1e40af;
}
.badge-secondary {
    background: var(--bg-elevated);
    color: var(--text-muted);
}

[data-theme="dark"] .badge-success {
    background: #1a3a2a;
    color: #86efac;
}
[data-theme="dark"] .badge-danger {
    background: #7f1d1d;
    color: #fca5a5;
}
[data-theme="dark"] .badge-warning {
    background: #78350f;
    color: #fcd34d;
}
[data-theme="dark"] .badge-info {
    background: #1e3a5f;
    color: #93c5fd;
}

/* 角色徽章 */
.role-badge {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
}
.role-badge.super_admin {
    background: #fee2e2;
    color: #991b1b;
}
.role-badge.hr_manager {
    background: #dbeafe;
    color: #1e40af;
}
.role-badge.hr_staff {
    background: #e0e7ff;
    color: #3730a3;
}
.role-badge.ops_manager {
    background: #dcfce7;
    color: #166534;
}
.role-badge.ops_staff {
    background: #f0fdf4;
    color: #15803d;
}
.role-badge.biz {
    background: #fef3c7;
    color: #92400e;
}
.role-badge.pre_sales {
    background: #fce7f3;
    color: #9d174d;
}

[data-theme="dark"] .role-badge.super_admin {
    background: #7f1d1d;
    color: #fca5a5;
}
[data-theme="dark"] .role-badge.hr_manager {
    background: #1e3a5f;
    color: #93c5fd;
}
[data-theme="dark"] .role-badge.hr_staff {
    background: #1a2a4a;
    color: #93c5fd;
}
[data-theme="dark"] .role-badge.ops_manager {
    background: #1a3a2a;
    color: #86efac;
}
[data-theme="dark"] .role-badge.ops_staff {
    background: #1a3a2a;
    color: #86efac;
}
[data-theme="dark"] .role-badge.biz {
    background: #78350f;
    color: #fcd34d;
}
[data-theme="dark"] .role-badge.pre_sales {
    background: #7f1d4a;
    color: #f9a8d4;
}

/* =========================================================
   Toast 通知
   ========================================================= */
.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9999;
}
.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    backdrop-filter: blur(12px);
}
.toast .toast-body {
    padding: 14px 20px;
    color: var(--text-primary) !important;
}

/* =========================================================
   模态框
   ========================================================= */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
}
.modal-header {
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 28px;
}
.modal-header .modal-title {
    color: var(--text-primary) !important;
}
.modal-body {
    padding: 24px 28px;
    color: var(--text-primary) !important;
}
.modal-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 16px 28px;
}

/* =========================================================
   主题选择器 (设置页面)
   ========================================================= */
.theme-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.theme-option {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-option:hover {
    transform: scale(1.1);
}
.theme-option.active {
    border-color: var(--primary-500);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.theme-option.active::after {
    content: '\2713';
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.theme-option .theme-name {
    position: absolute;
    bottom: -22px;
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}
.theme-option.light {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.theme-option.light.active {
    border-color: #6366f1;
}
.theme-option.dark {
    background: #0f172a;
    border-color: #1e293b;
}
.theme-option.dark.active {
    border-color: #818cf8;
}
.theme-option.system {
    background: linear-gradient(135deg, #f8fafc 50%, #0f172a 50%);
}
.theme-option.system.active {
    border-color: #6366f1;
}

.theme-option[data-color] {
    position: relative;
}
.theme-option[data-color].active::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   工具类
   ========================================================= */
.text-muted {
    color: var(--text-muted) !important;
}
.text-secondary {
    color: var(--text-secondary) !important;
}
.text-primary {
    color: var(--primary-500) !important;
}
.text-danger {
    color: var(--danger-500) !important;
}
.text-success {
    color: var(--success-500) !important;
}
.text-warning {
    color: var(--warning-500) !important;
}
.text-info {
    color: var(--info-500) !important;
}
.text-body {
    color: var(--text-primary) !important;
}

.bg-body {
    background: var(--bg-body) !important;
}
.bg-card {
    background: var(--bg-card) !important;
}

/* =========================================================
   动画
   ========================================================= */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 768px) {
    .main-container {
        padding: 12px;
    }
    .dashboard-stat-card {
        padding: 16px 18px;
    }
    .dashboard-stat-card .stat-value {
        font-size: 22px;
    }
    .dashboard-stat-card .stat-icon {
        font-size: 24px;
        right: 14px;
        top: 14px;
    }
    .card-header {
        padding: 14px 16px;
    }
    .card-body {
        padding: 16px;
    }
    .modal-body {
        padding: 16px;
    }
    .toast {
        min-width: unset;
        width: calc(100vw - 32px);
    }
}

@media (max-width: 576px) {
    .dashboard-stat-card .stat-value {
        font-size: 18px;
    }
    .table {
        font-size: 12px;
    }
    .table thead th,
    .table tbody td {
        padding: 8px 10px;
    }
    .filter-section {
        padding: 12px 14px;
    }
}

/* =========================================================
   附件条目（项目、公告、人才、客户、供应商共用）
   ========================================================= */
.attachment-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin: 4px;
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: 100px;
}

.attachment-item a {
    color: var(--text-primary);
    text-decoration: none;
}

.attachment-item a:hover {
    color: var(--primary-500);
}

.attachment-action {
    display: inline-flex;
    align-items: center;
    padding: 2px;
    color: var(--text-muted);
    background: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.attachment-action:hover {
    color: var(--primary-500);
    background: var(--bg-card);
}

.attachment-remove:hover {
    color: var(--danger-500);
}

/* =========================================================
   列表页工具栏（各列表页共用）
   ========================================================= */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 16px;
}

.toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.toolbar-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.toolbar-meta {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* 列表操作按钮：单行排列，列宽按内容自适应 */
.table-actions-cell {
    width: 1%;
    white-space: nowrap;
}

.action-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: var(--radius);
    border: none;
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    background: rgba(99, 102, 241, 0.06);
    color: var(--text-secondary);
}

.action-btn:hover { transform: translateY(-1px); background: rgba(99, 102, 241, 0.12); color: var(--primary-500); }
.action-btn.danger { background: rgba(239, 68, 68, 0.06); color: var(--danger-500); }
.action-btn.danger:hover { background: rgba(239, 68, 68, 0.12); }
.action-btn.success { background: rgba(34, 197, 94, 0.06); color: var(--success-500); }
.action-btn.success:hover { background: rgba(34, 197, 94, 0.12); }
.action-btn.warning { background: rgba(245, 158, 11, 0.06); color: var(--warning-500); }
.action-btn.warning:hover { background: rgba(245, 158, 11, 0.12); }

@media (max-width: 768px) {
    .action-btn { width: 24px; height: 24px; font-size: 10px; }
    .action-group { gap: 3px; }
}

@media (max-width: 480px) {
    .action-btn { width: 20px; height: 20px; font-size: 9px; }
}

.action-more { display: inline-flex; }

.action-dropdown {
    min-width: 112px;
    padding: 6px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
}

.action-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--text-secondary);
    border-radius: 6px;
}

.action-dropdown .dropdown-item:hover { background: rgba(99, 102, 241, 0.08); color: var(--primary-500); }
.action-dropdown .dropdown-item.danger { color: var(--danger-500); }
.action-dropdown .dropdown-item.danger:hover { background: rgba(239, 68, 68, 0.10); color: var(--danger-500); }
