html, body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
}
#app { display:flex; height:100%; }
#leftPane { position: relative; width: 68%; min-width: 520px; background: #0b0f14; }
#rightPane { flex:1; background: #12161a; border-left: 1px solid #263238; }

#toolbar { position: absolute; top: 0; left: 0; right: 0; height: 44px; display:flex; gap:12px; align-items:center; padding:6px 10px; background: rgba(20,24,28,0.95); color:#cfd8dc; z-index:1000; }
#toolbar .group { display:flex; align-items:center; gap:6px; }
#toolbar .spacer { flex:1; }
#map { position: absolute; top: 44px; bottom: 0; left: 0; right: 0; }
.bus-marker { width:10px; height:10px; border-radius:50%; background:#00e676; border:2px solid #263238; }
.line-main { color:#00e5ff; }
.line-branch { color:#ff1744; }

/* 漢堡選單 */
#menuBtn { position: absolute; top: 6px; left: 10px; width: 32px; height: 32px; border-radius: 6px; background:#263238; color:#eceff1; border:1px solid #455a64; z-index: 1001; cursor: pointer; }
.menu { position: absolute; top: 44px; left: 10px; min-width: 180px; background: rgba(20,24,28,0.98); color:#cfd8dc; border:1px solid #455a64; border-radius: 8px; z-index: 1001; }
.menu.hidden { display:none; }
.menu a { display:block; padding:10px 12px; color:#cfd8dc; text-decoration:none; border-bottom:1px solid #37474f; }
.menu a:hover { background:#1e272e; }

/* 登入頁面樣式 */
#loginContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

#loginContainer > div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#loginForm input[type="text"],
#loginForm input[type="password"] {
  transition: border-color 0.3s ease;
}

#loginForm input[type="text"]:focus,
#loginForm input[type="password"]:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

#loginForm button:hover {
  background: #45a049;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

#loginError {
  animation: fadeIn 0.3s ease;
}

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

/* 登出按鈕樣式 */
#logoutBtn:hover {
  background: #d32f2f !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

/* Layers panel */
.layers-panel { 
  margin-top: 6px; 
  background: #0f1419; 
  border: 1px solid #1f2a33; 
  border-radius: 10px; 
  overflow: hidden;
}
.layers-header { 
  padding: 10px 12px; 
  font-size: 12px; 
  color: #90a4ae; 
  letter-spacing: .5px; 
  border-bottom: 1px solid #1f2a33; 
  background: linear-gradient(180deg, #11161c 0%, #0e1318 100%);
}
.layer-item { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 10px 12px; 
  gap: 8px; 
}
.layer-item + .layer-item { border-top: 1px solid #1f2a33; }
.layer-info { display: flex; align-items: center; gap: 10px; }
.layer-icon { width: 28px; height: 28px; border-radius: 6px; background: #263238; border:1px solid #37474f; position: relative; box-shadow: inset 0 2px 4px rgba(0,0,0,.35); }
.layer-icon.gauge::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle at 55% 55%, #ff9800 0%, #ff9800 55%, #bdbdbd 56%, #bdbdbd 100%); mask: radial-gradient(circle at 50% 50%, transparent 55%, black 56%); }
.layer-icon.gauge::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: #263238; transform-origin: left center; transform: translate(0,-50%) rotate(-35deg); border-radius: 2px; }
.layer-text { display: flex; flex-direction: column; }
.layer-title { font-size: 13px; color: #eceff1; font-weight: 600; }
.layer-sub { font-size: 11px; color: #90a4ae; }
.layer-actions { display: flex; align-items: center; gap: 8px; }

/* Toggle switch */
.toggle-switch { position: relative; width: 38px; height: 20px; display:inline-block; }
.toggle-switch input { display:none; }
.slider { position: absolute; cursor: pointer; inset:0; background: #37474f; border-radius: 20px; transition: .2s; }
.slider:before { content:''; position:absolute; height:16px; width:16px; left:2px; top:2px; background:white; border-radius:50%; transition:.2s; }
.toggle-switch input:checked + .slider { background: #4CAF50; }
.toggle-switch input:checked + .slider:before { transform: translateX(18px); }

/* Icon buttons */
.btn-icon { width: 28px; height: 28px; border-radius: 6px; border: 1px solid #37474f; background: #1b242d; color: #cfd8dc; cursor: pointer; display:flex; align-items:center; justify-content:center; font-weight:700; }
.btn-icon:hover { background:#22303a; }
.btn-icon.primary { background:#2e7d32; border-color:#2e7d32; color:#fff; }
.btn-icon.primary:hover { background:#31883a; }

/* ===== Layout & overflow fixes to remove bottom whitespace ===== */
body { background: #0b0f14; overflow: hidden; }
#app { height: 100vh; }
#leftPane, #rightPane { height: 100%; }
#rightPane { overflow-y: auto; overscroll-behavior: contain; }
#leftPane { overflow: hidden; }

/* Subtle scrollbar styling for right pane */
#rightPane::-webkit-scrollbar { width: 10px; }
#rightPane::-webkit-scrollbar-track { background: #0f1419; }
#rightPane::-webkit-scrollbar-thumb { background: #2a3440; border-radius: 6px; border: 2px solid #0f1419; }
#rightPane::-webkit-scrollbar-thumb:hover { background: #364250; }

.metric-card {
  background: #12161a;
  border: 1px solid #1f2a33;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s, transform .2s;
}
.metric-card:hover {
  border-color: #2e7d32;
  transform: translateY(-2px);
}
.metric-card .label {
  font-size: 12px;
  color: #90a4ae;
  letter-spacing: .3px;
}
.metric-card .value {
  font-size: 20px;
  font-weight: 600;
  color: #eceff1;
}
.metric-card .sub {
  font-size: 11px;
  color: #607d8b;
}
#opendssNotification {
  border: 1px solid transparent;
}
#opendssNotification.info {
  background: rgba(76, 175, 80, 0.12);
  border-color: rgba(76, 175, 80, 0.35);
  color: #a5d6a7;
}
#opendssNotification.warn {
  background: rgba(255, 152, 0, 0.14);
  border-color: rgba(255, 152, 0, 0.35);
  color: #ffcc80;
}
#opendssNotification.error {
  background: rgba(244, 67, 54, 0.12);
  border-color: rgba(244, 67, 54, 0.35);
  color: #ef9a9a;
}

/* 饋線管理對話框樣式 */
.feeder-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1e272e;
  border: 1px solid #455a64;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  display: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 對話框移到右側待命狀態 */
.feeder-dialog.sidebar-mode {
  top: 50%;
  left: auto;
  right: 20px;
  transform: translateY(-50%);
  max-width: 380px;
  width: 380px;
  max-height: 85vh;
  opacity: 0.95;
  animation: gentle-pulse 3s ease-in-out infinite;
  pointer-events: auto;  /* 確保對話框本身可以點擊 */
}

/* 側邊欄模式下，overlay變淡以便看到地圖 */
.feeder-dialog-overlay.sidebar-active {
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.4s ease;
  pointer-events: none;  /* 關鍵：允許點擊穿透，這樣可以點擊地圖 */
}

/* 側邊欄模式下的微妙脈動效果 */
@keyframes gentle-pulse {
  0%, 100% {
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(0, 229, 255, 0);
  }
  50% {
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3), 0 0 20px 2px rgba(0, 229, 255, 0.3);
  }
}

.feeder-dialog.active {
  display: block;
}

.feeder-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  transition: background 0.4s ease;
}

.feeder-dialog-overlay.active {
  display: block;
}

.feeder-dialog-header {
  padding: 16px 20px;
  border-bottom: 1px solid #37474f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, #263238 0%, #1e272e 100%);
  border-radius: 12px 12px 0 0;
}

.feeder-dialog-title {
  font-size: 18px;
  font-weight: 600;
  color: #eceff1;
}

.feeder-dialog-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: #37474f;
  color: #eceff1;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.feeder-dialog-close:hover {
  background: #455a64;
}

.feeder-dialog-body {
  padding: 20px;
}

.feeder-form-group {
  margin-bottom: 16px;
}

.feeder-form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #cfd8dc;
  font-weight: 500;
}

.feeder-form-input {
  width: 100%;
  padding: 10px 12px;
  background: #0e1318;
  border: 1px solid #37474f;
  border-radius: 6px;
  color: #eceff1;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.feeder-form-input:focus {
  outline: none;
  border-color: #00e5ff;
}

.feeder-form-textarea {
  width: 100%;
  padding: 10px 12px;
  background: #0e1318;
  border: 1px solid #37474f;
  border-radius: 6px;
  color: #eceff1;
  font-size: 14px;
  font-family: inherit;
  min-height: 60px;
  resize: vertical;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.feeder-form-textarea:focus {
  outline: none;
  border-color: #00e5ff;
}

.feeder-form-select {
  width: 100%;
  padding: 10px 12px;
  background: #0e1318;
  border: 1px solid #37474f;
  border-radius: 6px;
  color: #eceff1;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
}

.feeder-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.feeder-form-checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.feeder-form-checkbox label {
  font-size: 14px;
  color: #cfd8dc;
  cursor: pointer;
}

.feeder-waypoints-list {
  background: #0e1318;
  border: 1px solid #37474f;
  border-radius: 6px;
  padding: 12px;
  min-height: 100px;
  max-height: 200px;
  overflow-y: auto;
}

.feeder-waypoint-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #1e272e;
  border-radius: 4px;
  margin-bottom: 6px;
  border-left: 3px solid #00e5ff;
}

.feeder-waypoint-item:last-child {
  margin-bottom: 0;
}

.feeder-waypoint-info {
  flex: 1;
}

.feeder-waypoint-bus {
  font-size: 13px;
  font-weight: 600;
  color: #eceff1;
  margin-bottom: 2px;
}

.feeder-waypoint-coords {
  font-size: 11px;
  color: #90a4ae;
}

.feeder-waypoint-remove {
  padding: 4px 8px;
  background: #37474f;
  border: none;
  border-radius: 4px;
  color: #ef9a9a;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}

.feeder-waypoint-remove:hover {
  background: #d32f2f;
  color: #fff;
}

.feeder-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #37474f;
  margin-top: 20px;
}

.feeder-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.feeder-btn-primary {
  background: #00e5ff;
  color: #0e1318;
}

.feeder-btn-primary:hover {
  background: #00b8d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.feeder-btn-primary:disabled {
  background: #37474f;
  color: #607d8b;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.feeder-btn-secondary {
  background: #37474f;
  color: #cfd8dc;
}

.feeder-btn-secondary:hover {
  background: #455a64;
}

.feeder-btn-danger {
  background: #d32f2f;
  color: #fff;
}

.feeder-btn-danger:hover {
  background: #b71c1c;
}

.feeder-list {
  max-height: 400px;
  overflow-y: auto;
}

.feeder-list-item {
  padding: 12px;
  background: #0e1318;
  border: 1px solid #37474f;
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.feeder-list-item:hover {
  background: #1e272e;
  border-color: #00e5ff;
  transform: translateX(4px);
}

.feeder-list-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.feeder-list-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #eceff1;
}

.feeder-list-item-id {
  font-size: 11px;
  color: #607d8b;
}

.feeder-list-item-info {
  font-size: 12px;
  color: #90a4ae;
  margin-bottom: 8px;
}

.feeder-list-item-actions {
  display: flex;
  gap: 6px;
}

.feeder-list-item-btn {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.feeder-list-item-btn.edit {
  background: #455a64;
  color: #eceff1;
}

.feeder-list-item-btn.edit:hover {
  background: #607d8b;
}

.feeder-list-item-btn.delete {
  background: #b71c1c;
  color: #fff;
}

.feeder-list-item-btn.delete:hover {
  background: #d32f2f;
}

.feeder-status-msg {
  padding: 12px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 6px;
  color: #00e5ff;
  font-size: 13px;
  margin-bottom: 12px;
}

.feeder-error-msg {
  padding: 12px;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  border-radius: 6px;
  color: #ef9a9a;
  font-size: 13px;
  margin-bottom: 12px;
}

/* ====================
   充電站樣式
   ==================== */

/* 充電站圖標容器 */
.charging-station-icon {
  border: none !important;
  background: transparent !important;
}

/* 充電站標記樣式 */
.charging-station-marker {
  filter: none;
  transition: filter 0.3s ease;
}

/* 停用的充電站（紅色） */
.charging-station-marker.station-disabled {
  filter: hue-rotate(-60deg) saturate(2) brightness(0.9);
}

/* 一般充電站（藍色調） */
.charging-station-marker.station-normal {
  filter: hue-rotate(180deg) saturate(1.5);
}

/* 快充站（橘紅色調） */
.charging-station-marker.station-fast {
  filter: hue-rotate(-20deg) saturate(1.5) brightness(1.1);
}

/* 充電站 Popup 樣式 */
.leaflet-popup-content .charging-station-popup {
  min-width: 300px;
}

/* 充電站連接線樣式 */
.charging-connection-line {
  stroke: #2196f3;
  stroke-width: 2;
  stroke-dasharray: 5, 10;
  opacity: 0.7;
  animation: dashAnimation 20s linear infinite;
}

@keyframes dashAnimation {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -15;
  }
}

/* 充電站統計面板 */
#chargingStationStats {
  background: linear-gradient(135deg, #12161a 0%, #1a1f24 100%);
  border: 1px solid #2a3540;
  animation: fadeIn 0.3s ease-in;
}

#chargingStationStats > div:first-child {
  border-bottom: 1px solid #2a3540;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

/* 充電站圖層控制按鈕 */
#btnRefreshChargingStations {
  background: #263238;
  border: 1px solid #37474f;
  color: #90a4ae;
  transition: all 0.2s ease;
}

#btnRefreshChargingStations:hover {
  background: #2e3b42;
  color: #cfd8dc;
  transform: rotate(180deg);
}

/* 充電站詳細資訊對話框 */
.charging-station-details-dialog {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    transform: translate(-50%, -45%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 充電站選擇對話框 */
.feeder-selection-item {
  padding: 8px;
  margin: 5px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.feeder-selection-item:hover {
  background: #e3f2fd;
  border-color: #2196f3;
  transform: translateX(2px);
}

/* 充電站狀態標籤 */
.charging-status-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.charging-status-operational {
  background: #4caf50;
  color: white;
}

.charging-status-offline {
  background: #f44336;
  color: white;
}

.charging-status-unknown {
  background: #9e9e9e;
  color: white;
}

/* 快充標示 */
.fast-charging-indicator {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 5px;
  background: #ff5722;
  color: white;
  border-radius: 3px;
  font-size: 10px;
}

.fast-charging-indicator::before {
  content: '⚡';
  font-size: 12px;
}

/* ====================
   2D Map Light Theme
   ==================== */
.map-theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #37474f;
  background: #1b242d;
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.map-theme-toggle:hover {
  background: #263442;
  transform: translateY(-1px);
}

body.light-theme #rightPane {
  background: #f8fafc;
  border-left-color: #cbd5e1;
  color: #1e293b;
}

body.light-theme .map-theme-toggle {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
}

body.light-theme .map-theme-toggle:hover {
  background: #f1f5f9;
}

body.light-theme #rightPane h3,
body.light-theme #rightPane h4 {
  color: #0f172a !important;
}

body.light-theme #rightPane hr {
  border-top-color: #cbd5e1 !important;
}

body.light-theme #totalPowerValue,
body.light-theme #selectedMeta,
body.light-theme #userInfo,
body.light-theme #lastUpdateTime,
body.light-theme #totalMsg,
body.light-theme #dpIconSizeValue {
  color: #334155 !important;
}

body.light-theme #rightPane [style*="color:#90a4ae"],
body.light-theme #rightPane [style*="color: #90a4ae"],
body.light-theme #rightPane [style*="color:#78909c"],
body.light-theme #rightPane [style*="color: #78909c"],
body.light-theme #rightPane [style*="color:#607d8b"],
body.light-theme #rightPane [style*="color: #607d8b"] {
  color: #64748b !important;
}

body.light-theme #rightPane [style*="color:#546e7a"],
body.light-theme #rightPane [style*="color: #546e7a"],
body.light-theme #rightPane [style*="color:#cfd8dc"],
body.light-theme #rightPane [style*="color: #cfd8dc"] {
  color: #475569 !important;
}

body.light-theme #rightPane [style*="color:#263238"],
body.light-theme #rightPane [style*="color: #263238"] {
  color: #0f172a !important;
}

body.light-theme .layers-panel,
body.light-theme #simControls,
body.light-theme #chargingStationStats {
  background: #ffffff !important;
  border-color: #d6e2ee !important;
  color: #1e293b !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.light-theme .layers-header {
  background: linear-gradient(180deg, #eef6ff 0%, #e6f2fb 100%);
  border-bottom-color: #d6e2ee;
  color: #475569;
}

body.light-theme .layer-item,
body.light-theme .layer-item[style] {
  border-top-color: #e2e8f0 !important;
}

body.light-theme .layer-title,
body.light-theme .feeder-waypoint-bus,
body.light-theme .feeder-list-item-name {
  color: #0f172a;
}

body.light-theme .layer-sub,
body.light-theme .feeder-waypoint-coords,
body.light-theme .feeder-list-item-id,
body.light-theme .feeder-list-item-info {
  color: #64748b;
}

body.light-theme .btn-icon {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
}

body.light-theme .btn-icon:hover {
  background: #eef6ff;
}

body.light-theme .btn-icon.primary {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #ffffff;
}

body.light-theme .slider {
  background: #cbd5e1;
}

body.light-theme .toggle-switch input:checked + .slider {
  background: #22c55e;
}

body.light-theme #rightPane::-webkit-scrollbar-track {
  background: #eef3f7;
}

body.light-theme #rightPane::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-color: #eef3f7;
}

