.loading-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--accent-main);
  font-family: 'Courier New', monospace;
}

#val-potential, #val-demand {
  font-family: 'Share Tech Mono', monospace;
  text-shadow: 0 0 8px rgba(0, 250, 172, 0.6);
}

/* --- Welcome Card Styling --- */
.welcome-card {
  background: linear-gradient(135deg, #25282c 0%, #1a1c20 100%);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #333;
  margin-bottom: 40px; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.welcome-card h2 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin: 0;
}

.refresh-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--accent-main);
  color: var(--accent-main);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.refresh-btn i {
  font-size: 0.9rem;
}

.refresh-btn:hover {
  background: rgba(0, 250, 172, 0.1);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(0, 250, 172, 0.2);
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.unit-price-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid #444;
  color: var(--accent-main);
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 10px;
  border-radius: 8px;
  appearance: none;
  cursor: pointer;
  transition: var(--transition);
  text-shadow: 0 0 8px rgba(0, 250, 172, 0.6);
}

.unit-price-select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(0, 209, 255, 0.2);
}

.select-wrapper::after {
  content: '\f0d7';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-main);
  pointer-events: none;
}

.unit-price-select option {
  background-color: var(--card-bg);
  color: var(--text-main);
  font-size: 1.2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.results-wide-card {
  grid-column: span 2;
  min-height: 200px;
  background-color: #171b1f;
  border-left: 5px solid #007bff;
}

#sales-results-display table {
  width: 100%;
  font-size: 0.9rem;
}

/* 1. 売上予測結果（サマリー部分）の背景調整 */
.result-summary {
  background-color: #221e1e;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #463f3f;
  margin-top: 10px;
}

.result-summary .label {
  color: #b9b3b3 !important;
}

/* 2. 町丁目別リスト（テーブル）の背景とスタイル調整 */
.dashboard-table {
  background-color: #332c2c;
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-table thead tr {
  background-color: #2b2f33 !important;
  color: #cdd1d4;
}

.dashboard-table tbody tr {
  background-color: #2b2525;
}

.dashboard-table tbody tr:nth-child(even) {
  background-color: #241f1f; 
}

.dashboard-table tbody tr:hover {
  background-color: #292c30;
}