:root {
  /* Brand High-Contrast Palette */
  --c-primary: #0f172a;
  /* Deep Slate Navy */
  --c-primary-dark: #020617;
  --c-primary-light: #1e293b;
  --c-accent: #10b981;
  /* Vibrant Emerald */
  --c-accent-hover: #059669;

  /* Text & Backgrounds */
  --c-bg-body: #f1f5f9;
  --c-bg-card: #ffffff;
  --c-bg-panel: #ffffff;
  --c-text-main: #0f172a;
  --c-text-muted: #64748b;
  --c-text-secondary: #475569;
  --c-border: #e2e8f0;

  /* Gradients */
  --grad-auth: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  --grad-marine: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);

  /* Metrics */
  --sidebar-width: 280px;
  --sidebar-collapsed-width: 80px;
  --header-height: 72px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --rad-lg: 16px;
  --rad-xl: 24px;

  --shadow-premium: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--c-bg-body);
  color: var(--c-text-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Shared chat UI helpers */
.btn-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.max-w-75 {
  max-width: 75%;
}

.fs-9 {
  font-size: 0.7rem;
}

.min-w-200 {
  min-width: 200px;
}

/* -------------------------------------
 * Ship_user UI kit (dashboard/catalog)
 * ------------------------------------- */
.card-hero {
  background: var(--grad-marine);
  position: relative;
}

.card-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 300px at 10% 0%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

.card-hero > .card-body {
  position: relative;
  z-index: 1;
}

.card-hero--marine {
  background: var(--grad-marine);
}

.dashboard-chips--compact {
  gap: 0.65rem;
}

.admin-dashboard-mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.admin-dashboard-catalog-table td {
  vertical-align: middle;
}

.hero-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-icon i {
  font-size: 1.35rem;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 800;
}

.hero-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  opacity: 0.8;
}

.hero-meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 800;
}

.hero-meta-value {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 575.98px) {
  .card-hero .hero-meta-value {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
  }
}

.stat-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.10);
}

/* Dashboard metric cards (company / supplier / ship) */
.dashboard-stats-row {
  --dashboard-metric-radius: var(--rad-xl, 1rem);
}

.dashboard-metric-card {
  position: relative;
  height: 100%;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: var(--dashboard-metric-radius);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 160%);
  box-shadow:
    0 4px 18px -6px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--dashboard-metric-radius) var(--dashboard-metric-radius) 0 0;
  opacity: 0.95;
}

.dashboard-metric-card--tone-0::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.dashboard-metric-card--tone-1::before {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.dashboard-metric-card--tone-2::before {
  background: linear-gradient(90deg, #6366f1, #4f46e5);
}

.dashboard-metric-card--tone-3::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.dashboard-metric-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 28px -8px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.dashboard-metric-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.dashboard-metric-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.dashboard-metric-card--tone-0 .dashboard-metric-card__icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.dashboard-metric-card--tone-1 .dashboard-metric-card__icon {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.dashboard-metric-card--tone-2 .dashboard-metric-card__icon {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}

.dashboard-metric-card--tone-3 .dashboard-metric-card__icon {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.dashboard-metric-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  white-space: nowrap;
}

.dashboard-metric-card__value {
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--c-text-main, #0f172a);
  font-variant-numeric: tabular-nums;
}

.dashboard-metric-card__label {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted, #64748b);
  line-height: 1.35;
}

.dashboard-metric-card__hint {
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #94a3b8;
}

/* Admin dashboard — metrik kartları */
.dashboard-root--admin .admin-stat-card {
  position: relative;
  height: 100%;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--rad-xl);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 160%);
  box-shadow:
    0 4px 18px -6px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-root--admin .admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--rad-xl) var(--rad-xl) 0 0;
  opacity: 0.95;
}

.dashboard-root--admin .admin-stat-card--tone-0::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.dashboard-root--admin .admin-stat-card--tone-1::before {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.dashboard-root--admin .admin-stat-card--tone-2::before {
  background: linear-gradient(90deg, #6366f1, #4f46e5);
}

.dashboard-root--admin .admin-stat-card--tone-3::before {
  background: linear-gradient(90deg, #0f172a, #475569);
}

.dashboard-root--admin .admin-stat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 28px -8px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.dashboard-root--admin .admin-stat-card__icon-wrap {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.dashboard-root--admin .admin-stat-card--tone-0 .admin-stat-card__icon-wrap {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.dashboard-root--admin .admin-stat-card--tone-1 .admin-stat-card__icon-wrap {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.dashboard-root--admin .admin-stat-card--tone-2 .admin-stat-card__icon-wrap {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}

.dashboard-root--admin .admin-stat-card--tone-3 .admin-stat-card__icon-wrap {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.dashboard-root--admin .admin-stat-card__value {
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--c-text-main);
  font-variant-numeric: tabular-nums;
}

.dashboard-root--admin .admin-stat-card__label {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  line-height: 1.35;
}

.stat-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.stat-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.dashboard-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .dashboard-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.chip {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

.chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chip-label {
  font-weight: 800;
  color: var(--c-text-main);
}

.chip-count {
  font-weight: 900;
  color: var(--c-primary);
}

.chip-meter {
  margin-top: 0.6rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.chip-meter-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.9), rgba(15, 23, 42, 0.9));
}

.chip--draft {
  border-color: rgba(245, 158, 11, 0.22);
}
.chip--draft .chip-count,
.chip--draft .chip-label {
  color: rgba(180, 83, 9, 1);
}
.chip-meter-bar--draft {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.92), rgba(245, 158, 11, 0.28));
}

.chip--submitted {
  border-color: rgba(59, 130, 246, 0.22);
}
.chip--submitted .chip-count,
.chip--submitted .chip-label {
  color: rgba(30, 64, 175, 1);
}
.chip-meter-bar--submitted {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.92), rgba(59, 130, 246, 0.28));
}

.chip--revision {
  border-color: rgba(249, 115, 22, 0.22);
}
.chip--revision .chip-count,
.chip--revision .chip-label {
  color: rgba(154, 52, 18, 1);
}
.chip-meter-bar--revision {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.92), rgba(249, 115, 22, 0.28));
}

.chip--merged {
  border-color: rgba(16, 185, 129, 0.22);
}
.chip--merged .chip-count,
.chip--merged .chip-label {
  color: rgba(6, 95, 70, 1);
}
.chip-meter-bar--merged {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.92), rgba(16, 185, 129, 0.28));
}

.chip--cancelled {
  border-color: rgba(148, 163, 184, 0.32);
}
.chip--cancelled .chip-count,
.chip--cancelled .chip-label {
  color: rgba(51, 65, 85, 1);
}
.chip-meter-bar--cancelled {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.92), rgba(148, 163, 184, 0.28));
}

.chip--neutral .chip-meter-bar--neutral {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.22));
}

/* Dashboard status distribution */
.dashboard-dist-card {
  overflow: hidden;
}

.dashboard-dist-head__icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.18);
  flex-shrink: 0;
}

.dashboard-dist-total-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #334155;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.16);
  white-space: nowrap;
}

.dashboard-dist {
  display: grid;
  grid-template-columns: minmax(9rem, 11rem) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: center;
}

.dashboard-dist__chart-wrap {
  display: flex;
  justify-content: center;
}

.dashboard-dist__chart {
  position: relative;
  width: 9.5rem;
  height: 9.5rem;
}

.dashboard-dist__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dashboard-dist__ring-segment {
  transition: stroke-dasharray 0.45s ease, stroke-dashoffset 0.45s ease;
}

.dashboard-dist__chart-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.dashboard-dist__chart-total {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.dashboard-dist__chart-label {
  margin-top: 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  max-width: 5.5rem;
  line-height: 1.25;
}

.dashboard-dist__legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.25rem;
}

