/* ========================================================================
   SOUTHERN OHIO SOLES — portals.css
   Login page, portal sidebar layout, all portal modules:
   dashboard tiles, tables, modals, upload zone, status tracker,
   health bars, passion project stages, announcements, RFI, photo grid.
   Loaded by portals/login.html, rep.html, staff.html, admin.html.
   ======================================================================== */


/* ========================================================================
   LOGIN PAGE
   ======================================================================== */

.login-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  position: relative;
  overflow: hidden;
}

/* Radial glows matching the hero style */
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(61,90,71,0.28) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 80%, rgba(61,90,71,0.14) 0%, transparent 50%);
  pointer-events: none;
}

.login-page::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.login-card__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1.75rem;
}

.login-card__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card__logo-mark::after {
  content: '';
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--orange);
  border-radius: 50%;
}

.login-card__logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.login-card__role-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.login-card__role-badge--rep   { background: var(--orange-pale); color: var(--orange-dark); }
.login-card__role-badge--staff { background: #D1FAE5; color: var(--forest); }
.login-card__role-badge--admin { background: var(--blue-pale); color: var(--blue-mid); }

.login-card h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.login-card__sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Login form submit button — color set by role via JS class */
.login-submit--rep   { background: var(--orange); border-color: var(--orange); }
.login-submit--rep:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.login-submit--staff { background: var(--forest); border-color: var(--forest); }
.login-submit--staff:hover { background: var(--forest-light); border-color: var(--forest-light); }

.login-submit--admin { background: var(--blue-mid); border-color: var(--blue-mid); }
.login-submit--admin:hover { background: var(--blue); border-color: var(--blue); }

.login-card__back {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.83rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}

.login-card__back:hover { color: var(--orange); }

.login-proto-note {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}


/* ========================================================================
   PORTAL LAYOUT — SIDEBAR + CONTENT
   ======================================================================== */

.portal-wrapper {
  display: flex;
  min-height: 100vh;
  background: #E9E5DC;
}

/* Sidebar */
.portal-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 500;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Sidebar logo / back link */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1.25rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.sidebar-logo__mark {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-logo__mark::after {
  content: '';
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--orange);
  border-radius: 50%;
}

.sidebar-logo__name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.sidebar-logo__portal {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.1rem;
}

/* Role badge in sidebar */
.sidebar-role-badge {
  margin: 1rem 1.25rem;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.sidebar-role-badge--rep   { background: rgba(61,90,71,0.2); color: var(--orange-light); }
.sidebar-role-badge--staff { background: rgba(46,138,80,0.25); color: #4ADE80; }
.sidebar-role-badge--admin { background: rgba(41,96,184,0.3);  color: var(--blue-light); }

/* Nav section label */
.sidebar-nav-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 1rem 1.25rem 0.4rem;
}

/* Nav items */
.sidebar-nav {
  list-style: none;
  padding: 0;
  flex: 1;
}

.sidebar-nav__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  border-radius: 0;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}

.sidebar-nav__item:hover {
  color: white;
  background: rgba(255,255,255,0.06);
}

.sidebar-nav__item.active {
  color: white;
  background: rgba(255,255,255,0.08);
  border-left-color: var(--orange);
  font-weight: 600;
}

.sidebar-nav__item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: 0.7;
}

.sidebar-nav__item.active svg { opacity: 1; }

/* Unread / alert indicator dot */
.sidebar-nav__badge {
  margin-left: auto;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sidebar bottom: logout / back */
.sidebar-footer {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.sidebar-footer__back {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.sidebar-footer__back:hover { color: rgba(255,255,255,0.8); }

.sidebar-footer__back svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Main content area — offset for fixed sidebar */
.portal-content {
  margin-left: 240px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Portal top bar */
.portal-topbar {
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border), 0 2px 8px rgba(0,0,0,0.06);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.portal-topbar__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.portal-topbar__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--text-mid);
}

.portal-topbar__avatar {
  width: 34px;
  height: 34px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
}

/* Portal module sections — shown/hidden by portals.js */
.portal-section {
  display: none;
  padding: 2rem;
  flex: 1;
}

.portal-section.active { display: block; }

.portal-section__header {
  margin-bottom: 2rem;
}

.portal-section__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.portal-section__sub {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Mobile hamburger for sidebar */
.portal-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.portal-mobile-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
}

@media (max-width: 800px) {
  .portal-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 600;
  }
  .portal-sidebar.open { transform: translateX(0); }
  .portal-content { margin-left: 0; }
  .portal-mobile-toggle { display: flex; }
  .portal-topbar { padding: 0 1.25rem; }
  .portal-section { padding: 1.25rem; }
}


/* ========================================================================
   DASHBOARD STAT TILES
   ======================================================================== */

.stat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-tiles--6 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1100px) { .stat-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .stat-tiles { grid-template-columns: 1fr; } }

