* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  padding: 0;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

a {
  color: #00B7FF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 登录页面样式 */
.login-container {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 50px auto;
}

/* 首页样式 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.page-title {
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #3498db;
  font-size: 1.6em;
  font-weight: 300;
}

header {
  background-color: #333;
  color: white;
  padding: 20px 0;
  margin-bottom: 20px;
  text-align: center;
  border-radius: 8px;
}

nav {
  background-color: white;
  padding: 10px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

main {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dashboard {
  margin-top: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.date-filter {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.date-filter label {
  margin-bottom: 0;
  font-weight: bold;
}

.date-filter select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.chart-container {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.chart-container canvas {
  max-width: 100%;
  height: auto;
}

.cards {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  flex-wrap: wrap;
}

.card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  width: 30%;
  min-width: 200px;
  margin-bottom: 20px;
  text-align: center;
}

.card h3 {
  color: #555;
  margin-bottom: 10px;
}

.card p {
  font-size: 24px;
  font-weight: bold;
  color: #00B7FF;
}

.card h4 {
  color: #555;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 10px;
}

/* 优化小窗表单布局 */
.modal-body .form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px 10px;
}

.modal-body .form-group {
  flex: 1 1 150px;
  margin: 0 8px 10px;
}

/* 客户输入框样式 */
.customer-input-container {
  position: relative;
}

.customer-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 100;
  display: none;
}

.customer-dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
}

.customer-dropdown-item:hover {
  background-color: #f5f5f5;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-size: 12px;
}

input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

/* 现代化表单样式 */
.modern-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input-group.full-width {
  grid-column: 1 / -1;
}

.modern-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: #374151;
  font-size: 0.8rem;
  margin-bottom: 0;
}

.modern-label i {
  color: #6b7280;
  font-size: 0.8rem;
}