.dashboard-dist__legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.dashboard-dist__legend-item:not(.is-zero):hover {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.06);
}

.dashboard-dist__legend-item.is-zero {
  opacity: 0.42;
}

.dashboard-dist__legend-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.dashboard-dist__legend-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-dist__legend-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
}

.dashboard-dist__legend-count {
  font-size: 0.875rem;
  font-weight: 900;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.dashboard-dist__legend-pct {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
  .dashboard-dist {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .dashboard-dist-total-badge {
    width: 100%;
    justify-content: center;
  }
}

.dashboard-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dashboard-table-head th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.dashboard-root .table-responsive {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 576px) {
  .stat-card {
    padding: 1rem;
  }
  .stat-value {
    font-size: 2.1rem;
  }
  .dashboard-table td,
  .dashboard-table th {
    white-space: nowrap;
  }
}

/* Catalog components */
.catalog-hero {
  background: var(--c-primary) 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.05'%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");
}

.search-pill {
  border-radius: 999px;
  overflow: hidden;
}

.catalog-search-input {
  box-shadow: none !important;
}

.catalog-filter-bar {
  white-space: nowrap;
}

.pill-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.pill-row::-webkit-scrollbar {
  height: 6px;
}
.pill-row::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
}

.pill {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  font-weight: 800;
  transition: all var(--transition);
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.10);
}

.pill.is-active {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(15, 23, 42, 0.92);
  color: #fff;
}

.catalog-grid-loading {
  min-height: 260px;
  display: grid;
  place-items: center;
}

.skeleton {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.06));
  background-size: 200% 100%;
  animation: skeleton 1.2s ease-in-out infinite;
  border-radius: 16px;
}

@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

.catalog-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.catalog-cta .cart-badge {
  transform: translateY(-1px);
}

/* Requests (ship_user) cards */
/* ─── My Requests — card grid ─────────────────────────────── */
.request-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 992px) {
  .request-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* ─── Card shell ───────────────────────────────────────────── */
.request-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.request-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.11), 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Left accent stripe */
.request-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 20px 0 0 20px;
}

.request-card--draft::before    { background: #f59e0b; }
.request-card--submitted::before { background: #3b82f6; }
.request-card--revision::before  { background: #f97316; }
.request-card--merged::before    { background: #10b981; }
.request-card--cancelled::before { background: #94a3b8; }

/* ─── Header ───────────────────────────────────────────────── */
.request-card-header {
  padding: 1rem 1.25rem 0.85rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.02);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.request-card-title {
  min-width: 0;
}

.request-ref {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--c-primary);
  font-size: 0.95rem;
  font-family: 'Courier New', monospace;
}

.request-meta {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.rc-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  margin: 0 0.1rem;
}

.request-card-badges {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.4rem;
}

/* ─── Status badges ────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}

.status-badge--neutral   { background: rgba(15,23,42,0.06); color: var(--c-text-main); }
.status-badge--draft     { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: #92400e; }
.status-badge--submitted { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); color: #1e40af; }
.status-badge--revision  { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.3); color: #9a3412; }
.status-badge--merged    { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); color: #065f46; }
.status-badge--cancelled { background: rgba(148,163,184,0.15); border-color: rgba(148,163,184,0.3); color: #334155; }
.status-badge--soft      { background: rgba(15,23,42,0.06); color: var(--c-primary); border-color: rgba(15,23,42,0.08); }

/* ─── Body ─────────────────────────────────────────────────── */
.request-card-body {
  padding: 1rem 1.25rem 1rem 1.5rem;
  flex: 1;
}

.request-updated {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  border-bottom: 1px dashed rgba(15,23,42,0.07);
  padding-bottom: 0.75rem;
}

.request-updated .fw-bold { color: var(--c-text-main); }

/* ─── Product lines ────────────────────────────────────────── */
.request-lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.request-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: rgba(15, 23, 42, 0.025);
  border: 1px solid rgba(15, 23, 42, 0.055);
  border-radius: 12px;
  transition: background 0.15s;
}

.request-line:hover {
  background: rgba(15, 23, 42, 0.045);
}

.request-line-main { min-width: 0; flex: 1; }

.request-line-code {
  font-weight: 700;
  font-size: 0.73rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.request-line-name {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--c-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

.request-line-qty {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--c-primary);
  white-space: nowrap;
  background: rgba(10,36,65,0.07);
  border-radius: 8px;
  padding: 0.2rem 0.55rem;
}

/* ─── Toggle (show all) ────────────────────────────────────── */
.request-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  margin-top: 0.7rem;
  color: var(--c-primary);
  opacity: 0.75;
  transition: opacity 0.15s;
}

.request-toggle:hover { opacity: 1; text-decoration: none; }

.request-toggle .toggle-chevron {
  transition: transform 0.25s ease;
  font-size: 0.7rem;
}

.request-toggle[aria-expanded="true"] .toggle-chevron {
  transform: rotate(180deg);
}

/* ─── Port info button & popover ──────────────────────────── */
.port-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0 0 0 0.25rem;
  cursor: pointer;
  color: var(--c-primary);
  opacity: 0.5;
  font-size: 0.78rem;
  line-height: 1;
  vertical-align: middle;
  transition: opacity 0.15s;
}

.port-info-btn:hover,
.port-info-btn:focus {
  opacity: 1;
  outline: none;
}

.port-info-popover .popover-header {
  background: var(--c-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 12px 12px 0 0;
  padding: 0.55rem 0.9rem;
}

.port-info-popover .popover-body {
  padding: 0.6rem 0.9rem 0.75rem;
}

.port-info-popover .popover {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  min-width: 200px;
}

.ppi-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ppi-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ppi-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--c-text-main);
}

.ppi-icon {
  color: var(--c-primary);
  opacity: 0.65;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

/* ─── Header responsive ────────────────────────────────────── */
@media (max-width: 479.98px) {
  .request-card-header {
    flex-direction: column;
    gap: 0.6rem;
  }
  .request-card-badges {
    justify-content: flex-start;
  }
}

/* ─── Card footer — action buttons ────────────────────────── */
.request-card-footer {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(15, 23, 42, 0.015);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.rc-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.84rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  text-decoration: none;
  line-height: 1;
}

.rc-action-btn + .rc-action-btn {
  border-left: 1px solid rgba(15, 23, 42, 0.07);
}

.rc-action-btn--primary {
  color: var(--c-primary);
}

.rc-action-btn--primary:hover {
  background: rgba(10, 36, 65, 0.07);
  color: var(--c-primary);
}

.rc-action-btn--danger {
  color: #dc2626;
}

.rc-action-btn--danger:hover {
  background: rgba(220, 38, 38, 0.07);
  color: #dc2626;
}

/* Glassmorphism Refined */
.glass {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.shadow-premium {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Override Bootstrap for High Contrast */
.text-secondary {
  color: var(--c-text-secondary) !important;
}

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

.br-md {
  border-radius: var(--radius-md) !important;
}

.br-lg {
  border-radius: var(--radius-lg) !important;
}

.br-xl {
  border-radius: var(--radius-xl) !important;
}

.btn-primary {
  background: var(--c-primary);
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  color: #fff;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-soft-primary {
  background-color: rgba(10, 36, 65, 0.1);
  color: var(--c-primary);
  border: none;
  font-weight: 600;
}

.btn-soft-primary:hover {
  background-color: var(--c-primary);
  color: #fff;
}

/* Modern Table */
.table-modern {
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  width: 100%;
}

.table-modern thead th {
  border: none;
  color: var(--c-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 1rem 1.5rem;
}

.card-dashboard {
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--c-border);
  transition: all var(--transition);
}

.card-dashboard:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-top: 0.5rem;
  line-height: 1;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-modern tbody tr {
  background: var(--c-bg-card);
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  border-radius: 12px;
}

.table-modern tbody tr:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table-modern tbody td {
  border: none;
  padding: 1.25rem 1.5rem;
  vertical-align: middle;
}

.table-modern tbody td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.table-modern tbody td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* -------------------------------------
 * AUTHENTICATION LAYOUT
 * ------------------------------------- */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-auth);
  padding: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--c-bg-panel);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 3.5rem;
  animation: slideUp 0.4s ease-out;
}

.auth-logo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-logo--on-light {
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-logo--on-light .app-brand-logo--on-primary {
  max-height: 4.35rem;
  width: auto;
  display: block;
  padding: 0.65rem 1.2rem;
  background: var(--grad-marine);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
}

/* White mark: dark hero (login) & dark sidebar */
.app-brand-logo {
  height: auto;
  display: block;
}

.app-brand-logo--auth-hero {
  max-height: clamp(3rem, 5vw, 4.25rem);
  width: auto;
  max-width: min(11rem, 100%);
}

.app-brand-logo--sidebar {
  max-height: 3rem;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
  object-position: left center;
}

/* Login — split layout (modern) */
.auth-wrapper--login {
  display: block;
  padding: 0;
  align-items: stretch;
  background: var(--c-bg-body);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 992px) {
  .auth-page {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.auth-page__hero {
  position: relative;
  background: var(--grad-marine);
  color: #fff;
  padding: 2.5rem 1.75rem 2rem;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

@media (min-width: 992px) {
  .auth-page__hero {
    padding: 3rem 2.75rem;
    min-height: 100vh;
    align-items: center;
  }
}

.auth-page__hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.auth-page__hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -120px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, transparent 68%);
  pointer-events: none;
}

.auth-page__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  margin: 0 auto;
  width: 100%;
}

.auth-page__brand {
  margin-bottom: 1.25rem;
  line-height: 0;
}

.auth-page__lead {
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.auth-page__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-page__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  opacity: 0.95;
}

.auth-page__feature-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #6ee7b7;
  margin-top: 0.1rem;
}

.auth-page__column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.25rem 2.5rem;
  min-height: 0;
}

