/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
body {
  min-height: 100vh;
}

.app-shell {
  background:
    radial-gradient(circle at 8% 8%, rgba(13, 110, 253, 0.16), transparent 28rem),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  color: #111827;
}

.app-header {
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
}

.top-navbar {
  background: linear-gradient(135deg, #101827 0%, #162033 54%, #0f5132 100%);
  min-height: 68px;
}

.brand-mark {
  align-items: center;
  background: #20c997;
  border-radius: 8px;
  color: #06121f;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

.user-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.86rem;
  gap: 0.5rem;
  padding: 0.42rem 0.8rem;
}

.user-dot {
  background: #20c997;
  border-radius: 999px;
  display: inline-block;
  height: 0.55rem;
  width: 0.55rem;
}

.sub-navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.32);
  backdrop-filter: blur(12px);
}

.subnav-inner {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  padding: 0.65rem 0;
}

.subnav-scroll {
  display: flex;
  flex: 1;
  gap: 0.35rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.subnav-scroll::-webkit-scrollbar {
  display: none;
}

.subnav-link {
  border-radius: 8px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.48rem 0.75rem;
  text-decoration: none;
}

.subnav-link:hover {
  background: #e8eef7;
  color: #0f172a;
}

.subnav-link-strong {
  background: #0f172a;
  color: #fff;
}

.app-main {
  min-height: calc(100vh - 116px);
}

.card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.card-header {
  background: rgba(248, 250, 252, 0.9);
  border-bottom-color: rgba(148, 163, 184, 0.24);
}

.table {
  --bs-table-bg: transparent;
}

.table td,
.table th {
  white-space: nowrap;
}

.table thead th {
  color: #64748b;
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn {
  border-radius: 8px;
}

pre {
  max-height: 520px;
  overflow: auto;
}

@keyframes cell-flash {
  0%   { background-color: rgba(250, 204, 21, 0.5); }
  100% { background-color: transparent; }
}

.cell-updated {
  animation: cell-flash 1.5s ease-out forwards;
  border-radius: 3px;
  padding: 1px 4px;
}
