/* ========================================================================
   NSN Ops Hub — Mobile-first “Google-product clean” CSS (replacement file)
   - Keeps existing class names working
   - Fixes iPhone overflow + scaling
   - No animations required (keeps your small transitions where harmless)
   ======================================================================== */

/* -------------------------
   0) Global defaults / resets
   ------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

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

:root {
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Palette (neutral + Google-ish primary) */
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-subtle: #f1f4f9;
  --color-border: #d9deea;
  --color-strong: #0f172a;
  --color-muted: #5f6b81;

  --color-primary: #2563eb;
  --color-primary-strong: #1d4ed8;

  --color-secondary: #64748b;
  --color-danger: #dc2626;
  --color-success: #16a34a;
  --color-warning: #d97706;
  --color-info: #0891b2;

  /* Shadows (subtle, consistent) */
  --shadow-soft: 0 1px 1px rgba(15, 23, 42, 0.04), 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 2px 4px rgba(15, 23, 42, 0.06), 0 18px 40px rgba(15, 23, 42, 0.10);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;

  /* iPhone safe-area support */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  --transition-fast: 150ms ease;
}

/* -------------------------
   1) Base typography
   ------------------------- */
body,
.app-body {
  background: var(--color-bg);
  color: var(--color-strong);
  font-family: var(--font-family);
  line-height: 1.55;
  min-height: 100svh; /* better on iOS */
}

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

a:hover,
a:focus-visible {
  color: var(--color-primary-strong);
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-strong);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  line-height: 1.25;
}

h1 { font-size: 1.45rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.10rem; }

p {
  margin: 0 0 var(--space-3);
}

