h1:focus {
    outline: none;
}

/* ═══════════════════════════════════════════════════════════
   moinlokal.de — Theme Variables & Bootstrap Overrides
   ═══════════════════════════════════════════════════════════ */

/* ── Color Palette ────────────────────────────────────────── */

:root {
  /* Primary — teal from logo */
  --ml-primary:        #0097a7;
  --ml-primary-hover:  #00838f;
  --ml-primary-light:  #e0f4f4;
  --ml-primary-subtle: #f0fafa;

  /* Secondary — navy from logo */
  --ml-navy:           #173047;
  --ml-navy-light:     #1b3a5c;

  /* Backgrounds */
  --ml-bg:             #f7fafa;
  --ml-surface:        #ffffff;
  --ml-surface-alt:    #eef4f5;

  /* Text */
  --ml-text:           #1a2e3b;
  --ml-text-muted:     #5a7282;
  --ml-text-light:     #8da0ae;

  /* Borders & Dividers */
  --ml-border:         #d8e3e8;
  --ml-border-light:   #e8eff2;

  /* Status */
  --ml-success:        #4a8c5c;
  --ml-success-bg:     #edf5ef;
  --ml-danger:         #b5463a;
  --ml-danger-bg:      #fbefee;

  /* Shadows — cool-tinted */
  --ml-shadow-sm:      0 1px 3px rgba(23, 48, 71, 0.06);
  --ml-shadow:         0 2px 8px rgba(23, 48, 71, 0.08);
  --ml-shadow-lg:      0 4px 20px rgba(23, 48, 71, 0.10);
  --ml-shadow-elevated:0 8px 30px rgba(23, 48, 71, 0.12);

  /* Radius */
  --ml-radius-sm:      0.375rem;
  --ml-radius:         0.625rem;
  --ml-radius-lg:      0.875rem;
  --ml-radius-xl:      1.25rem;

  /* Typography — DSGVO-konforme System Fonts (keine Google Fonts) */
  --ml-font-body:      system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ml-font-heading:   Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --ml-line-height:    1.6;
  --ml-line-height-heading: 1.2;
}


/* ── Global Defaults ──────────────────────────────────────── */

body {
  font-family: var(--ml-font-body);
  color: var(--ml-text);
  background-color: var(--ml-bg);
  line-height: var(--ml-line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
  font-family: var(--ml-font-heading);
  line-height: var(--ml-line-height-heading);
  color: var(--ml-text);
  font-weight: 400;
}

h3, h4, h5, h6 {
  font-family: var(--ml-font-body);
  font-weight: 600;
  line-height: var(--ml-line-height-heading);
  color: var(--ml-text);
}

a {
  color: var(--ml-primary);
  text-decoration-color: rgba(0, 151, 167, 0.3);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--ml-primary-hover);
  text-decoration-color: var(--ml-primary-hover);
}


/* ── Bootstrap Component Overrides ────────────────────────── */

.btn {
  border-radius: var(--ml-radius);
  font-weight: 500;
  transition: all 0.15s ease;
}

.btn-primary {
  --bs-btn-bg: var(--ml-primary);
  --bs-btn-border-color: var(--ml-primary);
  --bs-btn-hover-bg: var(--ml-primary-hover);
  --bs-btn-hover-border-color: var(--ml-primary-hover);
  --bs-btn-active-bg: var(--ml-primary-hover);
  --bs-btn-active-border-color: var(--ml-primary-hover);
}

.btn-outline-primary {
  --bs-btn-color: var(--ml-primary);
  --bs-btn-border-color: var(--ml-primary);
  --bs-btn-hover-bg: var(--ml-primary);
  --bs-btn-hover-border-color: var(--ml-primary);
  --bs-btn-active-bg: var(--ml-primary-hover);
  --bs-btn-active-border-color: var(--ml-primary-hover);
}

.card {
  border-color: var(--ml-border);
  border-radius: var(--ml-radius-lg);
  box-shadow: var(--ml-shadow-sm);
}

.card-body { padding: 1.25rem; }

.badge {
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--ml-radius-sm);
}

.table {
  --bs-table-color: var(--ml-text);
  --bs-table-border-color: var(--ml-border-light);
}

.text-muted { color: var(--ml-text-muted) !important; }


/* ── Utility Classes ──────────────────────────────────────── */

.section-label {
  font-family: var(--ml-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ml-text-muted);
  margin-bottom: 1rem;
}

.content-container {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.divider {
  border: 0;
  border-top: 1px solid var(--ml-border);
  margin-block: 1.5rem;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ml-text);
  white-space: nowrap;
}

