/* 仪表板公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
}

/* 顶部导航栏 */
.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.company-name {
    font-size: 20px;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info span {
    font-size: 14px;
}

.logout-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* 菜单导航 */
.main-nav {
    background: rgba(0,0,0,0.1);
    padding: 0 30px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 15px 25px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
    background: rgba(255,255,255,0.1);
    border-bottom-color: #fff;
}

/* 主内容区 */
.main-content {
    margin-top: 120px;
    padding: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-warning {
    background: #ffc107;
    color: #333;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table .actions {
    display: flex;
    gap: 8px;
}

.data-table .actions .btn {
    padding: 6px 12px;
    font-size: 13px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-icon.blue { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stat-icon.green { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.stat-icon.orange { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.stat-icon.red { background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%); }

.stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-info p {
    color: #888;
    font-size: 14px;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 搜索栏 */
.search-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

/* 日期选择器 */
.date-range {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.date-range input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* 报表容器 */
.report-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

.report-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.report-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.report-header p {
    color: #888;
}

/* 打印样式 */
@media print {
    .dashboard-header,
    .btn,
    .actions,
    .no-print {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* 设置页面 */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.settings-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.settings-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-card h3 i {
    font-size: 24px;
}

.settings-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* 主题选择器 */
.theme-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .theme-selector {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .theme-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

.theme-option {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.theme-option:hover,
.theme-option.active {
    border-color: #667eea;
    background: #f8f9ff;
}

.theme-preview {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin: 0 auto 10px;
}

.theme-preview.default { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.theme-preview.ocean { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.theme-preview.forest { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.theme-preview.sunset { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.theme-preview.dark { background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); }
.theme-preview.mint { background: linear-gradient(135deg, #96e6a1 0%, #d4fc79 100%); }
.theme-preview.coral { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.theme-preview.purple { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.theme-preview.gold { background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%); }
.theme-preview.neon { background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%); }

/* ====================================
   主题样式 - 与登录页面同步
   ==================================== */

/* 默认主题 */
body.default-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.default-theme .dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 海洋主题 */
body.ocean-theme {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body.ocean-theme .dashboard-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 森林主题 */
body.forest-theme {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

body.forest-theme .dashboard-header {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* 日落主题 */
body.sunset-theme {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

body.sunset-theme .dashboard-header {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* 暗黑主题 */
body.dark-theme {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

body.dark-theme .dashboard-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

body.dark-theme .card {
    background: rgba(44, 62, 80, 0.95);
    color: white;
}

body.dark-theme .card-title {
    color: white;
}

body.dark-theme .stat-card {
    background: rgba(44, 62, 80, 0.95);
}

body.dark-theme .stat-info p {
    color: #ccc;
}

/* 薄荷主题 */
body.mint-theme {
    background: linear-gradient(135deg, #96e6a1 0%, #d4fc79 100%);
}

body.mint-theme .dashboard-header {
    background: linear-gradient(135deg, #96e6a1 0%, #d4fc79 100%);
}

/* 珊瑚主题 */
body.coral-theme {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

body.coral-theme .dashboard-header {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

/* 紫色主题 */
body.purple-theme {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

body.purple-theme .dashboard-header {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

/* 金色主题 */
body.gold-theme {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

body.gold-theme .dashboard-header {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

/* 霓虹主题 */
body.neon-theme {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
}

body.neon-theme .dashboard-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
}

/* ====================================
   主题标题区样式
   ==================================== */

.theme-header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.theme-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* ====================================
   各主题独特布局效果
   ==================================== */

/* 默认主题 - 经典商务 */
body.default-theme .theme-header {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.default-theme .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 海洋主题 - 流动波浪 */
body.ocean-theme .theme-header {
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.3) 0%, rgba(0, 242, 254, 0.3) 100%);
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
}

body.ocean-theme .main-content {
    animation: wave 8s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

body.ocean-theme .stat-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
}

body.ocean-theme .card {
    border-radius: 20px;
    border: 2px solid rgba(79, 172, 254, 0.2);
}

/* 森林主题 - 自然生长 */
body.forest-theme .theme-header {
    background: rgba(67, 233, 123, 0.2);
    border-left: 5px solid #43e97b;
    border-radius: 0 16px 16px 0;
}

body.forest-theme .stats-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.forest-theme .stat-card {
    border-radius: 15px 15px 15px 0;
}

body.forest-theme .stat-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
}

/* 日落主题 - 圆形设计 */
body.sunset-theme .theme-header {
    background: radial-gradient(circle, rgba(250, 112, 154, 0.3) 0%, rgba(254, 225, 64, 0.3) 100%);
    border-radius: 50%;
    padding: 60px 40px;
    max-width: 500px;
    margin: 0 auto 30px;
}

body.sunset-theme .stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

body.sunset-theme .stat-card {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

body.sunset-theme .stat-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 50%;
}

/* 暗黑主题 - 深邃极简 */
body.dark-theme .theme-header {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .main-nav {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-theme .stat-icon {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .data-table th {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-theme .data-table td {
    border-color: rgba(255, 255, 255, 0.1);
}

/* 薄荷主题 - 清新浮动 */
body.mint-theme .theme-header {
    background: rgba(150, 230, 161, 0.3);
    box-shadow: 0 10px 30px rgba(150, 230, 161, 0.3);
}

body.mint-theme .stat-card {
    animation: float 3s ease-in-out infinite;
}

body.mint-theme .stat-card:nth-child(2) { animation-delay: 0.5s; }
body.mint-theme .stat-card:nth-child(3) { animation-delay: 1s; }
body.mint-theme .stat-card:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

body.mint-theme .stat-icon {
    background: linear-gradient(135deg, #96e6a1 0%, #d4fc79 100%);
}

/* 珊瑚主题 - 温暖圆润 */
body.coral-theme .theme-header {
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.3) 0%, rgba(254, 207, 239, 0.3) 100%);
    border-radius: 30px;
}

body.coral-theme .card {
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(255, 154, 158, 0.2);
}

body.coral-theme .stat-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* 紫色主题 - 优雅斜切 */
body.purple-theme .theme-header {
    background: rgba(161, 140, 209, 0.3);
    transform: skew(-5deg);
}

body.purple-theme .theme-title,
body.purple-theme .theme-subtitle {
    transform: skew(5deg);
}

body.purple-theme .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

body.purple-theme .stat-card:nth-child(odd) {
    transform: rotate(-2deg);
}

body.purple-theme .stat-card:nth-child(even) {
    transform: rotate(2deg);
}

body.purple-theme .stat-icon {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

/* 金色主题 - 奢华分屏 */
body.gold-theme .main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

body.gold-theme .theme-header {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, rgba(255, 216, 155, 0.3) 0%, rgba(25, 84, 123, 0.3) 100%);
}

body.gold-theme .stats-grid {
    flex-direction: column;
    grid-column: 1;
}

body.gold-theme .feature-card,
body.gold-theme .data-card {
    grid-column: 2;
}

body.gold-theme .stat-icon {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

@media (max-width: 1024px) {
    body.gold-theme .main-content {
        grid-template-columns: 1fr;
    }
    body.gold-theme .feature-card,
    body.gold-theme .data-card {
        grid-column: 1;
    }
}

/* 霓虹主题 - 赛博朋克 */
body.neon-theme .theme-header {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5), inset 0 0 20px rgba(255, 167, 38, 0.2);
}

body.neon-theme .theme-title {
    text-shadow: 0 0 10px #ff6b6b, 0 0 20px #ffa726;
    animation: neonFlicker 2s infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

body.neon-theme .card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 107, 107, 0.3);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.2);
}

body.neon-theme .stat-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

body.neon-theme .data-table th {
    background: rgba(255, 107, 107, 0.2);
    color: #ffa726;
}

body.neon-theme .data-table td {
    color: #fff;
    border-color: rgba(255, 107, 107, 0.2);
}

body.neon-theme .amount {
    color: #ffa726;
    text-shadow: 0 0 5px rgba(255, 167, 38, 0.5);
}

/* ====================================
   主题化的公司标题位置
   ==================================== */

/* 默认主题 - 公司标题居中 */
body.default-theme .header-top {
    justify-content: center;
    position: relative;
}

body.default-theme .company-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

body.default-theme .user-info {
    position: absolute;
    right: 30px;
}

body.default-theme .main-nav ul {
    justify-content: center;
}

/* 海洋主题 - 公司标题在左侧 */
body.ocean-theme .header-top {
    justify-content: flex-start;
}

body.ocean-theme .company-name {
    margin-right: auto;
}

body.ocean-theme .main-nav ul {
    justify-content: flex-start;
}

/* 森林主题 - 公司标题在右侧 */
body.forest-theme .header-top {
    flex-direction: row-reverse;
}

body.forest-theme .company-name {
    margin-left: auto;
}

body.forest-theme .user-info {
    margin-right: auto;
}

body.forest-theme .main-nav ul {
    justify-content: flex-end;
}

/* 日落主题 - 公司标题居中，菜单分散 */
body.sunset-theme .header-top {
    justify-content: center;
}

body.sunset-theme .company-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
}

body.sunset-theme .user-info {
    position: absolute;
    right: 30px;
}

body.sunset-theme .main-nav ul {
    justify-content: space-around;
}

/* 暗黑主题 - 公司标题左侧，菜单右侧 */
body.dark-theme .header-top {
    justify-content: space-between;
}

body.dark-theme .main-nav {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-theme .main-nav ul {
    justify-content: flex-end;
}

/* 薄荷主题 - 公司标题居中偏左 */
body.mint-theme .header-top {
    justify-content: flex-start;
    padding-left: 100px;
}

body.mint-theme .company-name {
    margin-right: auto;
    margin-left: 20%;
}

body.mint-theme .main-nav ul {
    justify-content: center;
    gap: 40px;
}

/* 珊瑚主题 - 公司标题右侧，菜单居中 */
body.coral-theme .header-top {
    justify-content: flex-end;
}

body.coral-theme .company-name {
    order: 2;
    margin-left: 20px;
}

body.coral-theme .user-info {
    order: 1;
    margin-right: auto;
}

body.coral-theme .main-nav ul {
    justify-content: center;
}

/* 紫色主题 - 公司标题居中，菜单倾斜 */
body.purple-theme .header-top {
    justify-content: center;
    position: relative;
}

body.purple-theme .company-name {
    transform: rotate(-3deg);
    font-style: italic;
}

body.purple-theme .main-nav ul {
    justify-content: space-evenly;
}

body.purple-theme .main-nav a {
    transform: rotate(3deg);
}

/* 金色主题 - 公司标题左侧，菜单垂直 */
body.gold-theme .dashboard-header {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

body.gold-theme .header-top {
    flex-direction: column;
    justify-content: center;
    width: 250px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

body.gold-theme .company-name {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
}

body.gold-theme .main-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

body.gold-theme .main-nav ul {
    flex-direction: column;
    width: 100%;
}

body.gold-theme .main-nav a {
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    body.gold-theme .dashboard-header {
        flex-direction: column;
    }
    
    body.gold-theme .header-top {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    body.gold-theme .main-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* 霓虹主题 - 公司标题居中发光，菜单分散 */
body.neon-theme .header-top {
    justify-content: center;
    position: relative;
}

body.neon-theme .company-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 26px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 107, 107, 0.8);
    animation: neonPulse 2s infinite;
}

@keyframes neonPulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 107, 107, 0.8); }
    50% { opacity: 0.9; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 107, 107, 0.5); }
}

body.neon-theme .user-info {
    position: absolute;
    right: 30px;
}

body.neon-theme .main-nav ul {
    justify-content: space-between;
    padding: 0 50px;
}

/* 快捷操作按钮样式 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.action-icon {
    font-size: 20px;
}

/* ====================================
   主题化的快捷入口按钮样式
   ==================================== */

/* 默认主题 */
body.default-theme .action-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

body.default-theme .action-btn:hover {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* 海洋主题 */
body.ocean-theme .action-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 25px;
}

body.ocean-theme .action-btn:hover {
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.5);
    transform: translateY(-3px) scale(1.02);
}

/* 森林主题 */
body.forest-theme .action-btn {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 15px 15px 15px 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

body.forest-theme .action-btn:hover {
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.4);
}

/* 日落主题 */
body.sunset-theme .action-btn {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 50px;
    padding: 18px 30px;
}

body.sunset-theme .action-btn:hover {
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.5);
    transform: translateY(-3px) rotate(2deg);
}

/* 暗黑主题 */
body.dark-theme .action-btn {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

body.dark-theme .action-btn:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* 薄荷主题 */
body.mint-theme .action-btn {
    background: linear-gradient(135deg, #96e6a1 0%, #d4fc79 100%);
    border-radius: 12px;
    animation: float 3s ease-in-out infinite;
}

body.mint-theme .action-btn:nth-child(2) { animation-delay: 0.5s; }
body.mint-theme .action-btn:nth-child(3) { animation-delay: 1s; }
body.mint-theme .action-btn:nth-child(4) { animation-delay: 1.5s; }

body.mint-theme .action-btn:hover {
    box-shadow: 0 10px 25px rgba(150, 230, 161, 0.5);
}

/* 珊瑚主题 */
body.coral-theme .action-btn {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    padding: 18px 28px;
}

body.coral-theme .action-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 154, 158, 0.5);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

/* 紫色主题 */
body.purple-theme .action-btn {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    border-radius: 10px;
    transform: rotate(-2deg);
}

body.purple-theme .action-btn:nth-child(even) {
    transform: rotate(2deg);
}

body.purple-theme .action-btn:hover {
    box-shadow: 0 8px 20px rgba(161, 140, 209, 0.5);
    transform: rotate(0deg) translateY(-3px);
}

/* 金色主题 */
body.gold-theme .action-btn {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    border-radius: 5px;
    border: 1px solid rgba(255, 216, 155, 0.5);
}

body.gold-theme .action-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 216, 155, 0.5);
    transform: translateY(-3px);
}

/* 霓虹主题 */
body.neon-theme .action-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.8);
}

body.neon-theme .action-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6), inset 0 0 10px rgba(255, 107, 107, 0.2);
    transform: translateY(-3px);
}

/* 响应式 */
@media (max-width: 768px) {
    .main-nav ul {
        flex-wrap: wrap;
    }
    
    .main-nav a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .main-content {
        margin-top: 160px;
        padding: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
