/* Overview admin page — fixed nav + loading line */
body.overview-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.overview-page .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(6, 16, 24, 0.42);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(102, 221, 255, 0.18);
}

#overview-loading {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 2rem 1rem;
}

.overview-status {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.overview-status--pending {
  background: rgba(255, 193, 94, 0.18);
  border: 1px solid rgba(255, 193, 94, 0.45);
  color: rgba(255, 224, 170, 0.98);
}
.overview-status--ok {
  background: rgba(120, 200, 140, 0.16);
  border: 1px solid rgba(120, 200, 140, 0.42);
  color: rgba(200, 242, 210, 0.98);
}
.overview-status--progress {
  background: rgba(102, 221, 255, 0.14);
  border: 1px solid rgba(102, 221, 255, 0.38);
  color: rgba(198, 242, 255, 0.98);
}
.overview-status--bad {
  background: rgba(255, 120, 120, 0.12);
  border: 1px solid rgba(255, 140, 140, 0.38);
  color: rgba(255, 200, 200, 0.95);
}
.overview-status--muted {
  background: rgba(232, 238, 245, 0.08);
  border: 1px solid rgba(232, 238, 245, 0.2);
  color: var(--text-muted);
}

.overview-action-btn {
  font-size: 0.78rem;
  padding: 0.35rem 0.55rem;
  margin-right: 0.35rem;
}
.overview-action-btn--secondary {
  background: transparent;
  border: 1px solid rgba(255, 140, 140, 0.45);
  color: rgba(255, 200, 200, 0.95);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.overview-action-btn--secondary:hover {
  background: rgba(255, 120, 120, 0.12);
}
.overview-action-btn--secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.overview-action-btn--danger {
  background: rgba(180, 60, 60, 0.22);
  border: 1px solid rgba(255, 140, 140, 0.5);
  color: rgba(255, 210, 210, 0.98);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.overview-action-btn--danger:hover {
  background: rgba(200, 70, 70, 0.32);
}
.overview-action-btn--danger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.overview-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.overview-filter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.overview-filter-select {
  min-width: 11rem;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(102, 221, 255, 0.28);
  background: rgba(6, 16, 24, 0.55);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}

.overview-row--tip td:nth-child(4) {
  color: rgba(255, 224, 170, 0.98);
  font-weight: 600;
}

.overview-inline-select {
  margin-top: 0.35rem;
  max-width: 11rem;
  width: 100%;
  padding: 0.28rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(102, 221, 255, 0.28);
  background: rgba(6, 16, 24, 0.55);
  color: var(--text);
  font-family: inherit;
  font-size: 0.76rem;
}

.overview-cell-hint {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.overview-action-btn--warn {
  background: rgba(180, 130, 40, 0.22);
  border: 1px solid rgba(255, 200, 100, 0.45);
  color: rgba(255, 230, 180, 0.98);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.overview-action-btn--warn:hover {
  background: rgba(200, 150, 50, 0.32);
}
.overview-action-btn--warn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-settings-panel + .admin-settings-panel {
  margin-top: 1.5rem;
}

.admin-employees-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.admin-employees-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(102, 221, 255, 0.12);
}

.admin-employees-list li:last-child {
  border-bottom: none;
}

.admin-employees-empty {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

.overview-table--compact {
  font-size: 0.76rem;
}

.overview-table--compact th,
.overview-table--compact td {
  padding: 0.28rem 0.4rem;
  line-height: 1.2;
  vertical-align: top;
}

.overview-table--compact th {
  font-size: 0.68rem;
}

.overview-table--compact .overview-status {
  padding: 0.08rem 0.32rem;
  font-size: 0.66rem;
}

.overview-table--compact .overview-inline-select {
  margin-top: 0.12rem;
  padding: 0.16rem 0.28rem;
  font-size: 0.68rem;
  max-width: 9.5rem;
}

.overview-table--compact .overview-cell-hint {
  margin-top: 0.12rem;
  font-size: 0.65rem;
}

.overview-table--compact .overview-action-btn {
  font-size: 0.66rem;
  padding: 0.2rem 0.38rem;
  margin-right: 0.2rem;
  margin-bottom: 0.12rem;
}

.overview-table-address-cell {
  max-width: 12rem;
  min-width: 6.5rem;
}

.overview-table-address-scroll {
  max-height: 2.4rem;
  overflow-y: auto;
  overflow-x: hidden;
  word-break: break-word;
  padding-right: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 221, 255, 0.45) transparent;
}

.overview-table-address-scroll::-webkit-scrollbar {
  width: 5px;
}

.overview-table-address-scroll::-webkit-scrollbar-thumb {
  background: rgba(102, 221, 255, 0.35);
  border-radius: 4px;
}