.price-old {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ml-text-light);
  text-decoration: line-through;
}

.badge-open {
  background-color: var(--ml-success-bg);
  color: var(--ml-success);
  font-size: 0.8125rem;
  padding: 0.35em 0.75em;
  border-radius: var(--ml-radius-sm);
  font-weight: 600;
}

.badge-closed {
  background-color: var(--ml-danger-bg);
  color: var(--ml-danger);
  font-size: 0.8125rem;
  padding: 0.35em 0.75em;
  border-radius: var(--ml-radius-sm);
  font-weight: 600;
}


/* ── Restaurant Profile ──────────────────────────────── */

.profile-hero {
  height: clamp(180px, 30vw, 270px);
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid rgba(23, 48, 71, 0.12);
}

.profile-hero--placeholder {
  background: linear-gradient(135deg, #173047 0%, #1b3a5c 40%, #0097a7 100%);
}

.profile-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(23, 48, 71, 0.35) 100%);
}

.profile-header-card {
  background: var(--ml-surface);
  margin-top: -2.85rem;
  position: relative;
  z-index: 10;
  border-radius: var(--ml-radius-xl);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--ml-shadow-lg);
  border: 1px solid var(--ml-border-light);
}

.profile-header-wrap {
  position: relative;
}

.profile-header-content {
  row-gap: 0.85rem !important;
}

.profile-logo {
  border-radius: var(--ml-radius-lg);
  object-fit: cover;
  border: 3px solid var(--ml-surface);
  box-shadow: var(--ml-shadow-sm);
  flex-shrink: 0;
}

.profile-logo-placeholder {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--ml-radius-lg);
  background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  font-weight: 700;
  box-shadow: var(--ml-shadow-sm);
}

.profile-name {
  font-size: 1.75rem;
  margin-bottom: 0.1rem;
  letter-spacing: 0.01em;
}

.profile-cuisine {
  font-size: 0.9rem;
  color: var(--ml-text-muted);
}

.profile-actions {
  align-items: center;
}

.profile-action-btn {
  border-radius: 999px;
  font-weight: 600;
  min-width: 6.4rem;
}

.announcement-stack .alert {
  border-radius: var(--ml-radius);
  border-width: 1px;
  padding: 0.8rem 1rem;
}

.profile-main-column {
  max-width: 48rem;
}

.profile-section {
  margin-bottom: 1.65rem;
}

.profile-description {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ml-text);
  margin-bottom: 0;
  max-width: 64ch;
}

.profile-primary-cta {
  font-weight: 600;
  min-width: 12.5rem;
}

.profile-subsection-title {
  font-family: var(--ml-font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ml-text-muted);
}


/* ── Info Card (sidebar) ─────────────────────────────── */

.info-card {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius-lg);
  padding: 1.25rem;
  box-shadow: var(--ml-shadow-sm);
}

.profile-side-column .info-card {
  position: sticky;
  top: 1rem;
}

.info-card address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ml-text);
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .profile-header-card {
    margin-top: -2.25rem;
    padding: 1rem;
    border-radius: var(--ml-radius-lg);
  }

  .profile-logo,
  .profile-logo-placeholder {
    width: 64px;
    height: 64px;
  }

  .profile-logo-placeholder {
    font-size: 1.4rem;
  }

  .profile-name {
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .profile-actions {
    width: 100%;
    gap: 0.45rem !important;
    margin-top: 0.2rem;
  }

  .profile-action-btn {
    flex: 1 1 calc(33.333% - 0.45rem);
    min-width: 0;
    text-align: center;
    padding-inline: 0.45rem;
  }

  .profile-main-column {
    max-width: 100%;
  }

  .profile-side-column .info-card {
    position: static;
  }

  .profile-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .profile-primary-cta {
    min-width: 0;
    width: 100%;
    max-width: 18rem;
  }

  .hours-table {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .profile-name {
    font-size: 1.2rem;
  }

  .profile-cuisine {
    font-size: 0.88rem;
  }

  .profile-description {
    font-size: 0.96rem;
  }

  .announcement-stack .alert {
    font-size: 0.95rem;
  }
}


/* ── Menu Page ───────────────────────────────────────── */

.menu-page-header {
  padding-block: 2rem 1rem;
}

.menu-page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.menu-header-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.menu-header-actions .btn {
  border-radius: 0.55rem;
}

.category-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
}

.category-pill {
  white-space: nowrap;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ml-text-muted);
  background: var(--ml-surface-alt);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.category-pill:hover {
  color: var(--ml-primary);
  background: var(--ml-primary-light);
}

