/* Manverse brand theme for Django admin — amber/black, matching the
   storefront's Navbar/Hero (Tailwind amber-600/700/400 on near-black).
   Applied to both the light and dark variable blocks so the look stays
   consistent regardless of the viewer's admin theme toggle. */

:root,
html[data-theme="dark"],
html[data-theme="light"] {
  --primary: #b45309;              /* amber-700 */
  --primary-fg: #fff;
  --secondary: #78716c;
  --accent: #d97706;                /* amber-600 */

  --header-color: #fbbf24;          /* amber-400 */
  --header-branding-color: #fbbf24;
  --header-bg: #111827;             /* near-black */
  --header-link-color: #fef3c7;

  --breadcrumbs-fg: #fef3c7;
  --breadcrumbs-link-fg: #fff;
  --breadcrumbs-bg: #1f2937;

  --link-fg: #b45309;
  --link-hover-color: #92400e;
  --link-selected-fg: #92400e;

  --button-bg: #b45309;
  --button-fg: #fff;
  --button-hover-bg: #92400e;
  --default-button-bg: #b45309;
  --default-button-hover-bg: #92400e;
  --close-button-bg: #6b7280;
  --close-button-hover-bg: #4b5563;
  --delete-button-bg: #b91c1c;
  --delete-button-hover-bg: #991b1b;

  --object-tools-bg: #b45309;
  --object-tools-hover-bg: #92400e;
}

#branding h1 {
  font-weight: 700;
  letter-spacing: .5px;
}

div.breadcrumbs a {
  color: #fef3c7;
}

.module h2, .module caption, .inline-group h2 {
  background: #111827;
  color: #fbbf24;
}

a.button.default, input[type=submit].default, .submit-row input.default {
  background: #b45309;
}

/* Dashboard quick-nav — big clickable cards per app (Orders, Catalog,
   Customers & Staff, Marketing...) instead of Django's plain default
   app-list, so each area reads as its own separate section. */
.mv-quick-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.mv-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.mv-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #111827;
  border-bottom: 3px solid #b45309;
}

.mv-card-icon {
  font-size: 22px;
  line-height: 1;
}

.mv-card-title {
  color: #fbbf24;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
}

.mv-card-links {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.mv-card-link {
  padding: 9px 10px;
  border-radius: 6px;
  color: #1f2937;
  font-size: 14px;
  text-decoration: none;
}

.mv-card-link:hover {
  background: #fff7ed;
  color: #b45309;
}

.mv-card-link-disabled {
  color: #9ca3af;
  cursor: default;
}