.small-muted,
.small,
.text-muted {
  color: var(--color-muted) !important;
  font-size: 0.95rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* Utility gap + padding helpers used with UIkit classes */
.uk-gap-small {
  gap: var(--space-2);
}

.uk-gap-medium {
  gap: var(--space-4);
}

.uk-padding-small {
  padding: var(--space-2);
}

.uk-text-semibold {
  font-weight: 650;
}

.uk-text-emphasis {
  color: var(--color-strong);
}

.uk-label-secondary {
  background: var(--color-secondary);
  color: #fff;
}

.mb-1 {
  margin-bottom: var(--space-1);
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mt-1 {
  margin-top: var(--space-1);
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-3 {
  margin-top: var(--space-3);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-auto {
  margin-top: auto;
}

.ps-3 {
  padding-left: var(--space-4);
}

.pt-3 {
  padding-top: var(--space-4);
}

.py-2 {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

/* Focus styles (accessible, consistent) */
:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
  border-radius: 10px;
}

/* Prevent random horizontal scroll from wide children */
body {
  overflow-x: hidden;
}

/* -------------------------
   2) App shell layout
   ------------------------- */
.app-shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100svh;
  position: relative;
}

/* Desktop sidebar layout */
@media (min-width: 960px) {
  .app-shell {
    grid-template-columns: 260px 1fr;
  }
}

/* -------------------------
   3) Sidebar (iOS safe height + predictable overlay)
   ------------------------- */
.sidebar {
  background: linear-gradient(180deg, #eef1f8 0%, #e7ebf5 100%);
  border-right: 1px solid var(--color-border);
  padding: calc(var(--space-5) + var(--safe-top)) var(--space-4) var(--space-4);
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  max-width: min(90vw, 320px);
  height: 100dvh; /* critical for iOS */
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  z-index: 10;
  transform: translateX(-100%);
  transition: transform var(--transition-fast);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar .brand {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sidebar .badge-soft {
  margin-left: auto;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sidebar-nav button {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-weight: 650;
}

.sidebar-nav button:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-strong);
  border-color: rgba(15, 23, 42, 0.08);
}

.sidebar-nav button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.40);
  z-index: 9;
  display: none;
}

.app-shell.is-nav-open .sidebar {
  transform: translateX(0);
}

.app-shell.is-nav-open .sidebar-overlay {
  display: block;
}

.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* Desktop sidebar becomes static/sticky; no overlay */
@media (min-width: 960px) {
  .sidebar {
    position: sticky;
    inset: auto;
    top: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    transform: none;
    overflow: auto;
  }

  .sidebar-overlay {
    display: none !important;
  }

  .sidebar-toggle {
    display: none;
  }
}

/* -------------------------
   4) Content area
   ------------------------- */
.content {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--space-4) + var(--safe-top)) calc(var(--space-4) + var(--safe-right))
           calc(var(--space-6) + var(--safe-bottom)) calc(var(--space-4) + var(--safe-left));
}

/* Remove “magic padding-top hacks” on mobile:
   if you have a header, it should own its spacing.
   Keep content compact on phone. */
@media (max-width: 959px) {
  .content {
    padding-top: calc(var(--space-4) + var(--safe-top));
  }

  .content-header {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .content {
    padding: calc(var(--space-3) + var(--safe-top)) calc(var(--space-3) + var(--safe-right))
             calc(var(--space-5) + var(--safe-bottom)) calc(var(--space-3) + var(--safe-left));
  }
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.header-sub {
  color: var(--color-muted);
  font-weight: 500;
}

/* -------------------------
   5) Cards & sections
   ------------------------- */
.uk-card.uk-card-default {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.table-card {
  padding: 0;
  overflow: hidden;
}

/* Grid helpers */
.summary-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.dashboard-bottom-grid {
  grid-template-columns: 1fr 1fr 2fr;
}

.full-span {
  grid-column: 1 / -1;
}

.dashboard-span-2 {
  grid-column: span 2;
}

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

@media (max-width: 1100px) {
  .dashboard-bottom-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .dashboard-span-2,
  .full-span {
    grid-column: auto;
  }
}

.card-title,
.uk-card h4,
.uk-card h5,
.uk-card h6 {
  margin-bottom: var(--space-2);
}

/* -------------------------
   6) Buttons (touch friendly)
   ------------------------- */
.uk-button {
  border-radius: var(--radius-sm);
  font-weight: 650;
  min-height: 40px; /* better tap target */
}

.uk-button-small {
  min-height: 36px;
}

.uk-button-group .uk-button:first-child {
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.uk-button-group .uk-button:last-child {
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

/* -------------------------
   7) Forms
   ------------------------- */
.uk-form-label {
  color: var(--color-muted);
  font-weight: 650;
  margin-bottom: var(--space-1);
  display: inline-block;
}

.uk-input,
.uk-select,
textarea,
input,
select {
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 100%;
}

.toggle-control {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-strong);
}

.toggle-control input[type='checkbox'] {
  margin: 0;
}



/* -------------------------
   8) Tables (mobile-safe)
   ------------------------- */
.table {
  margin-bottom: 0;
  color: var(--color-strong);
  width: 100%;
  border-collapse: collapse;
}

.table thead {
  background: var(--color-subtle);
}

.table th,
.table td {
  border-color: rgba(15, 23, 42, 0.10);
  padding: 0.75rem;
  vertical-align: middle;
  white-space: nowrap; /* avoid weird wraps on narrow screens */
}

.table th {
  color: var(--color-muted);
  font-weight: 750;
  letter-spacing: 0.01em;
}

.table-hover tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

.table-active {
  background: rgba(37, 99, 235, 0.06) !important;
}

/* This is the key: make responsive wrapper actually scroll and not break layout */
.uk-overflow-auto {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

/* Ensure table doesn't overflow container */
.uk-overflow-auto .uk-table {
  min-width: 720px; /* gives consistent columns, scrolls on phone */
}

/* Action buttons should NOT force overflow on mobile */
.table-actions button {
  min-width: 0;
}

@media (max-width: 430px) {
  .uk-table th,
  .uk-table td {
    padding: 0.60rem;
  }

  .table-actions .uk-button {
    padding: 0.40rem 0.55rem;
    font-size: 0.92rem;
  }
}

/* Sorting */
.sort-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 750;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sort-btn:hover,
.sort-btn.is-active {
  color: var(--color-strong);
}

.sort-btn.justify-content-end {
  width: 100%;
  justify-content: flex-end;
}

.sort-indicator {
  font-size: 0.9em;
}

/* -------------------------
   9) Badges & pills
   ------------------------- */
.badge,
.badge-soft,
.status-pill,
.pill,
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  border-radius: 999px;
  padding: 0.25rem 0.60rem;
  font-weight: 650;
  font-size: 0.90rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--color-subtle);
  color: var(--color-strong);
}

.badge-soft {
  background: rgba(37, 99, 235, 0.10);
  color: #1e3a8a;
  border-color: rgba(37, 99, 235, 0.25);
}

.status-pill {
  color: var(--color-muted);
}

.status-pill--new {
  background: #eef2ff;
  border-color: rgba(79, 70, 229, 0.25);
  color: #312e81;
}

.status-pill--quoted {
  background: #e0f2fe;
  border-color: rgba(14, 165, 233, 0.30);
  color: #075985;
}

.status-pill--holding {
  background: #fff7ed;
  border-color: rgba(217, 119, 6, 0.30);
  color: #92400e;
}

.status-pill--confirmed {
  background: #ecfdf3;
  border-color: rgba(22, 163, 74, 0.25);
  color: #166534;
}

.status-pill--lost {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.25);
  color: #991b1b;
}

/* -------------------------
   11) View toggles & chips
   ------------------------- */
.view-toggle {
  display: inline-flex;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  background: var(--color-subtle);
  padding: var(--space-1);
  gap: var(--space-1);
  flex-wrap: wrap;
}

.view-toggle button {
  border: none;
  background: transparent;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-weight: 650;
}

.view-toggle button.active {
  background: var(--color-primary);
  color: #fff;
}

.chip {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  color: #1e3a8a;
}

.pill {
  background: var(--color-subtle);
  color: var(--color-muted);
}

/* -------------------------
   13) Charts / timeline / kanban (mobile tweaks)
   ------------------------- */
.bar-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  gap: var(--space-3);
  align-items: end;
  min-height: 220px;
}

.bar-chart-container {
  position: relative;
  min-height: 240px;
}

.bar-chart-gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chart-gridline {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-muted);
  font-size: 0.75rem;
}

.chart-axis-title {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.chart-gridline-label {
  width: 44px;
  text-align: right;
}

.chart-gridline-bar {
  flex: 1;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  margin-right: var(--space-2);
}

.bar-chart {
  margin-left: 56px;
}

.bar-stack {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
}

@media (max-width: 768px) {
  .bar-stack {
    height: 140px;
  }
}

.bar {
  width: 14px;
  border-radius: 10px 10px 6px 6px;
  background: var(--color-subtle);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.enquiries-bar {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.28);
}

.bookings-bar {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.28);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: var(--space-3);
  align-items: center;
}

@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
}