.stat-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.stat-tile:hover { box-shadow: var(--shadow-md); }

.stat-tile__label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-tile__number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}

.stat-tile__number--orange { color: var(--orange); }
.stat-tile__number--green  { color: var(--forest-light); }
.stat-tile__number--red    { color: #DC2626; }

.stat-tile__sub {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.4rem;
}

/* Urgent / alert tile */
.stat-tile--alert {
  border-color: rgba(220,38,38,0.25);
  background: #FFF5F5;
}

.stat-tile--alert .stat-tile__label { color: #B91C1C; }


/* ========================================================================
   PORTAL TABLES
   ======================================================================== */

.portal-table-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.portal-table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.portal-table-header__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.portal-table thead tr {
  background: var(--blue-pale);
}

.portal-table th {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0.8rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.portal-table td {
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  vertical-align: middle;
}

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

.portal-table tbody tr:hover { background: var(--cream); }

/* Order ID in monospace */
.portal-table .order-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-mid);
  letter-spacing: 0.03em;
}

/* Due date countdown */
.due-date { font-size: 0.82rem; }
.due-date--ok       { color: var(--forest-light); font-weight: 600; }
.due-date--soon     { color: var(--gold); font-weight: 600; }
.due-date--overdue  { color: #DC2626; font-weight: 600; }

/* Row actions */
.table-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

/* Overdue row highlight */
.portal-table tr.row--overdue td {
  background: rgba(254,242,242,0.6);
}

/* Overflow scroll on small screens */
@media (max-width: 700px) {
  .portal-table-wrap { overflow-x: auto; }
  .portal-table td,
  .portal-table th { padding: 0.75rem 1rem; }
}


/* ========================================================================
   TAB NAVIGATION (within portals)
   ======================================================================== */

.portal-tabs {
  display: flex;
  gap: 0.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.portal-tab-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-mid);
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.portal-tab-btn:hover { color: var(--navy); background: var(--cream); }

.portal-tab-btn.active {
  background: var(--navy);
  color: white;
}


/* ========================================================================
   DELIVERY CONFIRMATION MODAL
   ======================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,31,61,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal__header {
  margin-bottom: 1.5rem;
}

.modal__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.modal__sub {
  font-size: 0.84rem;
  color: var(--text-light);
}

/* Order details inside modal */
.modal-order-info {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-order-info__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  padding: 0.3rem 0;
}

.modal-order-info__row:first-child { padding-top: 0; }
.modal-order-info__row:last-child  { padding-bottom: 0; }

.modal-order-info__key { color: var(--text-light); }
.modal-order-info__val { color: var(--text); font-weight: 600; }

/* Required confirmation checkbox area */
.modal-confirm-box {
  background: var(--orange-pale);
  border: 1px solid rgba(61,90,71,0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

/* Note field */
.modal-note { margin-bottom: 1.25rem; }

.modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Submit button disabled until checkbox checked */
#btn-confirm-delivery:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* ========================================================================
   PHOTO UPLOAD ZONE
   ======================================================================== */

/* Policy acknowledgment shown before upload appears */
.upload-policy {
  background: var(--blue-pale);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.upload-policy__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.upload-policy__rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.upload-policy__rules li {
  font-size: 0.83rem;
  color: var(--text-mid);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.upload-policy__rules li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
}

/* Hidden until policy acknowledged */
.upload-zone-wrap { display: none; }
.upload-zone-wrap.visible { display: block; }

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--blue-pale);
  padding: 3rem 2rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.upload-zone__icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.upload-zone__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: white;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-zone__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.upload-zone__sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Uploaded photos grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.photo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.photo-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-light);
}

.photo-card__body {
  padding: 0.875rem;
}

.photo-card__caption {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.photo-card__actions {
  display: flex;
  gap: 0.4rem;
}


/* ========================================================================
   STATUS PROGRESS TRACKER (8 steps)
   ======================================================================== */
/*
   Submitted > Approved > Ordered > Shipped > Delivered to Rep
   > Out for Delivery > Delivered > Completed
*/

.status-tracker {
  margin: 1rem 0 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.status-tracker__steps {
  display: flex;
  align-items: center;
  min-width: 640px;
}

.tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

/* Connecting line */
.tracker-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.tracker-step.completed:not(:last-child)::after { background: var(--forest-light); }
.tracker-step.current:not(:last-child)::after   { background: var(--border); }

.tracker-step__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--border);
  z-index: 1;
  transition: background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.tracker-step.completed .tracker-step__dot {
  background: var(--forest-light);
  box-shadow: 0 0 0 2px var(--forest-light);
}

.tracker-step.current .tracker-step__dot {
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}

.tracker-step__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.35;
  max-width: 70px;
}

.tracker-step.completed .tracker-step__label { color: var(--forest); }
.tracker-step.current   .tracker-step__label { color: var(--orange); }


/* ========================================================================
   HEALTH BAR (Rep performance)
   ======================================================================== */

.health-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.health-bar-label__text { color: var(--text-mid); }
.health-bar-label__pct  { color: var(--text); }

.health-bar {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.health-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

/* Color thresholds applied via inline style + class */
.health-bar__fill--good   { background: var(--forest-light); }
.health-bar__fill--warn   { background: var(--gold); }
.health-bar__fill--danger { background: var(--orange); }


/* ========================================================================
   PASSION PROJECT STAGES
   ======================================================================== */

.passion-stages {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.passion-stage {
  flex: 1;
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border-light);
  position: relative;
}

.passion-stage:last-child { border-right: none; }

.passion-stage__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  margin: 0 auto 0.6rem;
}

.passion-stage.completed .passion-stage__num {
  background: var(--forest-light);
  color: white;
}

.passion-stage.active .passion-stage__num {
  background: var(--orange);
  color: white;
}

.passion-stage__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.4;
}

.passion-stage.completed .passion-stage__label { color: var(--forest); }
.passion-stage.active    .passion-stage__label { color: var(--orange-dark); }

/* Active stage gets a bottom orange bar */
.passion-stage.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}