.menu-category {
  margin-bottom: 2.5rem;
}

/* Scroll offset for category anchor links (sticky category nav) */
.menu-category h2[id] {
  scroll-margin-top: 3.5rem;
}

.menu-category-heading {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.menu-category-desc {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ml-text-muted);
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .menu-header-actions {
    width: 100%;
  }

  .menu-header-actions .btn {
    width: 100%;
  }
}

.menu-item {
  position: relative;
  padding-block: 1.05rem 1.15rem;
}

.menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--ml-border) 10%,
    var(--ml-border-light) 90%,
    transparent 100%
  );
}

.menu-item:last-child::after {
  display: none;
}

.menu-item-name {
  font-family: var(--ml-font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--ml-text);
}

.menu-item-badge {
  color: var(--ml-success);
  font-size: 0.85rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.menu-item-desc {
  font-size: 0.9rem;
  color: var(--ml-text-muted);
  margin-bottom: 0.25rem;
  line-height: 1.45;
}

.menu-item-allergens {
  font-size: 0.75rem;
  color: var(--ml-text-light);
  letter-spacing: 0.03em;
}

.menu-item-variants {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.menu-item-variants .variant {
  font-size: 0.85rem;
  color: var(--ml-text-muted);
  background: var(--ml-surface-alt);
  padding: 0.2em 0.6em;
  border-radius: var(--ml-radius-sm);
}

.menu-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--ml-radius);
  object-fit: cover;
  flex-shrink: 0;
}

.menu-item-thumb {
  width: 36px;
  height: 36px;
  border-radius: var(--ml-radius-sm);
  object-fit: cover;
}


/* ── Allergen Legend ──────────────────────────────────── */

.allergen-legend {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ml-border);
}

.allergen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.4rem 1.5rem;
}

.allergen-item {
  font-size: 0.8125rem;
  color: var(--ml-text-muted);
}

.allergen-item strong {
  display: inline-block;
  width: 1.4em;
  color: var(--ml-text);
  font-weight: 600;
}


/* ── Daily Specials ──────────────────────────────────── */

.special-card {
  background: var(--ml-primary-subtle);
  border: 1px solid var(--ml-primary-light);
  border-radius: var(--ml-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.special-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ml-primary);
  margin-bottom: 0.5rem;
}

.special-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.special-card-desc {
  font-size: 0.875rem;
  color: var(--ml-text-muted);
  margin-bottom: 0.5rem;
}

.special-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.special-card-time {
  font-size: 0.8rem;
  color: var(--ml-text-muted);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.special-card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--ml-radius-lg) var(--ml-radius-lg) 0 0;
  display: block;
}

.special-card-body {
  padding: 1rem;
}

/* ── Mittagstisch public pages ───────────────────────── */

.mittagstisch-hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.mittagstisch-hero-title {
  font-family: var(--ml-font-heading);
  font-size: 2rem;
  color: var(--ml-text);
  margin-bottom: 0.5rem;
}

.mittagstisch-hero-sub {
  color: var(--ml-text-muted);
  margin-bottom: 1.5rem;
}

.mittagstisch-search-form {
  max-width: 520px;
  margin: 0 auto;
}

.mittagstisch-date-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}

.mittagstisch-date-nav::-webkit-scrollbar {
  display: none;
}

.mittagstisch-restaurant-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--ml-radius-sm);
  flex-shrink: 0;
}

/* ── Tagesangebote Admin Week Grid ───────────────────── */

.tagesangebote-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .tagesangebote-week-grid {
    grid-template-columns: 1fr;
  }
}

