/* CMS admin UI styles */
#cms-admin-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2c2416;
  color: #eee;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 999999;
  font-family: Arial, sans-serif;
  font-size: 13px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.cms-bar-label { color: #d9cfa8; margin-right: 6px; }
.cms-btn {
  background: #4a3826;
  color: #fff;
  border: 1px solid #b98d4b;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.cms-btn:hover { background: #5c4630; }
.cms-btn-save { background: #7a9a3f; border-color: #7a9a3f; }
.cms-btn-save:hover { background: #6a8a35; }
.cms-btn-logout { background: #a04a3d; border-color: #a04a3d; margin-left: auto; }
.cms-status { color: #b6e388; font-size: 12px; }

body.cms-edit-active { padding-bottom: 56px; }
body.cms-edit-active [data-cms-id]:hover {
  outline: 2px dashed #d98a3d;
  outline-offset: 2px;
  cursor: text;
  background: rgba(217, 138, 61, 0.06);
}
body.cms-edit-active [data-cms-original]:hover {
  outline: 3px dashed #4fa8b0;
  outline-offset: -3px;
  cursor: pointer;
}

#cms-theme-panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cms-theme-inner {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  width: 320px;
  max-width: 90vw;
  font-family: Arial, sans-serif;
}
.cms-theme-inner h3 { margin-bottom: 16px; color: #2c2416; font-size: 18px; }
.cms-theme-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cms-theme-row label { font-size: 13px; color: #2c2416; }
.cms-theme-actions { margin-top: 18px; display: flex; gap: 10px; }