.modern-input, .modern-select, .modern-textarea {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.modern-input:focus, .modern-select:focus, .modern-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.modern-textarea {
  resize: vertical;
  min-height: 60px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
  margin-bottom: 16px;
}

.section-label i {
  color: #667eea;
}

.login-button {
  width: 100%;
  padding: 12px;
  background-color: #00B7FF;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #0099cc;
}

.error-message {
  background-color: #ffeeee;
  color: #cc0000;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

/* 车辆列表样式 */
.vehicle-list {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 报销记录列表样式 */
.applicant-cell,
.amount-cell,
.forestland-cell {
  font-weight: bold;
}

.status-cell {
  font-weight: bold;
}



.status-待审批 {
  color: #3498db;
}

.status-已批准,
.status-已审批 {
  color: #27ae60;
}

.status-已拒绝 {
  color: #e74c3c;
}

.status-已支付 {
  color: #9b59b6;
}

/* 收款状态样式 */
.payment-status-已收款 {
  color: #28a745;
  font-size: 14px !important;
  font-weight: bold;
}

.payment-status-未收款 {
  color: #dc3545;
  font-size: 14px !important;
  font-weight: bold;
}

.payment-status-部分收款 {
  color: #ffc107;
  font-size: 14px !important;
  font-weight: bold;
}

/* 费用对比表格样式 */
.cost-comparison {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 林地管理样式 */
.forest-land-list {
  margin-top: 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.forest-land-form {
  margin-top: 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 员工管理样式 */
.employee-list {
  margin-top: 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.employee-form {
  margin-top: 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.form-group {
  flex: 1 0 250px;
  margin: 0 8px 15px 8px;
  min-width: 250px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: 600;
  font-size: 12px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 3px rgba(52, 152, 219, 0.3);
}

.comparison-table-container {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

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

.comparison-table th {
  background-color: #2c3e50;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.comparison-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.comparison-table tr:hover {
  background-color: #e3f2fd;
  transform: scale(1.01);
  transition: all 0.3s ease;
}

.comparison-table .total {
  font-weight: bold;
  color: #00B7FF;
}

/* 筛选区域样式 */
.filter-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-section-wrapper {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.filter-controls {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.filter-group {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: end;
}

/* 现代化表格样式 */
.table-responsive {
  overflow-x: auto;
  margin: 8px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  margin-top: 8px;
}

.data-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 10px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  border: none;
  line-height: 1.4;
  height: auto;
  text-transform: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 统一表头样式 - 最高优先级 */
.data-table th,
.vehicle-cost-list .data-table th,
.forest-land-operation .data-table th,
table th,
.table-responsive th {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
  color: white !important;
  text-align: center !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif !important;
  padding: 12px 10px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.3px !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
  white-space: nowrap !important;
}

.data-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #374151;
  font-size: 14px;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.4;
  vertical-align: middle;
}

.data-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.data-table tr:hover {
  background: rgba(102, 126, 234, 0.05);
  transform: scale(1.01);
  transition: all 0.3s ease;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table .action-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin: 2px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.data-table .btn-view {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

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

.data-table .btn-delete {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
}

.data-table .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.data-table .btn-edit:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.data-table .btn-delete:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a5281b 100%);
}

/* 按钮样式优化 */
.btn {
  display: inline-block;
  padding: 8px 16px;
  margin: 3px 2px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  line-height: 1.4;
}

/* 编辑和删除按钮样式 */
.action-buttons .btn-edit,
.action-buttons .btn-delete {
  padding: 4px 8px;
  font-size: 12px;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #95a5a6;
  color: white;
}

.btn-secondary:hover {
  background-color: #7f8c8d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a5281b 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* 分页样式 */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding: 8px 0;
}

.pagination-info {
  color: #666;
  font-size: 12px;
}

.pagination-controls {
  display: flex;
  gap: 3px;
}

.pagination-btn {
  padding: 5px 10px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #00B7FF;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
}

.pagination-btn:hover {
  background-color: #f5f5f5;
}

.pagination-btn.active {
  background-color: #00B7FF;
  color: #fff;
  border-color: #00B7FF;
}

.pagination-btn.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.pagination-btn.disabled:hover {
  background-color: #fff;
  cursor: not-allowed;
}

/* 操作按钮样式 */
.action-buttons {
  margin-bottom: 10px;
}

.action-buttons .btn {
  margin-right: 6px;
  padding: 8px 16px;
  font-size: 14px;
}

/* 表格内操作按钮统一样式 */
.data-table .btn,
table .btn,
.table-responsive .btn {
  padding: 8px 16px !important;
  margin: 2px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
}

/* 全局按钮样式统一覆盖 */
.action-buttons .btn,
.btn-edit,
.btn-delete,
.btn-view,
.action-btn {
  padding: 4px 8px !important;
  margin: 2px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
  border: none !important;
  cursor: pointer !important;
}

/* 统一编辑按钮样式 */
.btn-edit,
.action-buttons .btn-edit,
.data-table .btn-edit,
table .btn-edit,
.table-responsive .btn-edit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  font-size: 11px !important;
}

.btn-edit:hover,
.action-buttons .btn-edit:hover,
.data-table .btn-edit:hover,
table .btn-edit:hover,
.table-responsive .btn-edit:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* 统一删除按钮样式 */
.btn-delete,
.action-buttons .btn-delete,
.data-table .btn-delete,
table .btn-delete,
.table-responsive .btn-delete {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
  color: white !important;
  font-size: 11px !important;
}

.btn-delete:hover,
.action-buttons .btn-delete:hover,
.data-table .btn-delete:hover,
table .btn-delete:hover,
.table-responsive .btn-delete:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a5281b 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* 确保编辑按钮样式统一 */
.data-table .btn-primary,
table .btn-primary,
.table-responsive .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
}

.data-table .btn-primary:hover,
table .btn-primary:hover,
.table-responsive .btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* 确保删除按钮样式统一 */
.data-table .btn-danger,
table .btn-danger,
.table-responsive .btn-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
  color: white !important;
}

.data-table .btn-danger:hover,
table .btn-danger:hover,
.table-responsive .btn-danger:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a5281b 100%) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* 收入记录列表专用样式优化 */
.income-record-list {
  margin-top: 20px;
}

/* 列表头部样式 */
.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.list-title h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.list-subtitle {
  margin: 5px 0 0 0;
  font-size: 14px;
  opacity: 0.9;
  font-weight: 400;
}

/* 添加记录按钮样式 */
.add-record-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.add-record-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
}

.add-record-btn .btn-icon {
  font-size: 16px;
}

.add-record-btn .btn-text {
  font-weight: 600;
}

.income-record-list .data-table {
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.income-record-list .data-table th {
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  text-align: center;
  white-space: nowrap;
}

.income-record-list .data-table td {
  padding: 10px 8px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f3f4;
  text-align: center;
  font-size: 14px !important;
}

/* 特定列的样式优化 */
.income-record-list .data-table td:nth-child(1) { /* ID列 */
  width: 40px;
  font-weight: 600;
  color: #666;
}

.income-record-list .data-table td:nth-child(2) { /* 日期列 */
  width: 100px;
}

.income-record-list .data-table td:nth-child(3) { /* 所属林地 */
  width: 180px;
  text-align: left;
  font-weight: 600;
  color: #2c3e50;
}

.income-record-list .data-table td:nth-child(4) { /* 收入类型 */
  width: 50px;
}

.income-record-list .data-table td:nth-child(6), 
.income-record-list .data-table td:nth-child(7) { /* 数量、单位 */
  width: 50px;
}

.income-record-list .data-table td:nth-child(8), 
.income-record-list .data-table td:nth-child(9) { /* 单价、总价 */
  width: 90px;
  font-weight: 600;
  color: #27ae60;
}

.income-record-list .data-table td:nth-child(10) { /* 客户 */
  width: 100px;
  text-align: left;
}

.income-record-list .data-table td:nth-child(11), 
.income-record-list .data-table td:nth-child(12) { /* 经手人、收款人 */
  width: 55px;
}

.income-record-list .data-table td:nth-child(13) { /* 收款状态 */
  width: 90px;
}

.income-record-list .data-table td:nth-child(14) { /* 操作列 */
  width: 120px;
  text-align: center;
}

/* 操作按钮容器 */
.action-buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* 操作按钮优化 - 统一样式 */
.income-record-list .btn-edit,
.income-record-list .btn-delete {
  padding: 8px 16px !important;
  font-size: 14px !important;
  margin: 2px !important;
  border-radius: 6px !important;
  min-width: auto !important;
  height: auto !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer;
  line-height: 1.4 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.income-record-list .btn-edit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
}

.income-record-list .btn-edit:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.income-record-list .btn-delete {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
  color: white !important;
}

.income-record-list .btn-delete:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a5281b 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* 收款状态样式增强 */
.payment-status-已收款 {
  background-color: #d4edda;
  color: #155724;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}

.payment-status-未收款 {
  background-color: #f8d7da;
  color: #721c24;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}

.payment-status-部分收款 {
  background-color: #fff3cd;
  color: #856404;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}

/* 表格行悬停效果优化 */
.income-record-list .data-table tr:hover {
  background-color: #f8f9fa;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .income-record-list .data-table {
    font-size: 12px;
  }
  
  .income-record-list .data-table th,
  .income-record-list .data-table td {
    padding: 8px 6px;
  }
}

@media screen and (max-width: 768px) {
  .list-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 15px;
  }
  
  .list-title h2 {
    font-size: 20px;
  }
  
  .add-record-btn {
    width: 100%;
    justify-content: center;
  }
  
  .income-record-list .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 11px;
  }
  
  .income-record-list .data-table th,
  .income-record-list .data-table td {
    padding: 6px 4px;
    min-width: 80px;
  }
  
  .income-record-list .btn-edit,
  .income-record-list .btn-delete {
    padding: 4px 6px;
    font-size: 12px;
    min-width: 28px;
    height: 28px;
  }
  
  .action-buttons-container {
    gap: 2px;
  }
  
  .payment-status-已收款,
  .payment-status-未收款,
  .payment-status-部分收款 {
    font-size: 10px;
    padding: 2px 6px;
    min-width: 50px;
  }
}

/* 模态框样式 */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed; /* 固定定位 */
  z-index: 1000; /* 确保在最上层 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* 允许滚动 */
  background-color: rgba(0,0,0,0.4); /* 黑色背景半透明 */
}

/* 模态框内容 */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 5% 从顶部，水平居中 */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* 宽度 */
  max-width: 600px; /* 最大宽度 */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.4s;
}

/* 模态框头部 */
.modal-header {
  padding: 15px 20px;
  background-color: #2c3e50;
  color: white;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 模态框关闭按钮 */
.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

/* 模态框主体 */
.modal-body {
  padding: 20px;
}

/* 模态框动画 */
@keyframes modalFadeIn {
  from {opacity: 0; transform: translateY(-50px);}
  to {opacity: 1; transform: translateY(0);}
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
}

/* 报销记录样式 */
.reimbursement-list {
  margin-top: 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reimbursement-form {
  margin-top: 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 现代化容器样式 */
.modern-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* Hero区域样式 */
.hero-section {
  text-align: center;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 16px;
}

.theme-toggle {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

/* Bento网格布局 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.bento-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1rem;
}

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

.card-icon.success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
}

.card-icon.warning {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.card-icon.info {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.card-title {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 4px;
  font-weight: 500;
}

.card-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.card-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
}

.trend-up {
  color: #10b981;
}

.trend-down {
  color: #ef4444;
}

.trend-neutral {
  color: #6b7280;
}

/* 报餐管理页面样式 */
.meal-management {
  max-width: 1400px;
  margin: 20px auto;
  padding: 20px;
}

.page-header {
  margin-bottom: 30px;
}

.page-header h1 {
  color: #333;
  margin: 0;
  font-size: 2.2em;
  font-weight: 600;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

/* Bento工作区布局 */
.bento-workspace {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.workspace-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workspace-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-section-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.stat-card {
  background: white;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 3px solid #4CAF50;
}

.stat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.stat-card h3 {
  margin: 0 0 6px 0;
  color: #333;
  font-size: 0.9em;
  font-weight: 600;
}

.stat-card .amount {
  font-size: 1.4em;
  font-weight: bold;
  color: #4CAF50;
  margin: 0;
}

/* 现代化表单卡片 */
.modern-form-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.modern-form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.header-content h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.header-content h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
}

.header-content p {
  margin: 2px 0 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.form-container {
  background: white;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.wechat-parse-container {
  background: white;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin-top: 12px;
}

.wechat-parse-container h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 1px solid #4CAF50;
  padding-bottom: 4px;
  margin-bottom: 8px;
  font-size: 0.9em;
}

.wechat-parse-container textarea {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 11px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  resize: vertical;
  min-height: 40px;
}

.wechat-parse-container textarea:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 2px rgba(76, 175, 80, 0.3);
}

/* 微信解析区域样式 */
.parse-hint {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 4px;
  padding: 6px 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #374151;
}

.parse-hint i {
  color: #667eea;
  font-size: 0.8rem;
}

/* 金额汇总区域 */
.amount-summary-section {
  margin: 16px 0;
}

.amount-summary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  backdrop-filter: blur(10px);
  margin-top: 8px;
}

.amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.8rem;
  color: #374151;
}

.amount-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.amount-row.total {
  font-weight: 600;
  font-size: 0.85rem;
  color: #1f2937;
  background: rgba(102, 126, 234, 0.1);
  margin: 6px -12px -12px;
  padding: 8px 12px;
  border-radius: 0 0 8px 8px;
}

.amount-row span:last-child {
  font-weight: 600;
  color: #059669;
}

.amount-row.total span:last-child {
  color: #667eea;
  font-size: 0.9rem;
}

/* 备注区域 */
.remarks-section {
  margin: 24px 0;
}

.form-container h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 6px;
  margin-bottom: 12px;
  font-size: 1.1em;
}

.form-group {
  margin-bottom: 8px;
}

.form-group label {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  color: #333;
  font-size: 11px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 5px 7px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 11px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 3px rgba(76, 175, 80, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.meal-count-section {
  background: #f8f9fa;
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.meal-count-section h3 {
  margin-top: 0;
  color: #333;
  font-size: 0.9em;
  margin-bottom: 6px;
}

.count-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
  font-size: 11px;
}

.count-display span {
  font-weight: bold;
  color: #4CAF50;
}

.amount-summary {
  background: #f0f8ff;
  padding: 8px;
  border-radius: 4px;
  flex: 1;
}

.amount-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 11px;
}

.amount-row.total {
  font-weight: bold;
  font-size: 12px;
  border-top: 1px solid #ddd;
  padding-top: 4px;
  margin-top: 4px;
}

.wechat-parse {
  background: #fff8dc;
  padding: 15px;
  border-radius: 6px;
  margin-top: 15px;
}

.wechat-parse h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.1em;
  margin-bottom: 12px;
}

.parse-hint {
  font-size: 10px;
  color: #666;
  margin-bottom: 6px;
  font-style: italic;
}

.records-section {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.records-section h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

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

.data-table th {
  background-color: #f8f9fa;
  font-weight: 500;
  font-size: 14px;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  padding: 12px 10px;
  line-height: 1.4;
  letter-spacing: 0.3px;
  text-align: center;
  white-space: nowrap;
}

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

.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 60px;
}

.form-group textarea:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* 餐次选择卡片 */
.meal-selection {
  margin: 12px 0;
}

.meal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.meal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.meal-card:hover {
  border-color: #667eea;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.meal-card.selected {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.meal-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 0.8rem;
}

.meal-card span {
  display: block;
  font-weight: 500;
  color: #374151;
  font-size: 0.75rem;
}

.meal-checkbox {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
}

/* 人数统计区域 */
.count-section {
  margin: 16px 0;
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.count-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.count-card:hover {
  border-color: #667eea;
  transform: translateY(-1px);
}

.count-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.count-content label {
  font-weight: 500;
  color: #374151;
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.count-input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.8rem;
  text-align: center;
  font-weight: 600;
}

/* 现代化按钮 */
.action-buttons {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.btn-modern {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-modern.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

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

.btn-modern.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: #374151;
  border: 1px solid #e5e7eb;
}

.btn-modern.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #667eea;
  transform: translateY(-1px);
}

.btn-modern.btn-full {
  width: 100%;
  justify-content: center;
}

/* 响应式设计 */
@media (max-width: 1400px) {
  .modern-container {
    padding: 16px;
  }
  
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .bento-workspace {
    grid-template-columns: 1fr;
  }
  
  .workspace-sidebar {
    order: -1;
  }
  
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .stats-cards {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .form-section-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .modern-container {
    padding: 12px;
  }
  
  .hero-section {
    padding: 16px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  
  .bento-card {
    padding: 8px;
  }
  
  .modern-form-card {
    padding: 16px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .stats-cards {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .form-section-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .meal-management {
    padding: 10px;
  }
  
  .meal-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .count-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .data-table {
    font-size: 0.8rem;
  }
  
  .data-table th {
    padding: 10px 6px;
    font-size: 13px;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.2px;
  }
  
  .data-table td {
    padding: 8px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .modern-container {
    padding: 8px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  
  .bento-card {
    padding: 6px;
  }
  
  .modern-form-card {
    padding: 12px;
  }
  
  .meal-card {
    padding: 12px;
  }
  
  .count-card {
     padding: 12px;
   }
   
  .stats-cards {
    grid-template-columns: repeat(4, 1fr);
  }
 }

/* 暗黑主题样式 */
.dark-theme {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dark-theme .modern-container {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dark-theme .hero-section {
  background: rgba(30, 30, 50, 0.9);
  color: #e2e8f0;
}

.dark-theme .hero-title {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark-theme .hero-subtitle {
  color: #94a3b8;
}

.dark-theme .bento-card,
.dark-theme .modern-form-card {
  background: rgba(30, 30, 50, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.dark-theme .bento-card::before {
  background: linear-gradient(90deg, #a78bfa, #ec4899);
}

.dark-theme .card-title {
  color: #94a3b8;
}

.dark-theme .card-value {
  color: #f1f5f9;
}

.dark-theme .modern-input,
.dark-theme .modern-select,
.dark-theme .modern-textarea {
  background: rgba(30, 30, 50, 0.8);
  border-color: #374151;
  color: #e2e8f0;
}

.dark-theme .modern-input:focus,
.dark-theme .modern-select:focus,
.dark-theme .modern-textarea:focus {
  border-color: #a78bfa;
  background: rgba(30, 30, 50, 0.95);
}

.dark-theme .modern-label {
  color: #e2e8f0;
}

.dark-theme .section-label {
  color: #f1f5f9;
}

.dark-theme .meal-card,
.dark-theme .count-card {
  background: rgba(30, 30, 50, 0.8);
  border-color: #374151;
  color: #e2e8f0;
}

.dark-theme .meal-card:hover,
.dark-theme .count-card:hover {
  border-color: #a78bfa;
}

.dark-theme .meal-card.selected {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.2);
}

.dark-theme .amount-summary {
  background: rgba(30, 30, 50, 0.8);
  border-color: #374151;
  color: #e2e8f0;
}

.dark-theme .amount-row.total {
  background: rgba(167, 139, 250, 0.2);
  color: #f1f5f9;
}

.dark-theme .data-table {
  background: rgba(30, 30, 50, 0.95);
}

.dark-theme .data-table th {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
}

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

.dark-theme .data-table tr:hover {
  background: rgba(167, 139, 250, 0.1);
}

.dark-theme .parse-hint {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.3);
  color: #e2e8f0;
}

.dark-theme .filter-section {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .card-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
