@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  --bg-deep: #030014;
  --primary: #7928CA;
  --secondary: #FF0080;
  --cyan: #00DFD8;
  --text-main: #ffffff;
  --text-dim: #8892b0;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --panel: rgba(13, 6, 32, 0.72);
  --danger: #FF0080;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(121, 40, 202, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 128, 0.15) 0%, transparent 40%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 1rem;
  height: 80px;
  padding: 0 2rem;
  background: rgba(3, 0, 20, 0.82);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #020617;
  background: linear-gradient(135deg, var(--cyan), var(--primary), var(--secondary));
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(0, 223, 216, 0.18);
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand-text strong {
  color: #fff;
  font-size: 1rem;
  white-space: nowrap;
}

.brand-text span {
  color: var(--text-dim);
  font-size: 0.78rem;
}

.nav-tabs {
  display: flex;
  height: 100%;
  gap: 1.6rem;
}

.tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0;
  color: var(--text-dim);
  background: none;
  border: 0;
  font-weight: 700;
  transition: color 0.25s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--cyan);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 3px 3px 0 0;
}

.user-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#user-display {
  max-width: 220px;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-content {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.is-login .dashboard-header {
  grid-template-columns: 1fr;
}

.is-login .brand {
  justify-self: start;
}

.is-login .main-content {
  display: grid;
  min-height: calc(100vh - 80px);
  place-items: center;
  padding-top: 0;
}

.section-panel {
  display: block;
  animation: fadeIn 0.28s ease;
}

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

.section-header,
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-header h2,
.section-toolbar h2,
.project-admin-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.05;
}