@media (max-width: 520px) {
  .kanban-board {
    grid-template-columns: 1fr;
  }
}

.kanban-card {
  background: var(--color-subtle);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
  box-shadow: var(--shadow-soft);
}

.kanban-empty {
  padding: var(--space-3);
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  text-align: center;
}

/* -------------------------
   14) Calendar — remove forced 840px min-width on mobile
   Approach: compress grid on mobile (simplest CSS-only improvement)
   - Month/week: 7 columns, but cells compact, minimal padding
   - No forced min-width; allow content to wrap inside cells
   ------------------------- */
.calendar-shell {
  padding: var(--space-4);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2);
  text-align: center;
  font-weight: 650;
}

.calendar-grid {
  display: grid;
  gap: var(--space-2);
  overflow-x: visible;
}

.calendar-grid--month {
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(120px, auto);
}

.calendar-grid--week {
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(120px, auto);
}

.calendar-grid--day {
  grid-template-columns: 1fr;
}

.calendar-cell {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  background: var(--color-subtle);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: none; /* reduce visual noise in dense grid */
  overflow: hidden;
}

.calendar-cell.is-today {
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.calendar-cell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-date {
  font-weight: 750;
  font-size: 0.95rem;
}

.calendar-events {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.calendar-event {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: var(--color-surface);
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  text-align: left;
  width: 100%;
  color: var(--color-strong);
  min-width: 0;
}

.calendar-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: var(--color-muted);
  font-size: 0.90rem;
}

/* Mobile compact calendar: tighter spacing + allow text wrap */
@media (max-width: 720px) {
  .calendar-shell {
    padding: var(--space-3);
  }

  .calendar-weekdays {
    gap: var(--space-1);
    font-size: 0.85rem;
  }

  .calendar-grid {
    gap: var(--space-1);
  }

  .calendar-grid--month,
  .calendar-grid--week {
    grid-auto-rows: minmax(86px, auto);
  }

  .calendar-cell {
    padding: 0.45rem;
    min-height: 84px;
    gap: 0.4rem;
  }

  .calendar-date {
    font-size: 0.85rem;
  }

  .calendar-event {
    padding: 0.35rem 0.45rem;
    font-size: 0.90rem;
  }

  /* Allow wrap inside cells to avoid overflow */
  .calendar-event,
  .calendar-event__meta {
    white-space: normal;
    word-break: break-word;
  }
}

/* -------------------------
   15) Helpers
   ------------------------- */
.label-with-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 650;
  color: var(--color-strong);
}

.hint-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-subtle);
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 11px;
  color: var(--color-muted);
  position: relative;
  cursor: help;
}

.hint-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.40rem 0.60rem;
  background: var(--color-strong);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-soft);
}

.hint-badge:hover::after {
  opacity: 1;
}

.assignment-suggestions {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2);
}

.assignment-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.assignment-option.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.assignment-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface);
}

.assignment-metrics {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: flex-end;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
}

.assignment-metric {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.assignment-fee-input {
  max-width: 140px;
}

@media (max-width: 640px) {
  .assignment-option,
  .assignment-pill {
    align-items: flex-start;
    flex-direction: column;
  }

  .assignment-metric.text-end {
    text-align: left !important;
  }
}

.quote-card {
  background: linear-gradient(135deg, #eef2ff 0%, #e8f5ff 100%);
}

.chart-card {
  min-height: 320px;
}

/* Portal timeline styles */
.portal-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.portal-card-header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: flex-start;
}

.portal-card-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.portal-status {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

.portal-summary {
  margin-top: var(--space-3);
}

.portal-subcard {
  padding: var(--space-3);
}

.portal-musicians {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portal-musician-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
}

.portal-musician-name {
  font-weight: 600;
}

.portal-fee {
  white-space: nowrap;
}

@media (max-width: 520px) {
  .portal-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-musician-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-fee {
    width: 100%;
  }
}

.tr[role="button"],
tr[role="button"] {
  cursor: pointer;
}