.tagesangebote-day-card {
  border: 1px solid var(--ml-border-light);
  border-radius: var(--ml-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 120px;
}

.tagesangebote-day-card--today {
  border-color: var(--ml-primary);
  box-shadow: 0 0 0 2px var(--ml-primary-light);
}

.tagesangebote-day-header {
  background: var(--ml-bg-subtle);
  padding: 0.4rem 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.tagesangebote-day-card--today .tagesangebote-day-header {
  background: var(--ml-primary-subtle);
}

.tagesangebote-day-name {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tagesangebote-day-date {
  color: var(--ml-text-muted);
}

.tagesangebote-day-body {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.tagesangebote-item {
  background: var(--ml-primary-subtle);
  border-radius: var(--ml-radius-sm);
  padding: 0.4rem 0.5rem;
  font-size: 0.8rem;
}

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


/* ── Opening Hours Table ─────────────────────────────── */

.hours-table {
  width: 100%;
  max-width: 430px;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--ml-border-light);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-day {
  color: var(--ml-text);
  width: 45%;
}

.hours-time {
  color: var(--ml-text-muted);
  text-align: right;
}

.hours-closed {
  font-style: italic;
  color: var(--ml-text-light);
}

.hours-today td {
  font-weight: 600;
  color: var(--ml-text);
}

.hours-today .hours-time {
  color: var(--ml-text);
}


/* ── Empty State ─────────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-state-icon {
  font-size: 2.5rem;
  color: var(--ml-text-light);
  margin-bottom: 0.75rem;
  display: block;
}

.empty-state-text {
  font-size: 1.05rem;
  color: var(--ml-text-muted);
  margin-bottom: 0.25rem;
}

.empty-state-hint {
  font-size: 0.875rem;
  color: var(--ml-text-light);
}


/* ── Site Footer ─────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--ml-border);
  padding-block: 1.5rem;
  margin-top: 3rem;
  color: var(--ml-text-light);
}

.site-footer a {
  color: var(--ml-text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ml-primary);
}


/* ── Homepage Hero ───────────────────────────────────── */

.home-page {
  overflow: hidden;
}

.home-hero {
  padding-block: 4.5rem 3.25rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 151, 167, 0.10), transparent 33%),
    radial-gradient(circle at 14% 78%, rgba(23, 48, 71, 0.06), transparent 30%),
    linear-gradient(180deg, #f0fafa 0%, var(--ml-bg) 72%);
  border-bottom: 1px solid var(--ml-border-light);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.home-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
}

.home-hero .lead {
  font-size: 1.15rem;
  color: var(--ml-text-muted);
  max-width: 620px;
}

.home-logo {
  height: auto;
  max-width: 280px;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-trust-points {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--ml-text-muted);
}

.home-trust-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-trust-points i {
  color: var(--ml-success);
}

.home-highlight-card {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius-xl);
  box-shadow: var(--ml-shadow);
  padding: 1.4rem 1.35rem;
}

.home-highlight-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ml-text-muted);
  display: grid;
  gap: 0.5rem;
}

.home-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.home-info-card {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border-light);
  border-radius: var(--ml-radius-lg);
  padding: 1.1rem;
}

.home-info-card p {
  color: var(--ml-text-muted);
}

.home-feature-strip {
  background: linear-gradient(180deg, var(--ml-primary-subtle) 0%, transparent 100%);
  border-block: 1px solid var(--ml-border-light);
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.home-feature-item {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border-light);
  border-radius: var(--ml-radius-lg);
  padding: 1.05rem 1.1rem;
}

.home-feature-item i {
  color: var(--ml-primary);
  font-size: 1.15rem;
}

.home-feature-item p {
  margin-bottom: 0;
  color: var(--ml-text-muted);
}

.home-steps {
  margin-top: 0.6rem;
  margin-bottom: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.home-bottom-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 991.98px) {
  .home-hero-grid,
  .home-info-grid,
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-highlight-card {
    padding: 1.2rem 1.1rem;
  }
}


/* ── Form validation ─────────────────────────────────── */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* ══════════════════════════════════════════════════════════
   Admin Layout & Components — Warm Theme
   ══════════════════════════════════════════════════════════ */

/* ── Admin Layout Structure ────────────────────────────── */

.admin-layout {
  background-color: var(--ml-bg);
}

.admin-sidebar {
  width: 220px;
  min-width: 220px;
  flex-shrink: 0;
  background-color: var(--ml-navy);
  color: white;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.5rem;
}

.admin-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.admin-branding-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: white;
  margin-top: 0.5rem;
}

.admin-branding-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.1rem;
}

.admin-branding-logo {
  border-radius: 12px;
  background-color: #ffffff;
  padding: 8px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: var(--ml-radius);
  transition: all 0.15s ease;
  font-size: 0.9375rem;
  font-weight: 500;
}

.admin-nav-link:hover {
  color: white;
  background-color: rgba(0, 151, 167, 0.2);
}

.admin-nav-link--active {
  color: white;
  background-color: var(--ml-primary);
  font-weight: 600;
}

.admin-nav-link--logout {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.admin-nav-link--logout:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 0.75rem 0;
}

.admin-content {
  padding: 2.5rem;
  background-color: var(--ml-bg);
  overflow-y: auto;
}

@media (max-width: 768px) {
  .admin-sidebar {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    padding: 0.75rem 1rem;
  }

  .admin-branding {
    margin-bottom: 0;
    margin-right: 1rem;
  }

  .admin-content {
    padding: 1.5rem;
  }
}


/* ── Admin Form Utilities ──────────────────────────────── */

.text-brand {
  color: var(--ml-primary) !important;
}