/* FV-CMS-VENDORED v0.7.2 — DO NOT EDIT IN PLACE. Source: github.com/avidtech6/freshvibe-cms. To update, run: fvcms-update */
/* FV-CMS-VENDORED v0.4.2 — DO NOT EDIT IN PLACE. Source: github.com/avidtech6/freshvibe-cms. To update, run: fvcms-update */
/* edge-panel.css — Edge Tools panel styles. Generic CMS, no host-app names. */

/* === Panel root === */
.fvcms-edge {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1c1a16;  /* warm dark, not cold blue-black */
  color: #ece8df;
  font: 13px -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* === Tab bar (Tools / Recent) === */
.fvcms-edge-tabs {
  display: flex;
  background: #28241c;
  border-bottom: 1px solid rgba(255, 250, 240, 0.06);
  padding: 2px 2px 0;
  flex-shrink: 0;
}
.fvcms-edge-tab {
  flex: 1;
  padding: 7px 4px 6px;
  background: transparent;
  border: none;
  color: #807a6e;
  font: 600 10.5px -apple-system, BlinkMacSystemFont, sans-serif;
  border-radius: 4px 4px 0 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.01em;
}
.fvcms-edge-tab.active {
  color: #a3c9a8;  /* dusty sage */
  background: rgba(163, 201, 168, 0.08);
  border-bottom-color: #a3c9a8;
}

/* === Body (scrollable) === */
.fvcms-edge-body {
  flex: 1;
  overflow-y: auto;
  padding: 5px 4px;
  background: #1c1a16;
}
.fvcms-edge-pane { display: none; }
.fvcms-edge-pane.active { display: block; }

/* === 2-col icon grid (tight) === */
.fvcms-edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.fvcms-edge-cell {
  background: rgba(255, 250, 240, 0.025);
  border: 1px solid rgba(255, 250, 240, 0.05);
  border-radius: 4px;
  padding: 7px 2px 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.12s ease;
  position: relative;
  user-select: none;
}
.fvcms-edge-cell:hover {
  border-color: rgba(163, 201, 168, 0.5);
  background: rgba(163, 201, 168, 0.08);
}
.fvcms-edge-cell:active {
  transform: scale(0.96);
}
.fvcms-edge-cell.active {
  border-color: #a3c9a8;
  background: rgba(163, 201, 168, 0.12);
}
.fvcms-edge-cell .ic {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 3px;
  opacity: 0.92;
  color: #d4cfc1;
}
.fvcms-edge-cell.active .ic { color: #a3c9a8; }
.fvcms-edge-cell .nm {
  font: 600 8.5px -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ece8df;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fvcms-edge-cell .badge {
  position: absolute;
  top: 1px; right: 2px;
  background: #d4a574;  /* soft tan, not red */
  color: #2a2018;
  font: 700 7.5px ui-monospace, monospace;
  padding: 0 3px;
  border-radius: 5px;
  line-height: 1.4;
  min-width: 10px;
}

/* === Bottom footer (always visible) === */
.fvcms-edge-foot {
  background: #28241c;
  border-top: 1px solid rgba(255, 250, 240, 0.06);
  padding: 4px 4px 5px;
  flex-shrink: 0;
}
.fvcms-edge-foot-row {
  display: flex;
  gap: 3px;
}
.fvcms-edge-foot-btn {
  flex: 1;
  padding: 5px 2px;
  background: rgba(255, 250, 240, 0.04);
  border: 1px solid rgba(255, 250, 240, 0.06);
  color: #b5b0a4;
  border-radius: 4px;
  font: 600 9px -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  text-align: center;
  transition: all 0.12s;
}
.fvcms-edge-foot-btn:hover {
  border-color: rgba(163, 201, 168, 0.5);
  color: #ece8df;
}
.fvcms-edge-foot-btn.primary {
  background: #a3c9a8;
  color: #1a1812;
  border-color: #a3c9a8;
}
.fvcms-edge-foot-btn.primary:hover {
  background: #b3d9b8;
  border-color: #b3d9b8;
}

/* === Empty state for Recent tab === */
.fvcms-edge-empty {
  padding: 24px 12px;
  text-align: center;
  color: #807a6e;
  font-size: 11px;
  line-height: 1.5;
}
.fvcms-edge-empty .ic {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
  opacity: 0.5;
}