body.light-theme #rightPane canvas {
  background: #ffffff !important;
  border-color: #d6e2ee !important;
}

body.light-theme .metric-card,
body.light-theme .feeder-dialog,
body.light-theme .feeder-list-item,
body.light-theme .feeder-waypoints-list,
body.light-theme .feeder-waypoint-item {
  background: #ffffff;
  border-color: #d6e2ee;
  color: #1e293b;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.light-theme .feeder-dialog-header {
  background: linear-gradient(180deg, #eef6ff 0%, #e6f2fb 100%);
  border-bottom-color: #d6e2ee;
}

body.light-theme .feeder-dialog-title,
body.light-theme .feeder-form-label,
body.light-theme .feeder-form-checkbox label {
  color: #1e293b;
}

body.light-theme .feeder-dialog-close,
body.light-theme .feeder-btn-secondary,
body.light-theme .feeder-waypoint-remove,
body.light-theme .feeder-list-item-btn.edit {
  background: #e2e8f0;
  color: #334155;
}

body.light-theme .feeder-form-input,
body.light-theme .feeder-form-textarea,
body.light-theme .feeder-form-select,
body.light-theme .feeder-form-input[style],
body.light-theme .feeder-form-textarea[style],
body.light-theme .feeder-form-select[style] {
  background: #ffffff !important;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.light-theme .feeder-form-input:focus,
body.light-theme .feeder-form-textarea:focus,
body.light-theme .feeder-form-select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

body.light-theme .feeder-dialog-overlay {
  background: rgba(15, 23, 42, 0.18);
}