@media (min-width: 992px) {
  .auth-page__column {
    padding: 2.5rem 2rem;
    min-height: 100vh;
  }
}

@media (max-width: 991.98px) {
  .auth-page__hero {
    order: 2;
  }

  .auth-page__column {
    order: 1;
    padding-top: 2.25rem;
  }

  .auth-page__lead {
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
  }

  .auth-page__features {
    gap: 0.65rem;
  }
}

.auth-card--login {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.75rem 2.25rem;
  border-radius: var(--rad-xl);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.05),
    0 24px 48px -12px rgba(15, 23, 42, 0.12);
  animation: slideUp 0.45s ease-out;
}

@media (min-width: 576px) {
  .auth-card--login {
    padding: 2.35rem 2.25rem 2.5rem;
  }
}

.auth-card__head {
  margin-bottom: 1.75rem;
}

.auth-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-text-main);
  margin: 0 0 0.35rem;
}

.auth-card__subtitle {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.auth-lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--c-border);
  gap: 2px;
}

.auth-lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-text-muted);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-lang__btn:hover {
  color: var(--c-text-main);
  background: rgba(255, 255, 255, 0.85);
}

.auth-lang__btn.is-active {
  color: #fff;
  background: var(--c-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.auth-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text-secondary);
  letter-spacing: 0.01em;
}

.auth-link-muted {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  white-space: nowrap;
}

.auth-link-muted:hover {
  color: var(--c-accent-hover);
  text-decoration: underline;
}

.auth-field-group .auth-field-addon {
  background: #f8fafc;
  border-color: var(--c-border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  color: var(--c-text-muted);
}

.auth-field-group .auth-field-input {
  border-left: none;
  border-radius: 0 12px 12px 0;
  padding-left: 0.25rem;
}

.auth-field-group:focus-within .auth-field-addon {
  border-color: var(--c-accent);
}

.auth-field-group:focus-within .auth-field-input {
  border-color: var(--c-accent);
}

.auth-password-wrap .auth-field-group .auth-field-input--password {
  padding-right: 3rem;
}

.auth-password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--c-text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.auth-password-toggle:hover {
  color: var(--c-primary);
  background: rgba(15, 23, 42, 0.05);
}

.auth-password-toggle:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.auth-remember .form-check-input {
  width: 1.05em;
  height: 1.05em;
  margin-top: 0.15em;
  border-radius: 6px;
  cursor: pointer;
}

.auth-remember .form-check-label {
  font-size: 0.9rem;
  color: var(--c-text-secondary);
  cursor: pointer;
  padding-left: 0.15rem;
}

.auth-submit-btn {
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.auth-submit-btn:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.auth-submit-icon {
  font-size: 0.85em;
  opacity: 0.95;
}

.auth-page__footnote {
  margin: 1.5rem auto 0;
  max-width: 420px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.auth-page__footnote-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

.form-control-custom {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--c-text-main);
  transition: all 0.2s;
}

.form-control-custom:focus {
  background: #fff;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
  outline: none;
}

.users-admin-department-readonly {
  cursor: default;
  opacity: 1;
}

/* -------------------------------------
 * MAIN PANEL LAYOUT
 * ------------------------------------- */
.app-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar Modern Refined */
.app-sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.app-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.app-sidebar > * {
  position: relative;
  z-index: 1;
}

.sidebar-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 0.5rem;
}

.sidebar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  color: inherit;
}

.sidebar-nav {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 99px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 12px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  transform: translateX(4px);
}

.sidebar-nav-item.active {
  background: rgba(16, 185, 129, 0.1);
  color: #fff;
}

.sidebar-nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background: var(--grad-emerald);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.sidebar-nav-icon {
  font-size: 1.15rem;
  width: 24px;
  display: flex;
  justify-content: center;
  color: #64748b;
  transition: color 0.3s;
}

.sidebar-nav-item.active .sidebar-nav-icon,
.sidebar-nav-item:hover .sidebar-nav-icon {
  color: var(--c-accent);
}

/* Sidebar Collapsed (Desktop) */
.sidebar-collapsed .app-sidebar {
  width: var(--sidebar-collapsed-width);
}

