/* 征地计算器完整样式 - 保持与原网页完全一致 */

:root {
  /* 颜色系统 */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  --success-50: #f0fdf4;
  --success-500: #22c55e;
  --success-600: #16a34a;

  --warning-50: #fffbeb;
  --warning-500: #f59e0b;
  --warning-600: #d97706;

  --error-50: #fef2f2;
  --error-500: #ef4444;
  --error-600: #dc2626;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* 阴影系统 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* 圆角系统 */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* 间距系统 */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  /* 字体系统 */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-900);
  min-height: 100vh;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

h1 {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-800);
  position: relative;
  padding-bottom: var(--space-md);
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  border-radius: 2px;
}

.page-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-800);
  position: relative;
  padding-bottom: var(--space-md);
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  border-radius: 2px;
}

.card {
  background: #fff;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.table-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--gray-700);
  font-size: var(--font-size-sm);
}

input, select, textarea {
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  min-height: 44px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: var(--primary-50);
}

button {
  cursor: pointer;
  border: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.2s ease;
  touch-action: manipulation;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

button:hover::before {
  left: 100%;
}

button:active {
  transform: scale(0.98);
}

/* 基础按钮样式 */
.blue {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
}

.blue:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  box-shadow: var(--shadow-md);
}

.green {
  background: linear-gradient(135deg, var(--success-500), var(--success-600));
  color: white;
}

.green:hover {
  background: linear-gradient(135deg, var(--success-600), var(--success-700));
  box-shadow: var(--shadow-md);
}

.red {
  background: linear-gradient(135deg, var(--error-500), var(--error-600));
  color: white;
}

.red:hover {
  background: linear-gradient(135deg, var(--error-600), var(--error-700));
  box-shadow: var(--shadow-md);
}

.orange {
  background: linear-gradient(135deg, var(--warning-500), var(--warning-600));
  color: white;
}

.orange:hover {
  background: linear-gradient(135deg, var(--warning-600), var(--warning-700));
  box-shadow: var(--shadow-md);
}

.gray {
  background: linear-gradient(135deg, var(--gray-500), var(--gray-600));
  color: white;
}

.gray:hover {
  background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
  box-shadow: var(--shadow-md);
}

.purple {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: white;
}

.purple:hover {
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
  box-shadow: var(--shadow-md);
}

/* 编辑删除按钮 */
.edit-btn, .delete-btn {
  color: #1f2937;
  background: none;
  border: 1px solid #d1d5db;
  font-size: 14px;
  cursor: pointer;
  margin: 0 2px;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.edit-btn:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  transform: scale(1.05);
}

.delete-btn:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
  transform: scale(1.05);
}

/* 表单布局 */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .row-2 {
    grid-template-columns: 1fr;
  }
}

.inline-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .inline-2 {
    grid-template-columns: 1fr;
  }
}

.actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 树木相关样式 */
.tree-add-form {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.tree-select {
  width: 100%;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.tree-list-modal {
  max-height: 300px;
  overflow-y: auto;
  background: #f9fafb;
  border-radius: 8px;
  padding: 1rem;
}

.tree-item-modal {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tree-detail-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.tree-detail-btn:hover {
  background: #2563eb;
}

.tree-section {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.tree-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tree-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.tree-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tree-remove-btn {
  background: #ef4444;
  color: #fff;
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}

.tree-add-btn {
  background: #10b981;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

/* 青苗相关样式 */
.crop-section {
  margin-top: 1rem;
}

.crop-mode-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.crop-mode-btn {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}

.crop-mode-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.toggle-btn {
  background: #f3f4f6;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.toggle-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* 结果显示 */
.result {
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 1rem;
  padding: 1rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
}

.detail {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
}

/* 表格样式 */
.table-container {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 800px;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  font-size: 14px;
}

th {
  background: #f3f4f6;
  font-weight: 600;
  white-space: nowrap;
}

/* 移动端表格优化 */
@media (max-width: 768px) {
  .table-card {
    display: none;
  }

  .mobile-cards {
    display: block;
  }

  .mobile-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .mobile-card-header {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
  }

  .mobile-card-row {
    display: flex;
    justify-content: space-between;
    margin: 0.25rem 0;
    font-size: 14px;
  }

  .mobile-card-label {
    color: #6b7280;
    font-weight: 500;
  }

  .mobile-card-value {
    font-weight: 600;
    color: #1f2937;
  }
}

@media (min-width: 769px) {
  .mobile-cards {
    display: none;
  }
}

/* 模态框样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1.2rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
}

.modal-close:hover {
  color: #374151;
}

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section h4 {
  margin: 0 0 1rem 0;
  color: #1f2937;
  font-size: 1.1rem;
}

/* 现代化按钮样式 */
.btn-modern {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-modern.btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-modern.btn-success:hover {
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.btn-modern.btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-modern.btn-warning:hover {
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.btn-modern.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-modern.btn-danger:hover {
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.btn-modern.btn-secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-modern.btn-secondary:hover {
  box-shadow: 0 6px 16px rgba(107, 114, 128, 0.4);
}

.btn-modern.btn-large {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

/* 表格操作按钮组 */
.table-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0;
}

.table-actions .btn-modern {
  min-width: 120px;
  justify-content: center;
}

/* 配置管理样式 */
.config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 1.5rem 0;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.config-title h3 {
  margin: 0 0 0.25rem 0;
  color: #1f2937;
  font-size: 1.5rem;
}

.config-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

/* 标签页样式 */
.config-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0;
}

.tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  border-bottom: 2px solid #e5e7eb;
  border-radius: 8px 8px 0 0;
  background: #f9fafb;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-size: 0.9rem;
}

.tab-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.tab-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  border-bottom-color: #2563eb;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* 配置区域样式 */
.config-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.config-section-header h4 {
  margin: 0;
  color: #1f2937;
  font-size: 1.2rem;
}

.config-section-header p {
  margin: 0;
  color: #6b7280;
  font-size: 0.85rem;
}

/* 树木配置网格 */
.config-grid-container {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.tree-category-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.tree-category-section:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.tree-category-section h5 {
  margin: 0 0 1.5rem 0;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tree-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

/* 树木类型卡片 */
.tree-type-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tree-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.tree-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #10b981;
}

.tree-type-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tree-type-name {
  margin: 0;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
}

.tree-type-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-small {
  padding: 0.375rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-edit {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.btn-edit:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: scale(1.05);
}

.btn-delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.btn-delete:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: scale(1.05);
}

.tree-type-content {
  space-y: 0.75rem;
}

.tree-type-price-info {
  margin-bottom: 1rem;
}

.price-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  border: 1px solid #e5e7eb;
}

.price-range:last-child {
  margin-bottom: 0;
}

.range-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.range-price {
  font-weight: 700;
  color: #059669;
  font-size: 0.95rem;
}

.price-fixed {
  text-align: center;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}

.fixed-price {
  font-weight: 700;
  color: #059669;
  font-size: 1.1rem;
}

.tree-type-unit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f1f5f9;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.unit-label {
  font-weight: 600;
  color: #64748b;
  font-size: 0.85rem;
}

.unit-value {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.9rem;
}

/* 土地配置样式 */
.land-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.land-type-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.land-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #d97706, #b45309);
}

.land-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #f59e0b;
}

.land-type-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.land-type-name {
  margin: 0;
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
}

.land-type-actions {
  display: flex;
  gap: 0.5rem;
}

.land-type-content {
  space-y: 1rem;
}

.land-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #fef3c7;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #fbbf24;
  transition: all 0.2s ease;
}

.land-price-row:last-child {
  margin-bottom: 0;
  background: #dbeafe;
  border-color: #60a5fa;
}

.land-price-row:hover {
  transform: translateX(4px);
}

.price-type {
  font-weight: 600;
  color: #92400e;
  font-size: 0.95rem;
}

.land-price-row:last-child .price-type {
  color: #1e40af;
}

.price-amount {
  font-weight: 700;
  color: #b45309;
  font-size: 1.1rem;
}

.land-price-row:last-child .price-amount {
  color: #1e40af;
}

.no-config {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  padding: 2rem;
  margin: 0;
}

/* 树木类型卡片 */
.tree-config-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.2s;
}

.tree-config-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.tree-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.tree-card-title {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}

.tree-card-actions {
  display: flex;
  gap: 0.25rem;
}

.tree-card-actions button {
  padding: 0.25rem 0.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.edit-tree-btn {
  background: #2563eb;
  color: #fff;
}

.edit-tree-btn:hover {
  background: #1d4ed8;
}

.delete-tree-btn {
  background: #dc2626;
  color: #fff;
}

.delete-tree-btn:hover {
  background: #b91c1c;
}

.tree-ranges {
  margin-top: 0.75rem;
}

.range-item {
  display: grid;
  grid-template-columns: 2fr 1fr 60px;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.range-label {
  font-size: 0.85rem;
  color: #374151;
}

.range-price input {
  width: 100%;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.85rem;
}

.range-actions button {
  padding: 0.25rem 0.5rem;
  border: none;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
}

.range-actions button:hover {
  background: #dc2626;
}

/* 土地配置样式 */
.land-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* 配置卡片样式 */
.config-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.config-card h5 {
  margin: 0 0 1rem 0;
  color: #1f2937;
  font-size: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.config-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.config-item:last-child {
  margin-bottom: 0;
}

.config-item label {
  color: #374151;
  font-weight: 500;
  font-size: 0.9rem;
}

.config-item .config-input {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
}

.config-unit {
  color: #6b7280;
  font-size: 0.85rem;
}

.config-hint {
  color: #6b7280;
  font-size: 0.75rem;
  font-style: italic;
}

/* 操作区域样式 */
.config-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.action-group h6 {
  margin: 0 0 0.75rem 0;
  color: #1f2937;
  font-size: 0.9rem;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

/* 文件列表样式 */
.file-list {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.5rem;
}

.file-item {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.2s;
}

.file-item:hover {
  border-color: #2563eb;
  background: #f0f9ff;
}

.file-item.selected {
  border-color: #2563eb;
  background: #dbeafe;
}

.file-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.file-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.no-files {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  padding: 2rem;
  margin: 0;
}

/* 底部操作区域 */
.config-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 2px solid #e5e7eb;
  margin-top: 1.5rem;
}

/* 数据录入助手样式 */
.data-assistant-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.data-assistant-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 2rem;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.data-assistant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.data-assistant-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-assistant-header h3::before {
  content: '📊';
  font-size: 1.8rem;
}

.data-assistant-close {
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-assistant-close:hover {
  background: #e2e8f0;
  color: #475569;
  transform: scale(1.1);
}

.data-type-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: #f8fafc;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.data-type-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.data-type-btn.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.data-type-btn:hover:not(.active) {
  background: #e2e8f0;
  color: #475569;
}

.data-type-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.data-type-info p {
  margin: 0.5rem 0;
  color: #475569;
}

.data-type-info strong {
  color: #1e293b;
  font-weight: 600;
}

.data-input-section textarea {
  width: 100%;
  min-height: 120px;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.data-input-section textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.data-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.data-actions button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-actions .blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.data-actions .blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.data-actions .gray {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.data-actions .gray:hover {
  background: #e2e8f0;
  color: #475569;
}

/* 导出选择样式 */
.export-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.export-option:hover {
  border-color: #2563eb;
  background: #f0f9ff;
}

.export-option.selected {
  border-color: #2563eb;
  background: #dbeafe;
}

.export-option input[type="radio"] {
  margin-right: 1rem;
  transform: scale(1.2);
}

.export-info {
  flex: 1;
}

.export-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.export-desc {
  color: #6b7280;
  font-size: 14px;
}

.export-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.export-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.export-confirm {
  background: #2563eb;
  color: #fff;
}

.export-confirm:hover {
  background: #1d4ed8;
}

.export-cancel {
  background: #6b7280;
  color: #fff;
}

.export-cancel:hover {
  background: #4b5563;
}

/* 响应式设计 */
@media (max-width: 768px) {
  body {
    padding: 0.25rem;
    font-size: 16px;
    background: #f8fafc;
  }

  .card {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }

  h1 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }

  .actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .actions button {
    width: 100%;
    padding: 0.75rem;
    font-size: 16px;
  }

  .table-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .table-actions .btn-modern {
    width: 100%;
  }

  .config-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .config-tabs {
    flex-direction: column;
    gap: 0.25rem;
  }

  .tab-btn {
    border-radius: 6px;
    border-bottom: 1px solid #e5e7eb;
  }

  .tree-type-grid {
    grid-template-columns: 1fr;
  }

  .land-type-grid {
    grid-template-columns: 1fr;
  }

  .config-actions {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    grid-template-columns: 1fr;
  }

  .config-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .config-footer {
    flex-direction: column;
  }

  .range-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .data-assistant-content {
    padding: 1rem;
  }

  .data-assistant-header {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .data-assistant-header h3 {
    font-size: 16px;
  }

  .data-assistant-body {
    padding: 0.5rem;
  }

  .table-container {
    margin-top: 0.5rem;
  }

  table {
    font-size: 12px;
  }

  th, td {
    padding: 0.5rem 0.25rem;
  }

  /* 道路行特殊处理 - 保持两列布局 */
  .road-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .road-row label {
    margin-bottom: 0.25rem;
    font-size: 13px;
  }

  .road-row input {
    padding: 0.4rem;
    font-size: 14px;
  }

  /* 青苗特殊情况紧凑布局 */
  .crop-custom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .crop-custom-row label {
    margin-bottom: 0.25rem;
    font-size: 13px;
  }

  .crop-custom-row input {
    padding: 0.4rem;
    font-size: 14px;
  }

  /* 输入框优化 */
  label {
    margin-bottom: 0.25rem;
    font-size: 14px;
  }

  input, select {
    padding: 0.5rem;
    font-size: 16px;
    margin-bottom: 0.5rem;
  }

  /* 按钮组优化 */
  .btn-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .btn-group button {
    flex: 1;
    padding: 0.5rem;
    font-size: 14px;
  }

  /* 卡片优化 */
  .mobile-card {
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
  }

  .mobile-card-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .mobile-card-row {
    font-size: 14px;
    margin-bottom: 0.25rem;
  }

  /* 树木项目优化 */
  .tree-item {
    padding: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .tree-item-header {
    font-size: 14px;
    margin-bottom: 0.25rem;
  }

  /* 树木区域优化 */
  .tree-section {
    padding: 0.75rem;
    margin-top: 0.75rem;
  }

  .tree-header {
    margin-bottom: 0.75rem;
  }

  .tree-header h4 {
    font-size: 16px;
    margin: 0;
  }

  .tree-add-btn {
    padding: 0.5rem 1rem;
    font-size: 13px;
  }

  /* 青苗区域优化 */
  .crop-section {
    margin-top: 0.75rem;
  }

  .crop-section h4 {
    font-size: 16px;
    margin-bottom: 0.75rem;
  }

  .crop-mode-buttons {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .crop-mode-btn {
    padding: 0.5rem;
    font-size: 13px;
  }

  .crop-mode-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  /* 模态框优化 */
  .data-assistant-content {
    padding: 1rem;
  }

  .data-assistant-header {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .data-assistant-header h3 {
    font-size: 16px;
  }

  .data-assistant-body {
    padding: 0.5rem;
  }

  /* 触摸优化 */
  button {
    min-height: 44px;
    min-width: 44px;
  }

  input, select {
    min-height: 44px;
  }

  .btn-modern {
    transform: translateZ(0);
    will-change: transform;
  }

  .btn-modern:active {
    transform: scale(0.95);
  }

  /* 减少点击延迟 */
  a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
  }

  /* 滚动优化 */
  .modal-content {
    -webkit-overflow-scrolling: touch;
  }

  .table-container {
    -webkit-overflow-scrolling: touch;
  }
}

/* 价格区间编辑对话框样式 */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

.range-header h4 {
  margin: 0;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
}

.price-ranges-list {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  background: #f9fafb;
}

.price-range-item {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.price-range-item:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.price-range-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 12px 12px 0 0;
}

.price-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.price-range-title {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}

.price-range-actions {
  display: flex;
  gap: 0.5rem;
}

.price-range-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.range-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.range-input-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
}

.range-input-group input {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.range-input-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.range-remove-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
}

.range-remove-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: scale(1.05);
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 2px solid #e5e7eb;
  margin-top: 1.5rem;
}

.btn-small {
  padding: 0.375rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-primary.btn-small {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-primary.btn-small:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: scale(1.05);
}

.btn-small.btn-delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-small.btn-delete:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: scale(1.05);
}

/* 移动端优化 */
@media (max-width: 768px) {
  .price-range-content {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .range-input-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .range-input-group label {
    min-width: 60px;
    margin: 0;
  }

  .range-input-group input {
    flex: 1;
  }

  .range-remove-btn {
    align-self: flex-end;
    margin-top: 0.5rem;
  }

  .modal-footer {
    flex-direction: column;
    gap: 0.75rem;
  }

  .modal-footer .btn-modern {
    width: 100%;
  }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
  body {
    padding: 0.125rem;
  }

  .card {
    padding: 0.5rem;
  }

  h1 {
    font-size: 1.1rem;
  }

  .btn-modern {
    font-size: 11px;
    min-width: 70px;
    padding: 0.25rem;
  }

  input, select {
    font-size: 14px;
  }

  .mobile-card-row {
    font-size: 12px;
  }
}

/* 配置状态指示器样式 */
.config-status {
  display: none;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.config-status::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.config-status.show::before {
  left: 100%;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.status-icon {
  font-size: 1.2rem;
  animation: pulse 1.5s infinite;
}

.status-text {
  font-weight: 600;
  letter-spacing: 0.025em;
}

/* 配置状态变体 */
.config-status.saving {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #3b82f6;
  color: #1d4ed8;
}

.config-status.saving .status-icon {
  animation: spin 1s linear infinite;
}

.config-status.success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-color: #22c55e;
  color: #15803d;
}

.config-status.success .status-icon {
  animation: bounce 0.6s ease-in-out;
}

.config-status.error {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border-color: #ef4444;
  color: #dc2626;
}

.config-status.error .status-icon {
  animation: shake 0.5s ease-in-out;
}

/* 配置底部操作区域增强 */
.config-actions-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.config-actions-footer .btn-modern {
  min-width: 140px;
  font-weight: 600;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.config-actions-footer .btn-modern.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  animation: glow-success 2s ease-in-out infinite alternate;
}

.config-actions-footer .btn-modern.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.config-actions-footer .btn-modern.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.config-actions-footer .btn-modern.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.config-actions-footer .btn-modern.btn-secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.config-actions-footer .btn-modern.btn-secondary:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  box-shadow: 0 6px 16px rgba(107, 114, 128, 0.4);
  transform: translateY(-2px);
}

/* 动画效果 */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-8px);
  }
  70% {
    transform: translateY(-4px);
  }
  90% {
    transform: translateY(-2px);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-2px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(2px);
  }
}

@keyframes glow-success {
  0% {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  }
  100% {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .config-status {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .status-indicator {
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .status-icon {
    font-size: 1rem;
  }

  .config-actions-footer {
    flex-direction: column;
    gap: 0.75rem;
  }

  .config-actions-footer .btn-modern {
    width: 100%;
    min-width: auto;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .config-status {
    border-width: 3px;
  }

  .status-text {
    font-weight: 700;
  }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
  .config-status::before,
  .status-icon,
  .config-actions-footer .btn-modern {
    animation: none;
  }

  .config-actions-footer .btn-modern:hover {
    transform: none;
  }
}

/* 页面头部样式 - 重新设计 */
.page-header {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(59, 130, 246, 0.6) 100%);
  color: white;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

/* 背景图片层 */
.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/land-calculator/images/横版背景.jpg') center center/cover no-repeat;
  opacity: 0.8;
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  position: relative;
  z-index: 3;
  gap: 1.5rem;
}

/* Logo区域 - 增大并占上部 */
.logo-section {
  flex-shrink: 0;
}

.company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

/* 增大的图片Logo样式 */
.logo-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

.logo-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 后备CSS Logo样式（当图片无法加载时显示） */
.logo-text {
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo-main {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3a8a;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.logo-chinese {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #3730a3;
  letter-spacing: 0.5px;
}

/* 标题区域 - 使用背景图片 */
.title-section {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.title-background {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(59, 130, 246, 0.3) 100%);
  border-radius: 16px;
  padding: 1.5rem 3rem;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.title-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669, #047857, #10b981);
  background-size: 200% 100%;
  animation: gradient-move 3s ease-in-out infinite;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.main-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.75rem 0;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.sub-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #dbeafe;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.version-info {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 2;
}

/* 响应式设计 - 平板设备 */
@media (max-width: 768px) {
  .page-header {
    min-height: 180px;
  }

  .header-content {
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .logo-circle {
    width: 90px;
    height: 90px;
  }

  .logo-image {
    width: 75px;
    height: 75px;
  }

  .logo-main {
    font-size: 1rem;
  }

  .logo-chinese {
    font-size: 0.85rem;
  }

  .title-background {
    padding: 1rem 2rem;
  }

  .main-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .sub-title {
    font-size: 1.2rem;
  }

  .version-info {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}

/* 响应式设计 - 手机设备 */
@media (max-width: 480px) {
  .page-header {
    min-height: 160px;
  }

  .header-content {
    padding: 0.5rem 0.75rem;
    gap: 0.75rem;
  }

  .logo-circle {
    width: 75px;
    height: 75px;
  }

  .logo-image {
    width: 60px;
    height: 60px;
  }

  .logo-main {
    font-size: 0.85rem;
  }

  .logo-chinese {
    font-size: 0.7rem;
  }

  .title-background {
    padding: 0.75rem 1.5rem;
  }

  .main-title {
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
  }

  .sub-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .version-info {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .page-header {
    background: #000000;
  }

  .logo-circle {
    border-width: 4px;
    border-color: #ffffff;
  }

  .main-title {
    -webkit-text-fill-color: #ffffff;
    background: none;
  }

  .version-info {
    border-width: 2px;
    background: #000000;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  }

  .logo-circle {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  }

  .main-title {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* 动画减少模式 */
@media (prefers-reduced-motion: reduce) {
  .page-header::before,
  .logo-circle::before {
    animation: none;
  }

  .logo-circle {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}