/* Proposal form */
.passion-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.passion-form-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}


/* ========================================================================
   ANNOUNCEMENTS
   ======================================================================== */

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.announcement-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background 0.15s;
  cursor: pointer;
}

.announcement-item:last-child { border-bottom: none; }
.announcement-item:hover { background: var(--cream); }

/* Unread dot */
.announcement-item__dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.announcement-item.read .announcement-item__dot { opacity: 0; }

.announcement-item__body { flex: 1; }

.announcement-item__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.announcement-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.announcement-item.read .announcement-item__title { color: var(--text-mid); font-weight: 500; }

.announcement-item__date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-light);
}

.announcement-item__preview {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}


/* ========================================================================
   RFI (Questions for Admin)
   ======================================================================== */

.rfi-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rfi-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.rfi-item__header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: background 0.15s;
}

.rfi-item__header:hover { background: var(--cream); }

.rfi-item__subject {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.rfi-item__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-light);
  flex-shrink: 0;
}

/* Thread / reply area */
.rfi-item__thread {
  display: none;
  border-top: 1px solid var(--border-light);
  background: var(--cream);
}

.rfi-item.open .rfi-item__thread { display: block; }

.rfi-message {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.rfi-message:last-child { border-bottom: none; }

.rfi-message__from {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 0.3rem;
}

.rfi-message__from--admin { color: var(--blue-mid); }

.rfi-message__body {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.6;
}

.rfi-reply-form {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: white;
}


/* ========================================================================
   COGNITO FORMS IFRAME (Staff Portal)
   ======================================================================== */

/* District selector grid */
.district-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.district-btn {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

.district-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.district-btn__county {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.district-btn:hover .district-btn__county { color: var(--orange-light); }

/* Iframe container */
.cognito-frame-wrap { display: none; }
.cognito-frame-wrap.active { display: block; }

.cognito-frame-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cognito-frame-header__district {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  flex: 1;
}

.cognito-iframe {
  width: 100%;
  height: 1px; /* set by JS resize listener; min-height prevents collapse */
  min-height: 1500px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  display: block;
  overflow: hidden;
}

@media (max-width: 800px) {
  .district-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .district-grid { grid-template-columns: 1fr; }
}


/* ========================================================================
   ADMIN-SPECIFIC: REP MANAGER TABLE
   ======================================================================== */

.rep-manager-row__health {
  min-width: 120px;
}

/* Inline health bar in table cell */
.health-bar-inline {
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.3rem;
}

.health-bar-inline__fill {
  height: 100%;
  border-radius: var(--radius-full);
}


/* ========================================================================
   ADMIN-SPECIFIC: PHOTO APPROVAL GRID
   ======================================================================== */

.photo-approval-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.photo-approval-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.photo-approval-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
}

.photo-approval-card__body {
  padding: 0.875rem;
}

.photo-approval-card__from {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.photo-approval-card__caption {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.photo-approval-card__actions {
  display: flex;
  gap: 0.4rem;
}


/* ========================================================================
   ADMIN-SPECIFIC: PASSION PROJECTS LIST
   ======================================================================== */

.passion-project-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.15s;
}

.passion-project-item:hover { box-shadow: var(--shadow-sm); }

.passion-project-item__title {
  flex: 1;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  min-width: 180px;
}

.passion-project-item__rep {
  font-size: 0.8rem;
  color: var(--text-light);
  min-width: 120px;
}

.passion-project-item__actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}


/* ========================================================================
   MOBILE RESPONSIVE ADDITIONS
   ======================================================================== */

/* Passion stages: allow horizontal scroll on narrow phones */
@media (max-width: 600px) {
  .passion-stages {
    overflow-x: auto;
    border-radius: var(--radius-md);
  }
}

/* Modal action buttons: stack vertically on very small screens */
@media (max-width: 420px) {
  .modal__actions {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .modal__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Portal topbar title: prevent overflow clipping on small screens */
@media (max-width: 480px) {
  .portal-topbar__title {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
  }
}

/* Comprehensive portal mobile layout */
@media (max-width: 768px) {
  /* Prevent horizontal scroll on portal content */
  .portal-content,
  .portal-main,
  .portal-layout { overflow-x: hidden; }

  /* Full-width form inputs and textareas */
  .portal-module input[type="text"],
  .portal-module input[type="email"],
  .portal-module input[type="number"],
  .portal-module input[type="tel"],
  .portal-module input[type="password"],
  .portal-module select,
  .portal-module textarea { width: 100%; box-sizing: border-box; }

  /* Full-width primary action buttons inside modules */
  .portal-module .btn--full-mobile { width: 100%; }

  /* Reduce module padding */
  .portal-module { padding: 1.25rem; }

  /* Reduce stat tile padding */
  .stat-tile { padding: 1rem 1.25rem; }

  /* Modal padding reduction */
  .modal__body { padding: 1.25rem; }
  .modal__header { padding: 1rem 1.25rem; }
  .modal__footer { padding: 0.875rem 1.25rem; }

  /* Announcement card padding */
  .announcement-card { padding: 1rem 1.25rem; }

  /* Login card on mobile */
  .login-card { padding: 2rem 1.25rem; margin: 1rem; }
}


/* ========================================================================
   COMPREHENSIVE PORTAL MOBILE OVERRIDES (max-width: 768px)
   ======================================================================== */

@media (max-width: 768px) {
  /* Portal layout stacks vertically */
  .portal-layout { flex-direction: column; padding-top: 5rem; }

  /* Sidebar becomes a horizontal strip at the top */
  .portal-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.5rem;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .sidebar-nav__item {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Portal main content */
  .portal-main    { padding: 1.25rem 1rem; }
  .portal-section { padding: 1.25rem 1rem; }

  /* Stat tiles: 2 columns on mobile */
  .portal-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem; }
  .stat-tiles        { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem; }
  .stat-tile         { padding: 1rem; }
  .stat-tile__number { font-size: 1.5rem; }

  /* Tables: horizontal scroll */
  .portal-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .portal-table      { min-width: 500px; }
  table              { min-width: 500px; }

  /* Module grids: single column */
  .portal-modules-grid { grid-template-columns: 1fr !important; }

  .portal-section__title { font-size: 1.1rem; }

  /* Form rows stack */
  .form-row   { flex-direction: column; gap: 0.75rem; }
  .form-group { margin-bottom: 0.75rem; }

  .portal-header { padding: 1rem; }
}


/* ========================================================================
   ASSIGN ORDER PANEL (slide-in drawer)
   ======================================================================== */

.assign-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 799;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.assign-panel-overlay.open {
  opacity: 1;
  visibility: visible;
}

.assign-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background: white;
  box-shadow: -8px 0 40px rgba(0,0,0,0.14);
  z-index: 800;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}

.assign-panel.open { transform: translateX(0); }

.assign-panel__header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.assign-panel__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.assign-panel__close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.assign-panel__close:hover { background: var(--cream); color: var(--navy); }

.assign-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.assign-panel__order-info {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.assign-panel__order-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  padding: 0.28rem 0;
}

.assign-panel__order-info-row:first-child { padding-top: 0; }
.assign-panel__order-info-row:last-child  { padding-bottom: 0; }
.assign-panel__order-info-key { color: var(--text-light); }
.assign-panel__order-info-val { color: var(--text); font-weight: 600; }

.assign-panel__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-shrink: 0;
}


/* ========================================================================
   EMPTY STATES
   ======================================================================== */

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

.empty-state__icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.empty-state__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-state__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.3rem;
}

.empty-state__sub {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
}


/* ========================================================================
   DATA LOADING SPINNER
   ======================================================================== */

.data-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
}