.sidebar-collapsed .sidebar-header {
  justify-content: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.sidebar-collapsed .app-brand-logo--sidebar {
  max-width: 6.4rem;
  max-height: 3.5rem;
  object-position: center;
  margin-left: 2rem;
}

.sidebar-collapsed .sidebar-nav-item span {
  display: none;
}

/* Tenant company branding (fleet operator) */
.tenant-company-sidebar {
  margin: 0 1rem 0.75rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tenant-company-sidebar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.tenant-company-sidebar__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.tenant-company-sidebar__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
  word-break: break-word;
}

.tenant-company-sidebar__code {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.2;
}

.tenant-company-logo {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tenant-company-logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.2rem;
  box-sizing: border-box;
}

.tenant-company-logo__initial {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.tenant-company-header-chip {
  display: none;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  max-width: min(42vw, 16rem);
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.tenant-company-header-chip__logo.tenant-company-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.tenant-company-header-chip__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.sidebar-collapsed .tenant-company-sidebar__text {
  display: none;
}

.sidebar-collapsed .tenant-company-sidebar {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding: 0.5rem;
}

.sidebar-collapsed .tenant-company-sidebar__inner {
  justify-content: center;
}

.sidebar-collapsed .tenant-company-header-chip:not(.d-none) {
  display: flex;
}

@media (max-width: 991.98px) {
  .tenant-company-header-chip:not(.d-none) {
    display: flex;
  }
}

.sidebar-collapsed .sidebar-nav-item {
  justify-content: center;
  padding: 12px;
}

/* Main Content Area */
.app-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: var(--c-bg-body);
  background-image:
    radial-gradient(1000px 420px at 100% -80px, rgba(16, 185, 129, 0.07), transparent 55%),
    radial-gradient(900px 380px at -10% 100%, rgba(15, 23, 42, 0.05), transparent 50%);
  background-attachment: local;
}

.sidebar-collapsed .app-main {
  margin-left: var(--sidebar-collapsed-width);
}

/* Header Refined */
.app-header {
  height: var(--header-height);
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.app-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(16, 185, 129, 0.35) 45%,
    rgba(16, 185, 129, 0.15) 100%
  );
  opacity: 0.9;
  pointer-events: none;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sidebar-toggle {
  background: #f1f5f9;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--c-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-toggle:hover {
  background: var(--c-primary);
  color: #fff;
  transform: rotate(90deg);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-action {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-secondary);
  border-radius: 12px;
  transition: all 0.3s;
  background: transparent;
}

.header-action:hover {
  background: #f1f5f9;
  color: var(--c-primary);
  transform: translateY(-2px);
}

.app-header .badge-indicator {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, -40%);
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: #ef4444;
  border-radius: 999px;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.35);
  white-space: nowrap;
  pointer-events: none;
}

.app-header .user-dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 14px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-header .user-dropdown:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-premium);
  transform: translateY(-1px);
}

.app-header .user-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
  text-align: right;
}

.app-header .user-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-primary);
  display: block;
}

.app-header .user-role {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.app-header .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 55%, #047857 180%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-header .lang-btn {
  background: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--c-text-main);
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.app-header .lang-btn:hover {
  background: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Content Area Modern Refined */
.app-content {
  padding: clamp(1.15rem, 2.5vw, 2rem);
  flex: 1;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
}

.page-head {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.page-head-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

@media (min-width: 768px) {
  .page-head-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
  }
}

.page-head-actions:empty {
  display: none;
}

.page-title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--c-primary);
  margin-bottom: 0.35rem;
}

.breadcrumb-custom {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  line-height: 1.4;
}

.breadcrumb-custom::before {
  content: "";
  display: block;
  width: 3px;
  height: 1rem;
  border-radius: 99px;
  background: var(--grad-emerald);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.card-dashboard {
  background: var(--c-bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-dashboard:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
}

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--c-primary);
  margin-top: 0.75rem;
  line-height: 1;
  letter-spacing: -1px;
}

/* Captain dashboard */
.dashboard-root--captain .dashboard-captain-stat .dashboard-captain-stat__icon {
  color: rgba(15, 23, 42, 0.18);
  font-size: 1.35rem;
  line-height: 1;
}

.dashboard-root--captain .dashboard-captain-actions {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 130%);
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.dashboard-root--captain .dashboard-captain-badge--merged {
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

.dashboard-root--captain .dashboard-captain-badge--draft {
  border-color: rgba(59, 130, 246, 0.35) !important;
  color: #1d4ed8 !important;
  background: rgba(59, 130, 246, 0.08) !important;
}

.dashboard-root--captain .dashboard-captain-badge--submitted {
  border-color: rgba(14, 165, 233, 0.35) !important;
  color: #0369a1 !important;
  background: rgba(14, 165, 233, 0.08) !important;
}

.dashboard-root--captain .dashboard-captain-badge--revision {
  border-color: rgba(245, 158, 11, 0.45) !important;
  color: #b45309 !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

.dashboard-root--captain .dashboard-captain-badge--cancelled {
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #b91c1c !important;
  background: rgba(239, 68, 68, 0.06) !important;
}

.captain-readonly-hint {
  max-width: 22rem;
}

/* Fleet spending dashboard */
.fleet-spending-card {
  overflow: hidden;
}

.fleet-spending-head__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #0284c7;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.18);
  flex-shrink: 0;
}

.fleet-spending-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.22);
  white-space: nowrap;
}

.fleet-spending-quote-badge::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
  color: #0284c7;
}

.fleet-spending-quote-badge--zero {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: #64748b;
}

.fleet-spending-quote-badge--zero::before {
  color: #94a3b8;
}

.fleet-spending-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fleet-spending-preset {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: all 0.18s ease;
  cursor: pointer;
}

.fleet-spending-preset:hover {
  border-color: rgba(15, 23, 42, 0.18);
  color: #0f172a;
  background: #f8fafc;
}

.fleet-spending-preset.active {
  background: var(--c-primary, #0f172a);
  border-color: var(--c-primary, #0f172a);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(15, 23, 42, 0.35);
}

.fleet-spending-toolbar {
  padding: 1.1rem 1.15rem;
  background: linear-gradient(165deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 160%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.08);
}

.fleet-spending-toolbar__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted, #64748b);
  margin-bottom: 0.35rem;
}

.fleet-spending-toolbar__apply {
  min-height: calc(2.25rem + 2px);
}

.fleet-spending-total-card {
  position: relative;
  border-radius: var(--rad-xl, 1rem);
  padding: 1.1rem 1.15rem 1.15rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 160%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 4px 18px -6px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset;
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fleet-spending-total-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--rad-xl, 1rem) var(--rad-xl, 1rem) 0 0;
}