.eyebrow {
  margin: 0 0 0.25rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.muted,
.empty {
  color: var(--text-dim);
}

.grid-container,
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.usage-panel {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.usage-panel.compact-usage {
  grid-template-columns: 1fr;
  margin-bottom: 0;
  padding: 1rem;
}

.usage-heading {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 1rem;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.usage-heading span,
.usage-item span {
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.usage-heading strong {
  color: white;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.compact-usage .usage-grid {
  grid-template-columns: 1fr;
}

.usage-item {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 1rem;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.usage-item strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: white;
  font-family: var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.usage-track {
  height: 7px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}

.usage-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--primary), var(--secondary));
  border-radius: inherit;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.plan-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.plan-card.active-plan {
  border-color: rgba(0, 223, 216, 0.58);
  box-shadow: 0 16px 34px rgba(0, 223, 216, 0.08);
}

.plan-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.plan-card-head span:first-child {
  display: block;
  margin-bottom: 4px;
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.plan-card h3,
.plan-price {
  margin: 0;
  color: white;
  font-family: var(--font-display);
}

.plan-card h3 {
  font-size: 1.35rem;
}

.plan-price {
  font-size: 1.55rem;
}

.watermark-pill {
  flex-shrink: 0;
  padding: 4px 9px;
  color: var(--secondary);
  background: rgba(255, 0, 128, 0.11);
  border: 1px solid rgba(255, 0, 128, 0.28);
  border-radius: 5px;
  font-size: 0.76rem;
  font-weight: 800;
}

.plan-limits {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--text-dim);
  list-style: none;
}

.plan-limits li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-limits i {
  color: var(--cyan);
}

.card,
.project-card,
.panel,
.mini-card,
.category-group {
  background: linear-gradient(145deg, rgba(255,255,255,0.032), rgba(255,255,255,0.012));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.project-card:hover,
.mini-card:hover {
  border-color: rgba(121, 40, 202, 0.65);
  box-shadow: 0 10px 30px rgba(121, 40, 202, 0.18);
  transform: translateY(-3px);
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 195px;
}

.project-card-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.project-card h2,
.project-card h3,
.mini-card h3,
.category-group h3 {
  margin: 0;
  color: white;
  font-family: var(--font-display);
}

.project-card h2 {
  max-width: 100%;
  overflow: hidden;
  font-size: 1.28rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card p,
.mini-card p {
  max-width: 100%;
  margin: 0.28rem 0 0;
  overflow: hidden;
  color: var(--text-dim);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-status,
.status-pill {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 4px 9px;
  color: var(--cyan);
  background: rgba(121, 40, 202, 0.12);
  border: 1px solid rgba(121, 40, 202, 0.28);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 700;
}

.project-card-actions {
  display: grid;
  grid-template-columns: 1fr 50px;
  gap: 10px;
  margin-top: 1.8rem;
}

.btn-action,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  color: white;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border: 0;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn-action:hover,
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(255, 0, 128, 0.42);
  transform: translateY(-2px);
}

.btn-secondary,
.btn-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  color: white;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  text-decoration: none;
  transition: 0.22s ease;
}

.btn-secondary:hover,
.btn-action-secondary:hover {
  background: rgba(121, 40, 202, 0.2);
  border-color: var(--primary);
}

.compact-btn {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.icon-danger,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 40px;
  padding: 9px 12px;
  color: var(--danger);
  background: transparent;
  border: 1px solid var(--danger);
  border-radius: 8px;
  font-weight: 700;
  transition: 0.22s ease;
}

.icon-danger:hover,
.btn-danger:hover {
  color: white;
  background: var(--danger);
  box-shadow: 0 0 18px rgba(255, 0, 128, 0.35);
}

.tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 1.35rem;
  padding: 4px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  padding: 10px 16px;
  color: var(--text-dim);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  transition: 0.22s ease;
}

.tabs button:hover,
.tabs button.active {
  color: white;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.small-card-grid,
.category-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.mini-actions,
.product-actions,
.image-actions,
.modal-actions,
.section-title,
.switch-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-actions,
.image-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.product-list {
  display: grid;
  gap: 12px;
  margin-top: 1rem;
}

.product-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}

.product-thumb {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  overflow: hidden;
  color: var(--text-dim);
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 0.76rem;
  text-align: center;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  min-width: 0;
}

.product-info h4 {
  margin: 0 0 4px;
  overflow: hidden;
  color: white;
  font-family: var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info p,
.product-info span {
  display: block;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.product-actions {
  grid-column: 1 / -1;
  flex-wrap: wrap;
}

.project-workspace {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.project-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 1rem;
}

.sidebar-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--text-dim);
  background: transparent;
  border: 0;
  font-weight: 700;
  transition: color 0.22s ease;
}

.sidebar-back:hover {
  color: var(--cyan);
}

.sidebar-project-card,
.api-mini-card {
  padding: 1.3rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.sidebar-project-card {
  display: grid;
  gap: 0.65rem;
  min-height: 178px;
}

.sidebar-project-card h2 {
  margin: 0;
  color: white;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.sidebar-project-card p {
  margin: 0;
  overflow: hidden;
  color: var(--text-dim);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sidebar-stat-grid div {
  padding: 1rem;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}

.sidebar-stat-grid strong {
  display: block;
  color: white;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.sidebar-stat-grid span,
.api-mini-card span {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.api-mini-card {
  display: grid;
  gap: 10px;
}

.api-mini-card code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  padding: 10px;
  color: var(--cyan);
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-mini-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
}

.project-main {
  min-width: 0;
}

.project-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding: 1.6rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(121,40,202,0.18), rgba(255,0,128,0.055)),
    rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.project-hero h2 {
  margin: 0 0 0.35rem;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1;
}

.project-hero p {
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.auth-container {
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(121, 40, 202, 0.12);
  backdrop-filter: blur(10px);
}

.login-stage {
  width: 100%;
}

.auth-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  color: #020617;
  background: linear-gradient(135deg, var(--cyan), var(--primary), var(--secondary));
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(255,0,128,0.18);
}

.auth-icon i {
  font-size: 1.65rem;
}

.auth-container h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.3rem;
  text-align: center;
  background: linear-gradient(to right, var(--cyan), var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-dim);
  text-align: center;
}

.form-group,
.input-group {
  display: grid;
  gap: 8px;
  margin-bottom: 1rem;
}

label,
.input-label {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea,
.input-field {
  width: 100%;
  padding: 12px 14px;
  color: white;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  outline: none;
  transition: 0.22s ease;
}

input:focus,
select:focus,
textarea:focus,
.input-field:focus {
  border-color: var(--cyan);
  background: rgba(0, 223, 216, 0.05);
  box-shadow: 0 0 15px rgba(0, 223, 216, 0.1);
}

textarea {
  resize: vertical;
}

select option {
  color: #0f172a;
}

.modal-host:empty {
  display: none;
}

.modal-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  animation: overlayIn 0.2s ease;
}

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

.modal-box,
.modal-card {
  width: min(480px, 100%);
  max-height: min(88vh, 850px);
  overflow: auto;
  padding: 2rem;
  background: #0d0620;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(121, 40, 202, 0.25);
  animation: modalPop 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.wide-modal {
  width: min(860px, 100%);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-header h3,
.modal-card > h2,
.modal-box > h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  background: linear-gradient(to right, var(--cyan), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.close-modal,
.close-modal-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text-dim);
  background: transparent;
  border: 0;
  border-radius: 999px;
  transition: 0.22s ease;
}

.close-modal:hover,
.close-modal-btn:hover {
  color: var(--secondary);
  background: rgba(255,255,255,0.1);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.modal-actions {
  justify-content: flex-end;
  margin-top: 1rem;
}

.modal-actions button {
  min-width: 116px;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

.image-manager {
  display: grid;
  gap: 12px;
}

.image-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

.image-item img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.image-item span {
  display: block;
  max-width: 260px;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state,
.empty {
  padding: 3rem;
  color: var(--text-dim);
  text-align: center;
  border: 2px dashed var(--glass-border);
  border-radius: 16px;
}

.error-msg {
  min-height: 20px;
  color: var(--secondary);
  text-align: center;
  font-size: 0.9rem;
}

#toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  padding: 16px 22px;
  color: white;
  background: rgba(13, 6, 32, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  animation: slideIn 0.3s ease, fadeOut 0.3s ease 3.2s forwards;
}

.toast.success { border-left: 4px solid var(--cyan); }
.toast.error { border-left: 4px solid var(--secondary); }
.toast.info { border-left: 4px solid var(--primary); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateX(20px); }
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--cyan));
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--secondary), var(--primary));
}

@media (max-width: 860px) {
  .dashboard-header {
    grid-template-columns: 1fr;
    height: auto;
    padding: 1rem;
  }

  .nav-tabs,
  .user-controls {
    justify-content: flex-start;
    width: 100%;
    height: auto;
  }

  .project-workspace {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
  }

  .usage-panel,
  .usage-grid {
    grid-template-columns: 1fr;
  }

  .project-hero,
  .section-header,
  .section-toolbar,
  .project-admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .modal-grid,
  .spec-row,
  .image-item {
    grid-template-columns: 1fr;
  }

  .image-actions,
  .mini-actions {
    justify-content: flex-start;
  }
}