.data-loading__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--blue-mid);
  border-radius: 50%;
  animation: dataSpin 0.65s linear infinite;
  flex-shrink: 0;
}

@keyframes dataSpin { to { transform: rotate(360deg); } }


/* ========================================================================
   SIDEBAR SIGN OUT BUTTON
   ======================================================================== */

.sidebar-signout {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 0.75rem;
  width: 100%;
  text-align: left;
  transition: color 0.15s;
}

.sidebar-signout:hover { color: rgba(255,255,255,0.75); }

.sidebar-signout svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* ========================================================================
   FORM CARD (generic white card for forms)
   ======================================================================== */

.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.form-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.form-card__sub {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}


/* ========================================================================
   INFO BANNER
   ======================================================================== */

.info-banner {
  background: var(--blue-pale);
  border: 1px solid rgba(61,90,71,0.18);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.65;
}

.info-banner strong { color: var(--navy); }


/* ========================================================================
   ORDER CARD (rep portal, my orders)
   ======================================================================== */

.order-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.order-card:hover { box-shadow: var(--shadow-md); }

.order-card__header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.order-card__id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-mid);
  letter-spacing: 0.03em;
}

.order-card__meta {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  flex-wrap: wrap;
}

.order-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.order-card__meta-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.order-card__meta-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.order-card__body {
  padding: 1.5rem;
}

.order-card__tracking {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.order-card__tracking-item { display: flex; flex-direction: column; gap: 0.2rem; }

.order-card__tracking-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.order-card__tracking-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}

.order-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}


/* ========================================================================
   SECTION ACTIONS ROW
   ======================================================================== */

.section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}


/* ========================================================================
   TOPBAR USER ACTIONS (sign out in topbar)
   ======================================================================== */

.topbar-signout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.topbar-signout:hover { background: var(--cream); color: var(--text); }

.topbar-signout svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ========================================================================
   STAFF DISTRICT AUTO-DETECT BANNER
   ======================================================================== */

.district-auto-banner {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.district-auto-banner__icon {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.district-auto-banner__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-mid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.district-auto-banner__body { flex: 1; }

.district-auto-banner__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.district-auto-banner__district {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