.fleet-spending-total-card--tone-0::before { background: linear-gradient(90deg, #0ea5e9, #0284c7); }
.fleet-spending-total-card--tone-1::before { background: linear-gradient(90deg, #6366f1, #4f46e5); }
.fleet-spending-total-card--tone-2::before { background: linear-gradient(90deg, #14b8a6, #0d9488); }
.fleet-spending-total-card--tone-3::before { background: linear-gradient(90deg, #f97316, #ea580c); }

.fleet-spending-total-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px -8px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.fleet-spending-total-card__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.fleet-spending-total-card--tone-0 .fleet-spending-total-card__icon { background: rgba(14, 165, 233, 0.12); color: #0284c7; }
.fleet-spending-total-card--tone-1 .fleet-spending-total-card__icon { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }
.fleet-spending-total-card--tone-2 .fleet-spending-total-card__icon { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
.fleet-spending-total-card--tone-3 .fleet-spending-total-card__icon { background: rgba(249, 115, 22, 0.12); color: #ea580c; }

.fleet-spending-total-card__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted, #64748b);
  margin-bottom: 0.35rem;
}

.fleet-spending-total-card__value {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.fleet-spending-panel {
  border-radius: var(--rad-xl, 1rem);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 18px -8px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.fleet-spending-panel__head {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.85);
}

.fleet-spending-panel__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #334155;
}

.fleet-spending-charts {
  padding: 1rem 1.15rem 1.15rem;
}

.fleet-spending-chart-block + .fleet-spending-chart-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
}

.fleet-spending-chart-block__head {
  margin-bottom: 0.85rem;
}

.fleet-spending-chart-block__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fleet-spending-chart-block__badge--tone-0 { background: rgba(14, 165, 233, 0.12); color: #0284c7; }
.fleet-spending-chart-block__badge--tone-1 { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }
.fleet-spending-chart-block__badge--tone-2 { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
.fleet-spending-chart-block__badge--tone-3 { background: rgba(249, 115, 22, 0.12); color: #ea580c; }

.fleet-spending-chart-block__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.5rem;
  min-height: 190px;
  background-image:
    linear-gradient(to top, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 30px;
  border-radius: 0.65rem;
}

.fleet-spending-bar {
  flex: 0 0 76px;
  min-width: 76px;
  text-align: center;
}

.fleet-spending-bar__track {
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.fleet-spending-bar__fill {
  width: 100%;
  max-width: 44px;
  border-radius: 0.55rem 0.55rem 0.2rem 0.2rem;
  min-height: 6px;
  transition: height 0.35s ease;
}

.fleet-spending-bar__fill--tone-0 { background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%); }
.fleet-spending-bar__fill--tone-1 { background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%); }
.fleet-spending-bar__fill--tone-2 { background: linear-gradient(180deg, #2dd4bf 0%, #14b8a6 100%); }
.fleet-spending-bar__fill--tone-3 { background: linear-gradient(180deg, #fb923c 0%, #f97316 100%); }

.fleet-spending-bar__label {
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.25;
}

.fleet-spending-bar__amount {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.fleet-spending-table-wrap {
  max-height: 360px;
}

.fleet-spending-table td {
  vertical-align: middle;
}

.fleet-spending-table-empty {
  padding: 1.5rem 1rem !important;
  border: 0 !important;
}

.fleet-spending-ship-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.fleet-spending-ship-cell__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.fleet-spending-ship-cell__name {
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fleet-spending-currency-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #334155;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.fleet-spending-amount-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  min-width: 7.5rem;
}

.fleet-spending-amount-cell__value {
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.fleet-spending-amount-cell__meter {
  display: block;
  width: 100%;
  max-width: 6.5rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.fleet-spending-amount-cell__meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.fleet-spending-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--rad-xl, 1rem);
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background: linear-gradient(165deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.fleet-spending-empty__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.04);
}

.fleet-spending-empty__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.fleet-spending-empty__hint {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .fleet-spending-head__icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .fleet-spending-quote-badge {
    width: 100%;
    justify-content: center;
  }

  .fleet-spending-table-wrap {
    max-height: none;
  }
}

/* -------------------------------------
 * MOBILE OVERLAY
 * ------------------------------------- */
@media (max-width: 991px) {
  .app-sidebar {
    left: calc(var(--sidebar-width) * -1.1);
  }

  .app-sidebar.mobile-open {
    left: 0;
  }

  .app-main {
    margin-left: 0 !important;
  }

  .sidebar-toggle {
    display: flex;
  }
}

/* Company panel — plan Faz 5 UI */
.card-gradient-auth {
  background: var(--grad-auth);
}

@media (min-width: 992px) {
  .company-sticky-actions {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
  }
}

.company-filter-toolbar .form-label {
  letter-spacing: 0.04em;
}

.assign-supplier-row {
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.assign-supplier-row:hover {
  border-color: rgba(15, 23, 42, 0.15) !important;
  box-shadow: var(--shadow-hover);
}

.company-category-accordion .accordion-button:not(.collapsed) {
  background: rgba(15, 23, 42, 0.04);
  color: var(--c-primary);
}

/* Final Polish */

/* -------------------------------------
 * PROFILE (ship_user)
 * ------------------------------------- */
.profile-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* -------------------------------------
 * SUPPLIER PORTAL (supplier_user)
 * ------------------------------------- */
.supplier-inbox-hero,
.supplier-history-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, var(--c-primary) 100%);
}

.supplier-inbox-hero-icon,
.supplier-quote-summary-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg, 16px);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.supplier-inbox-hero-icon {
  color: #fff;
}

.supplier-quote-summary-icon {
  color: var(--c-primary);
  background: rgba(10, 36, 65, 0.08);
}

.supplier-inbox-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.supplier-inbox-card {
  transition: box-shadow var(--transition, 0.25s ease), transform var(--transition, 0.25s ease);
}

.supplier-inbox-card:active {
  transform: scale(0.99);
}

.supplier-inbox-table-scroll {
  -webkit-overflow-scrolling: touch;
}

.supplier-inbox-table {
  font-size: 0.875rem;
  --inbox-border: rgba(10, 36, 65, 0.08);
}

.supplier-inbox-table--compact tbody td {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  vertical-align: middle;
  border-color: var(--inbox-border);
}

.supplier-inbox-table--compact tbody tr {
  border-bottom: 1px solid var(--inbox-border);
}

.supplier-inbox-thead th {
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.85));
  border-bottom: 1px solid var(--inbox-border) !important;
}

.supplier-inbox-row {
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.supplier-inbox-row:hover {
  background-color: rgba(10, 36, 65, 0.03) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.supplier-inbox-summary {
  min-width: 0;
  max-width: 22rem;
}

.supplier-ship-fleet-cell {
  min-width: 0;
  line-height: 1.35;
}

.supplier-inbox-note {
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.supplier-inbox-route {
  border-radius: 0 0.35rem 0.35rem 0;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.supplier-inbox-kalem-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.2rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0a2441;
  background: linear-gradient(145deg, rgba(10, 36, 65, 0.07), rgba(10, 36, 65, 0.03));
  border: 1px solid rgba(10, 36, 65, 0.1);
  border-radius: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.supplier-inbox-status-pill {
  max-width: 100%;
}

@media (min-width: 1200px) {
  .supplier-inbox-table--compact .supplier-inbox-summary {
    max-width: 24rem;
  }
}

.supplier-inbox-table .supplier-inbox-actions {
  white-space: nowrap;
}

.supplier-inbox-card .supplier-inbox-card-note {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.supplier-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.supplier-badge--pending {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.supplier-badge--quoted {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.supplier-badge--success {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.supplier-badge--danger {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.supplier-badge--neutral {
  background: rgba(15, 23, 42, 0.06);
  color: var(--c-text-muted);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.supplier-quote-main {
  width: 100%;
  max-width: none;
}

.supplier-quote-pricing {
  margin-top: 0.5rem;
}

.supplier-quote-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.supplier-quote-table {
  table-layout: fixed;
  min-width: 720px;
}

.supplier-quote-th-product,
.supplier-quote-td-product {
  width: 36%;
}

.supplier-quote-td-price .form-control {
  min-width: 5.5rem;
}

.supplier-quote-currency-select {
  min-width: 4.25rem;
  padding-left: 0.35rem;
  padding-right: 1.75rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.supplier-quote-context {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 1) 50%);
  border: 1px solid rgba(10, 36, 65, 0.08) !important;
}

.supplier-quote-ctx-tile {
  min-height: 3.5rem;
  padding: 0.15rem 0;
}

.supplier-quote-unified-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

@media (min-width: 576px) {
  .supplier-quote-unified-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.1rem;
  }
}

@media (min-width: 992px) {
  .supplier-quote-unified-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .supplier-quote-unified-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .supplier-quote-unified-tiles {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem 0.85rem;
  }
}

.supplier-quote-unified-tile-label {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.supplier-quote-ctx-kalem {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0a2441;
  line-height: 1.2;
}

.supplier-quote-product-name {
  line-height: 1.35;
}

.supplier-quote-sku {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.supplier-quote-desc {
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.supplier-quote-table .supplier-quote-product-cell {
  min-width: 0;
  max-width: none;
}

@media (max-width: 767.98px) {
  .supplier-quote-table {
    min-width: 640px;
  }
}

.supplier-quote-meta li span.text-uppercase,
.supplier-quote-meta .fs-8 {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

/* Admin — global supplier modal: ports & categories picker */
.admin-sup-picker.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.admin-sup-picker .card-header {
  border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
  flex-shrink: 0;
}

.admin-sup-picker .card-footer {
  flex-shrink: 0;
}

.admin-sup-picker__scroll {
  flex: 1 1 auto;
  min-height: 140px;
  max-height: min(40vh, 260px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
}

.admin-sup-picker__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

.admin-sup-picker__item:last-child {
  border-bottom: none;
}

.admin-sup-picker__item:hover {
  background-color: rgba(15, 23, 42, 0.035);
}

.admin-sup-picker__item:has(.admin-sup-picker__checkbox:checked) {
  background-color: rgba(59, 130, 246, 0.09);
}

/* Native checkbox — avoid Bootstrap .form-check float/margin (breaks in flex rows) */
.admin-sup-picker__checkbox {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  margin: 0.2rem 0 0;
  padding: 0;
  float: none;
  vertical-align: top;
  cursor: pointer;
  accent-color: #2563eb;
  box-sizing: border-box;
}

.admin-sup-picker__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.admin-sup-picker__title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--c-text-main);
  line-height: 1.35;
  word-break: break-word;
}

.admin-sup-picker__meta {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--c-text-muted);
  line-height: 1.3;
}

.admin-sup-picker-badge--active {
  cursor: help;
}

.admin-sup-picker-popover .popover-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
}

.admin-sup-picker-popover .popover-body {
  max-height: 220px;
  overflow-y: auto;
  padding: 0.5rem 0.75rem;
}

.admin-sup-picker-popover__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-sup-picker-popover__item {
  font-size: 0.8125rem;
  line-height: 1.35;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  word-break: break-word;
}

.admin-sup-picker-popover__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.admin-sup-picker-popover__item:first-child {
  padding-top: 0;
}

@media (max-width: 991.98px) {
  .admin-sup-picker__scroll {
    max-height: min(36vh, 220px);
    min-height: 120px;
  }
}

/* Supplier modal: one outer scroll (not modal-dialog-scrollable) + inner list scroll */
#adminSupplierModal .modal-body {
  max-height: min(85vh, calc(100vh - 7.5rem));
  overflow-y: auto;
  overflow-x: hidden;
}

.admin-sup-modal-tabs .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-sup-reg-ro__accordion .accordion-button {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}

.admin-sup-reg-ro__accordion .accordion-body {
  padding: 0.75rem 1rem 1rem;
}

.admin-sup-reg-ro__dl {
  display: grid;
  gap: 0.5rem 1rem;
}

.admin-sup-reg-ro__row {
  display: grid;
  grid-template-columns: minmax(8rem, 38%) 1fr;
  gap: 0.35rem 0.75rem;
  align-items: start;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.admin-sup-reg-ro__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-sup-reg-ro__dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
}

.admin-sup-reg-ro__dd {
  margin: 0;
  font-size: 0.9rem;
  color: #0f172a;
  word-break: break-word;
}

.admin-sup-reg-ro__list {
  padding-left: 1.1rem;
}

.admin-sup-reg-ro__list li + li {
  margin-top: 0.2rem;
}

.admin-sup-reg-ro__thumb {
  display: block;
  max-width: 96px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.admin-sup-reg-ro__link {
  word-break: break-all;
}

@media (max-width: 575.98px) {
  .admin-sup-reg-ro__row {
    grid-template-columns: 1fr;
  }
}

/* Admin — paylaşılan liste sayfası (tedarikçi, filo, kullanıcılar, …) */
.admin-list-page,
.admin-sup-page {
  --admin-list-radius: var(--bs-border-radius-xl, 1rem);
  --admin-sup-radius: var(--admin-list-radius);
}

.admin-list-hero .admin-list-hero__bg,
.admin-sup-hero .admin-sup-hero__bg {
  background: var(--grad-auth);
}

.admin-list-hero__icon,
.admin-sup-hero__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.35rem;
}

.admin-list-hero__title,
.admin-sup-hero__title {
  letter-spacing: -0.02em;
}

.admin-list-hero__badge,
.admin-sup-hero__badge {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
}

.admin-list-toolbar,
.admin-sup-toolbar {
  background: linear-gradient(165deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 160%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.08);
}

.admin-list-toolbar__search-block,
.admin-sup-toolbar__search-block {
  background: transparent;
}

.admin-list-toolbar__search,
.admin-sup-toolbar__search {
  border-radius: var(--admin-list-radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.admin-list-toolbar__search .input-group-text,
.admin-sup-toolbar__search .input-group-text {
  background: #fff;
  padding-left: 1rem;
}

.admin-list-toolbar__search .form-control,
.admin-sup-toolbar__search .form-control {
  font-size: 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.admin-list-toolbar__search .form-control:focus,
.admin-sup-toolbar__search .form-control:focus {
  box-shadow: none;
}

.admin-list-toolbar__search:focus-within,
.admin-sup-toolbar__search:focus-within {
  border-color: rgba(10, 36, 65, 0.22);
  box-shadow: 0 0 0 3px rgba(10, 36, 65, 0.08), 0 4px 16px -4px rgba(15, 23, 42, 0.12);
}

.admin-list-toolbar__btn-apply,
.admin-sup-toolbar__btn-apply {
  border-radius: 0;
  white-space: nowrap;
}

.admin-list-toolbar__hint,
.admin-sup-toolbar__hint {
  line-height: 1.45;
  opacity: 0.88;
}

.admin-list-toolbar__divider,
.admin-sup-toolbar__divider {
  height: 1px;
  margin: 0 1rem;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.08) 15%, rgba(15, 23, 42, 0.08) 85%, transparent);
}

@media (min-width: 768px) {
  .admin-list-toolbar__divider,
  .admin-sup-toolbar__divider {
    margin: 0 1.5rem;
  }
}

.admin-list-toolbar__section-title,
.admin-sup-toolbar__section-title {
  letter-spacing: -0.01em;
  color: #0f172a;
}

.admin-list-toolbar__link-reset,
.admin-sup-toolbar__link-reset {
  font-size: 0.8125rem;
  font-weight: 600;
}

.admin-list-toolbar__link-reset:hover,
.admin-sup-toolbar__link-reset:hover {
  color: var(--c-primary, #0a2441) !important;
}

.admin-list-toolbar__filters,
.admin-sup-toolbar__filters {
  display: grid;
  gap: 0.625rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .admin-list-toolbar__filters,
  .admin-sup-toolbar__filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.admin-list-toolbar__filters--cols-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .admin-list-toolbar__filters--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .admin-list-toolbar__filters--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.admin-list-toolbar__filters--cols-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .admin-list-toolbar__filters--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-list-fctrl,
.admin-sup-fctrl {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.4rem 0.55rem 0.45rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 0.65rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-list-fctrl:focus-within,
.admin-sup-fctrl:focus-within {
  border-color: rgba(10, 36, 65, 0.18);
  box-shadow: 0 0 0 2px rgba(10, 36, 65, 0.06);
}

.admin-list-fctrl__label,
.admin-sup-fctrl__label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin: 0;
  line-height: 1.15;
}

.admin-list-fctrl__select,
.admin-sup-fctrl__select {
  border: none !important;
  padding: 0.125rem 1.5rem 0.125rem 0 !important;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: #0f172a;
  background-color: transparent;
  background-position: right 0.2rem center;
  background-size: 1rem 1rem;
  min-height: calc(1.5em + 0.5rem + 2px);
  box-shadow: none !important;
}

.admin-list-fctrl__select:focus,
.admin-sup-fctrl__select:focus {
  box-shadow: none !important;
}

.admin-list-table-footer,
.admin-sup-table-footer {
  flex-shrink: 0;
}

.admin-list-table-footer__info,
.admin-sup-table-footer__info {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  font-weight: 500;
}

.admin-list-table-footer__nav .btn,
.admin-sup-table-footer__nav .btn {
  min-width: 2.25rem;
}

.admin-list-table-shell,
.admin-sup-table-shell {
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.admin-list-table-shell__head,
.admin-sup-table-shell__head {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, #fff 100%);
}

.admin-list-table-responsive,
.admin-sup-table-responsive {
  max-height: min(68vh, 640px);
  -webkit-overflow-scrolling: touch;
}

.admin-list-table.admin-list-table.table-modern thead th,
.admin-sup-table.admin-sup-table.table-modern thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fafc;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  font-size: 0.72rem;
}

.admin-list-cell-main__title,
.admin-sup-cell-main__title {
  line-height: 1.35;
  word-break: break-word;
}

.admin-list-cell-main__meta,
.admin-sup-cell-main__meta {
  margin-top: 0.15rem;
}

.admin-list-mono,
.admin-sup-mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.admin-list-truncate,
.admin-sup-truncate {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .admin-list-truncate,
  .admin-sup-truncate {
    max-width: 10rem;
  }
}

.admin-list-empty__icon,
.admin-sup-empty__icon {
  opacity: 0.45;
}

/* Admin ports — wide data grid, horizontal scroll on small viewports */
.admin-ports-table {
  min-width: 1120px;
}

.admin-ports-table thead th:first-child,
.admin-ports-table tbody td:first-child {
  min-width: 16rem;
  max-width: 24rem;
  width: 16%;
  box-sizing: border-box;
}

.admin-ports-table .admin-ports-table__port-title {
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.admin-ports-table tbody td:first-child,
.admin-ports-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  box-shadow: 4px 0 12px -6px rgba(15, 23, 42, 0.12);
}

.admin-ports-table thead th:first-child {
  z-index: 3;
  background: #f8fafc;
}

.admin-ports-table__th-water {
  min-width: 10rem;
  max-width: 16rem;
}

.admin-ports-table .admin-ports-table__water-cell {
  max-width: 16rem;
}

@media (max-width: 575.98px) {
  .admin-ports-table tbody td:first-child,
  .admin-ports-table thead th:first-child {
    position: static;
    box-shadow: none;
  }
}

@media (max-width: 575.98px) {
  .admin-list-page__cta,
  .admin-sup-page__cta {
    width: 100%;
    justify-content: center;
  }

  .admin-list-table-responsive,
  .admin-sup-table-responsive {
    max-height: none;
  }

  .admin-list-table.admin-list-table.table-modern thead th,
  .admin-sup-table.admin-sup-table.table-modern thead th {
    position: static;
    box-shadow: none;
  }
}

/* Supplier profile — Select2 multi (search + many options) */
.supplier-profile-multi + .select2 .select2-selection {
  min-height: 3rem;
  border-radius: var(--bs-border-radius-lg, 0.5rem);
}

.supplier-profile-multi + .select2 .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem 0.5rem;
}

.supplier-select2-dropdown.select2-dropdown {
  max-height: min(70vh, 28rem);
  border-radius: var(--bs-border-radius-lg, 0.5rem);
}

.supplier-select2-dropdown .select2-results__options {
  max-height: min(55vh, 22rem);
}

@media (max-width: 575.98px) {
  .supplier-select2-dropdown.select2-dropdown {
    max-height: 60vh;
  }
}

/* Company quote comparison matrix */
.compare-matrix-table .compare-price-lowest {
  background-color: rgba(16, 185, 129, 0.14);
}

.compare-matrix-table th.compare-col-selected,
.compare-matrix-table td.compare-col-selected {
  background-color: rgba(37, 99, 235, 0.08);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.compare-matrix-table .compare-col-selectable {
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.compare-matrix-table th.compare-col-selectable:hover,
.compare-matrix-table td.compare-col-selectable:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.compare-matrix-table th.compare-col-selectable:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.55);
  outline-offset: -2px;
}

.compare-matrix-table .compare-col-select {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem;
  text-align: start;
  user-select: none;
}

.compare-matrix-table .compare-col-select__check {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
}

.compare-matrix-table .compare-col-select__body {
  min-width: 0;
  flex: 1;
}

.compare-matrix-table .compare-col-select__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #334155;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}

.compare-matrix-table .compare-col-select__badge--on {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

@media (max-width: 767.98px) {
  .compare-matrix-table thead th {
    font-size: 0.65rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .compare-matrix-table .text-start.ps-4 {
    padding-left: 0.75rem !important;
  }
}

/* ─── Ships Photos Grid ──────────────────────────────────────────────────── */
.ships-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.ship-photo-item {
    position: relative;
}

.ship-photo-thumb {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f1f5f9;
}

.ship-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.ship-photo-thumb:hover .ship-photo-img {
    transform: scale(1.04);
}

.ship-photo-delete-btn {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: none;
    background: rgba(220, 53, 69, 0.85);
    color: #fff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 2;
}

.ship-photo-thumb:hover .ship-photo-delete-btn {
    opacity: 1;
}

.ship-photo-profile-badge {
    position: absolute;
    left: 0.35rem;
    bottom: 0.35rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 0.35rem;
    padding: 0.15rem 0.4rem;
}

.ship-photo-item--profile .ship-photo-thumb {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.45);
}

.ship-docs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ship-doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
}

.ship-doc-item__main {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}

#shipModal .is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}

@media (max-width: 767.98px) {
    .ships-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.5rem;
    }

    .ship-photo-delete-btn {
        opacity: 1;
    }
}

/* ─── Ship Registration (admin) ──────────────────────────────────────────── */
.ship-reg-layout {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    min-width: 0;
}

.ship-reg-nav {
    flex: 0 0 12rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .ship-reg-nav .ship-reg-tabs {
        position: sticky;
        top: 0;
    }
}

.ship-reg-main {
    flex: 1 1 auto;
    min-width: 0;
}

.ship-reg-tabs {
    gap: 0.2rem;
    border: none;
    overflow: visible;
}

.ship-reg-tabs .nav-item {
    width: 100%;
}

.ship-reg-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
    white-space: normal;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    color: #64748b;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    padding: 0.55rem 0.7rem;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ship-reg-tabs .nav-link:hover {
    color: #0f172a;
    background: #f8fafc;
}

.ship-reg-tabs .nav-link.active {
    color: #0f172a;
    background: #eff6ff;
    border-color: #bfdbfe;
    box-shadow: inset 3px 0 0 #2563eb;
}

.ship-reg-tabs__icon {
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.85;
}

.ship-reg-tabs__label {
    min-width: 0;
}

.ship-reg-nav-select {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .ship-reg-layout {
        flex-direction: column;
        gap: 0.75rem;
    }

    .ship-reg-nav {
        flex: none;
        width: 100%;
    }
}

.ship-reg-name-input {
  text-transform: uppercase;
}

.ship-reg-expiry-hint {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
}

.ship-reg-expiry-hint--warning {
  color: #92400e;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.ship-reg-expiry-hint--danger {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.ship-reg-completeness__bar {
    height: 0.375rem;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.ship-reg-completeness__bar .progress-bar {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.ship-reg-completeness-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ship-imo-lookup-result {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0c4a6e;
}

.ship-imo-lookup-result__inner {
    font-size: 0.875rem;
    line-height: 1.45;
}

.ship-captain-preview {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.ship-captain-preview__title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.ship-captain-preview__inner {
    font-size: 0.875rem;
    line-height: 1.45;
}

.crew-profile-tabs .nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    border: 1px solid transparent;
}

.crew-profile-tabs .nav-link.active {
    background: #0f172a;
    color: #fff;
}

.crew-profile-avatar-wrap {
    width: 96px;
    height: 96px;
    position: relative;
}

.crew-profile-avatar-wrap .profile-avatar {
    width: 96px;
    height: 96px;
    font-size: 2rem;
    overflow: hidden;
}

.crew-profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.crew-profile-avatar-actions {
    position: absolute;
    right: -6px;
    bottom: -4px;
    display: flex;
    gap: 0.35rem;
}

.crew-profile-field--locked .crew-profile-readonly {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.55rem 0.75rem;
}

.crew-profile-source-note {
    color: #64748b;
}

.crew-profile-file-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.crew-profile-file-card--company {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* ─── Ships Users Popover ────────────────────────────────────────────────── */
.ship-users-list {
    min-width: 180px;
}

.ship-users-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid #f1f5f9;
}

.ship-users-row:last-child {
    border-bottom: none;
}

/* Company requests — urgency badges */
.company-urgency-badge.company-urgency--low {
    background: #f1f5f9;
    color: #64748b;
}

.company-urgency-badge.company-urgency--medium {
    background: #fef3c7;
    color: #b45309;
}

.company-urgency-badge.company-urgency--high {
    background: #fee2e2;
    color: #b91c1c;
}

.company-urgency-badge.company-urgency--overdue {
    background: #7f1d1d;
    color: #fff;
}

.company-requests-tabs .nav-link.active {
    background: var(--bs-primary);
    color: #fff;
}

/* Print — company request detail */
@media print {
    .app-sidebar,
    .app-header,
    .sidebar-toggle,
    .company-sticky-actions,
    .page_actions,
    .btn,
    .company-action-btn,
    #btnPrintRequest,
    .admin-list-table-footer,
    .company-requests-tabs {
        display: none !important;
    }

    .app-main {
        margin: 0 !important;
        padding: 0 !important;
    }

    .company-request-print-root .accordion-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .company-request-print-root .accordion-button::after {
        display: none;
    }

    .company-category-accordion .accordion-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ─── User Table Avatar Cell ─────────────────────────────────────────────── */
.user-avatar-cell {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.825rem;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.user-avatar-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Files & Avatar Tab ─────────────────────────────────────────────────── */
.user-files-avatar-wrap {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}

.user-files-avatar-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.user-files-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-files-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    background: #e2e8f0;
    color: #64748b;
}

/* Files grid */
.user-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 0.625rem;
    max-height: 340px;
    overflow-y: auto;
    padding: 2px;
}

.user-files-grid__card {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.user-files-grid__card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

.user-files-grid__preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    overflow: hidden;
}

.user-files-grid__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.user-files-grid__card:hover .user-files-grid__thumb {
    transform: scale(1.04);
}

.user-files-grid__big-icon {
    font-size: 2.25rem;
}

.user-files-grid__meta {
    padding: 0.375rem 0.5rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
}

.user-files-grid__name {
    display: block;
    font-size: 0.69rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.user-files-grid__size {
    font-size: 0.65rem;
    color: #94a3b8;
}

.user-files-grid__actions {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem 0.4rem 0.4rem;
    justify-content: flex-end;
}

@media (max-width: 575.98px) {
    .user-files-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}

/* Ship crew panel (/users Mürettebat) */
.ship-crew-toolbar {
    position: sticky;
    top: 0.75rem;
    z-index: 20;
    background: #fff;
}

.ship-crew-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 1rem;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ship-crew-accordion .accordion-item {
    background: #fff;
}

.ship-crew-accordion .accordion-button {
    background: #fff;
    box-shadow: none;
    font-size: 0.95rem;
    padding: 1rem 1.15rem;
}

.ship-crew-accordion .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: #0f172a;
}

.ship-crew-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.ship-crew-accordion .accordion-body {
    padding: 0.75rem 1.15rem 1.25rem;
}

.ship-crew-rank-pills .nav-link {
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    color: #475569;
    background: #f1f5f9;
}

.ship-crew-rank-pills .nav-link.active {
    background: #0A2441;
    color: #fff;
}

.ship-crew-key-summary {
    max-width: 55%;
    overflow: hidden;
}

.ship-crew-docs-upload {
    background: #f8fafc !important;
}

@media (max-width: 767.98px) {
    .ship-crew-toolbar {
        position: static;
    }

    .ship-crew-key-summary {
        display: none !important;
    }
}

    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.captain-inventory-list .list-group-item:last-child {
    border-bottom: none !important;
}

@media (max-width: 575.98px) {
    .user-files-avatar-preview {
        width: 76px;
        height: 76px;
    }
}

/* ─── Supplier Registration Wizard ───────────────────────────────────────── */
.sup-reg-layout {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    min-width: 0;
}

.sup-reg-nav {
    flex: 0 0 12rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .sup-reg-nav .sup-reg-tabs {
        position: sticky;
        top: 0;
    }
}

.sup-reg-main {
    flex: 1 1 auto;
    min-width: 0;
}

.sup-reg-tabs {
    gap: 0.2rem;
    border: none;
    overflow: visible;
}

.sup-reg-tabs .nav-item {
    width: 100%;
}

.sup-reg-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
    white-space: normal;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    color: #64748b;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    padding: 0.55rem 0.7rem;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.sup-reg-tabs .nav-link:hover {
    color: #0f172a;
    background: #f8fafc;
}

.sup-reg-tabs .nav-link.active {
    color: #0f172a;
    background: #eff6ff;
    border-color: #bfdbfe;
    box-shadow: inset 3px 0 0 #2563eb;
}

.sup-reg-tabs__icon {
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.85;
}

.sup-reg-tabs__label {
    min-width: 0;
}

.sup-reg-nav-select {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .sup-reg-layout {
        flex-direction: column;
        gap: 0.75rem;
    }

    .sup-reg-nav {
        flex: none;
        width: 100%;
    }
}

.sup-reg-completeness__bar {
    height: 0.375rem;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    max-width: 22rem;
}

.sup-reg-completeness__bar .progress-bar {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.sup-reg-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.35rem 0.75rem;
}

.sup-reg-check-grid.is-invalid {
    outline: 1px solid #dc3545;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.sup-reg-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.75rem;
}

.sup-reg-category-grid.is-invalid {
    outline: 1px solid #dc3545;
    border-radius: 0.65rem;
    padding: 0.35rem;
}

.sup-reg-cat-card {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 0.85rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sup-reg-cat-card:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.sup-reg-cat-card:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px #2563eb;
}

.sup-reg-cat-card__icon {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
}

.sup-reg-cat-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sup-reg-cat-card__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.sup-reg-cat-card__desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.35;
}

.sup-reg-repeat-list.is-invalid {
    outline: 1px solid #dc3545;
    border-radius: 0.65rem;
    padding: 0.35rem;
}

.sup-reg-media-preview .sup-reg-preview-img {
    max-height: 4.5rem;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.35rem;
}

.sup-reg-preview-img--cover {
    max-height: 7rem;
    width: 100%;
    object-fit: cover;
}

.sup-reg-brand {
    position: relative;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.sup-reg-brand__cover {
    height: 5.5rem;
    background: linear-gradient(120deg, #0a2441 0%, #1e4a7a 55%, #3d7ab5 100%);
    background-size: cover;
    background-position: center;
}

.sup-reg-brand__cover.has-image {
    background-color: #0a2441;
}

.sup-reg-brand__row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem 1rem;
    margin-top: -1.75rem;
    position: relative;
}

.sup-reg-brand__logo {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 65, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.sup-reg-brand__logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sup-reg-brand__name {
    font-size: 1.05rem;
}

.sup-reg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    gap: 0.75rem;
}

.sup-reg-gallery-item {
    position: relative;
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    aspect-ratio: 1;
}

.sup-reg-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sup-reg-gallery-item__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.25rem 0.4rem;
    font-size: 0.65rem;
    color: #fff;
    background: rgba(15, 23, 42, 0.65);
}

.sup-reg-gallery-item .sup-reg-gallery-delete {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    padding: 0.15rem 0.35rem;
}

.sup-reg-docs-list .sup-reg-doc-item {
    background: #fff;
}
