// ── Unified toolbar: matrix picklist + status filter + density toggle ──
.matrix-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 16px;
  margin: 10px 0 16px;
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 31, 55, 0.06);
}

.td-skill.td-skill-detail {
  padding: 0;
  position: relative;

  // Suppress the flat status-tint background (cell-lvl-empty/low/high/full,
  // set with !important) — in detail mode ONLY the quad segments should
  // carry color, not the cell itself.
  &.cell-lvl-empty,
  &.cell-lvl-low,
  &.cell-lvl-high,
  &.cell-lvl-full {
    background: #fff !important;
  }
}

.matrix-toolbar-picklist {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 600px;
}

.matrix-toolbar-primary {
  display: flex;
  flex: 1 1 520px;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

// Before a matrix is selected there are no view controls. Use that free space
// to keep Import at the far right of the toolbar.
.matrix-toolbar:not(.matrix-loaded) .matrix-toolbar-primary {
  flex-basis: 100%;
}

.matrix-toolbar:not(.matrix-loaded) .import-btn {
  margin-left: auto;
}

// The select-list width is supplied inline by form metadata. Make it use the
// available flex space so it never paints underneath the action buttons.
:host ::ng-deep .matrix-toolbar-picklist .Mat_Form_Field,
:host ::ng-deep .matrix-toolbar-picklist .Mat_Form_Field input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.import-btn,
.pdf-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: var(--action-primary-default, #7068b1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;

  mat-icon {
    width: 18px;
    height: 18px;
    font-size: 18px;
  }

  &:hover {
    opacity: 0.9;
  }
}

.matrix-toolbar-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

// ── "VIEW" status-filter segmented control ─────────────────────
.view-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-toolbar-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.view-segmented {
  display: inline-flex;
  align-items: center;
  background: #eef2f7;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.view-segment {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;

  &:hover {
    color: #1e293b;
  }

  // Each filter's active colour echoes what it surfaces, instead of one flat
  // colour for every segment — Gaps/Training/Expiry mirror the legend swatches.
  &.filter-all.active {
    background: #0f1f37;
    color: #fff;
  }

  &.filter-gaps.active {
    background: #dc2626;
    color: #fff;
  }

  &.filter-training.active {
    background: #d97706;
    color: #fff;
  }

  &.filter-expiry.active {
    background: #be123c;
    color: #fff;
  }
}

// ── Row-density toggle (compact / normal / comfortable) ────────
.density-toggle {
  display: inline-flex;
  align-items: center;
  background: #eef2f7;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.density-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #64748b;
  width: 30px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;

  mat-icon {
    width: 18px;
    height: 18px;
    font-size: 18px;
  }

  &:hover {
    color: #1e293b;
  }

  &.active {
    background: #fff;
    color: #7068b1;
    box-shadow: 0 1px 2px rgba(15, 31, 55, 0.12);
  }
}

// ── Cell view-mode toggle (Standard S/T/A text / Detail quadrant-fill) ──
.cellview-toggle {
  display: inline-flex;
  align-items: center;
  background: #eef2f7;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.cellview-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;

  mat-icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }

  &:hover {
    color: #1e293b;
  }

  &.active {
    background: #fff;
    color: #7068b1;
    box-shadow: 0 1px 2px rgba(15, 31, 55, 0.12);
  }
}

// ── Banner (title + meta tags + legend) ───────────────────────
.matrix-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 0 14px;
}

.banner-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.banner-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.banner-tag {
  background: #e2e8f0;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 12px;
  color: #475569;

  .tag-key {
    font-weight: 600;
    color: #334155;
  }
}

.banner-update {
  font-size: 12px;
  color: #94a3b8;
}

// ── Legend ─────────────────────────────────────────────────────
.banner-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475569;
  white-space: nowrap;
}

.legend-swatch {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  flex-shrink: 0;

  &.sw-qualified {
    background: #dcfce7;
    border: 1px solid #86efac;
  }

  &.sw-training {
    background: #fef9c3;
    border: 1px solid #fcd34d;
  }

  &.sw-expired {
    background: #fce7e9;
    border: 1px solid #f4a3b3;
  }

  &.sw-na {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
  }

  &.sw-pending {
    background: #fff;
    border: 2px solid #f97316;
  }
}

// ── Scrollable wrapper ────────────────────────────────────────
.matrix-scroll {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

// ── Table base ────────────────────────────────────────────────
.skill-matrix-table {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
  font-size: 12px;
  background: #fff;
}

// ── Row density (same data, tighter/roomier row padding) ──────
// .density-normal intentionally has no overrides — it's what the rules
// below already render by default.
.skill-matrix-table.density-compact {
  .emp-row td {
    padding: 4px 8px;
  }

  .td-skill {
    padding: 3px 6px;
  }

  .sta-row {
    min-height: 16px;
    margin-bottom: 0;
  }

  .emp-avatar {
    width: 24px;
    height: 24px;
  }

  .coverage-circle {
    width: 40px;
    height: 40px;
  }
}

.skill-matrix-table.density-comfortable {
  .emp-row td {
    padding: 13px 14px;
  }

  .td-skill {
    padding: 11px 12px;
  }

  .sta-row {
    min-height: 24px;
    margin-bottom: 4px;
  }

  .emp-avatar {
    width: 40px;
    height: 40px;
  }

  .coverage-circle {
    width: 60px;
    height: 60px;
  }
}

// ── Sticky columns ────────────────────────────────────────────
.sticky-col-1 {
  position: sticky;
  left: 0;
  z-index: 3;
}

.sticky-col-2 {
  position: sticky;
  left: 176px;
  z-index: 3;
}

// ── Column widths ─────────────────────────────────────────────
.th-employee,
.td-employee {
  min-width: 176px;
  max-width: 176px;
}

.th-coverage,
.td-coverage {
  min-width: 108px;
  max-width: 108px;
}

.th-skill,
.td-skill {
  min-width: 150px;
  max-width: 150px;
}

// ── Main header row ───────────────────────────────────────────
.thead-main th {
  background: #0f1f37;
  color: #fff;
  padding: 8px 10px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid #1e293b;

  &.th-employee {
    text-align: left;
  }
}

// ── Sub-header row ────────────────────────────────────────────
.thead-sub th {
  background: #0f1f37;
  color: #7dadd9;
  padding: 4px 10px;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-right: 1px solid #1e293b;
  border-top: 1px solid #1e3a5f;

  &.th-employee {
    text-align: left;
  }
}

// ── Skill column header inner layout ─────────────────────────
.skill-th-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.skill-th-name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  max-width: 140px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.critical-star {
  color: #fbbf24;
  margin-right: 2px;
  font-size: 11px;
}

.skill-th-category {
  font-size: 9px;
  color: #7dadd9;
  font-weight: 400;
}

.skill-th-min {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: #7dadd9;
  font-weight: 500;
}

// Neutral header "MIN Lx" badge — colour-independent of level
.min-badge {
  display: inline-block;
  background: #1e3a5f;
  color: #93c5fd;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 700;
  font-family: monospace;
}

// ── Level badges (coloured by CurrentLevNo / LevelCount fill ratio) ───
.level-badge {
  display: inline-block;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;

  &.lvl-empty {
    background: #e2e8f0;
    color: #94a3b8;
    font-weight: 600;
  }

  &.lvl-low {
    background: #dcfce7;
    color: #16a34a;
  }

  &.lvl-high {
    background: #86efac;
    color: #14532d;
  }

  &.lvl-full {
    background: #22c55e;
    color: #fff;
  }
}

.td-empty {
  text-align: center;
  padding: 24px;
  color: #94a3b8;
  font-size: 13px;
  font-style: italic;
  background: #f8fafc;
}

.emp-row {
  border-bottom: 1px solid #e2e8f0;

  &:nth-child(even) td {
    background: #f8fafc;
  }

  td {
    background: #fff;
    padding: 8px 10px;
    vertical-align: top;
    border-right: 1px solid #e2e8f0;
  }
}

// sticky columns need their own background to cover scroll content
.td-employee.sticky-col-1,
.td-coverage.sticky-col-2 {
  background: inherit;
}

.emp-row:nth-child(even) .td-employee.sticky-col-1,
.emp-row:nth-child(even) .td-coverage.sticky-col-2 {
  background: #f8fafc;
}

.emp-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emp-cell-clickable {
  cursor: pointer;

  &:hover .emp-name {
    text-decoration: underline;
  }
}

.emp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #e2e8f0;
}

.emp-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #cbd5e1;
}

.emp-info {
  min-width: 0;
}

.emp-name {
  font-weight: 700;
  font-size: 12px;
  color: #1e293b;
  margin-bottom: 1px;
}

.emp-sub {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

// ── Coverage circle (flat, status-coloured) ───────────────────
.td-coverage {
  text-align: center;
}

.coverage-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

.coverage-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;

  .circle-frac {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  // 100% coverage
  &.ring-good {
    background: #dcfce7;

    .circle-frac {
      color: #15803d;
    }
  }

  // partial coverage
  &.ring-partial {
    background: #dbeafe;

    .circle-frac {
      color: #1d4ed8;
    }
  }

  // 0% coverage
  &.ring-low {
    background: #fce7e9;

    .circle-frac {
      color: #be123c;
    }
  }
}

.coverage-pct {
  font-size: 10px;
  color: #94a3b8;
}

// ── Skill cell backgrounds (tinted by CurrentLevNo / LevelCount fill ratio) ──
.td-skill {
  padding: 6px 8px;
  vertical-align: top;
  cursor: pointer;

  &.cell-lvl-empty {
    background: #f8fafc !important;
  }

  &.cell-lvl-low {
    background: #f0fdf4 !important;
  }

  &.cell-lvl-high {
    background: #dcfce7 !important;
  }

  &.cell-lvl-full {
    background: #bbf7d0 !important;
  }

  // "VIEW" status filter: fade out non-matching cells instead of removing
  // rows/columns, so the full grid shape stays visible while only the
  // matching cells stay legible.
  &.cell-dimmed {
    opacity: 0.32;
    filter: grayscale(0.4);
  }
}

.detail-quad-wrap {
  position: absolute;
  inset: 0;
  display: flex;
}
.level-quad {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border: 1px solid #cbd5e1;      // clean, light outer border
  border-radius: 3px;             // subtle rounding so it doesn't look boxy/harsh
  overflow: hidden;               // keeps segment corners clipped to the rounded outline
  background: #fff;

  &.quad-single {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .quad-seg {
    background: #fff;
    border-right: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;

    &:nth-child(2n) { border-right: none; }   // no divider on the right edge
    &:nth-child(n+3) { border-bottom: none; } // no divider on the bottom edge
  }

  &.lvl-empty .quad-seg.filled { background: #94a3b8; }
  &.lvl-low   .quad-seg.filled { background: #86efac; }
  &.lvl-high  .quad-seg.filled { background: #22c55e; }
  &.lvl-full  .quad-seg.filled { background: #15803d; }
}
.sta-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  margin-bottom: 1px;
}

.skill-matrix-table.density-compact .td-skill.td-skill-detail {
  height: 50px;
}

.skill-matrix-table.density-comfortable .td-skill.td-skill-detail {
  height: 92px;
}

.sta-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  width: 10px;
  flex-shrink: 0;
}

.sta-status {
  font-size: 10px;
  font-weight: 600;

  &.st-current {
    color: #16a34a;
  }

  &.st-training {
    color: #d97706;
  }

  &.st-expired {
    color: #dc2626;
  }

  &.st-na {
    color: #9ca3af;
  }
}

.sta-date {
  font-size: 10px;
  color: #475569;
  font-weight: 500;

  &.st-current {
    color: #16a34a;
  }

  &.st-training {
    color: #d97706;
  }

  &.st-expired {
    color: #dc2626;
  }

  &.st-na {
    color: #9ca3af;
  }
}

.sta-dash {
  font-size: 11px;
  color: #cbd5e1;
}

// ── Footer coverage row ───────────────────────────────────────
.tfoot-row td {
  background: #0f1f37;
  color: #fff;
  padding: 8px 10px;
  text-align: center;
  border-right: 1px solid #1e293b;
  vertical-align: middle;
}

.td-foot-label {
  text-align: left !important;
  font-size: 12px;
  font-weight: 700;
  color: #7dadd9;
  background: #0f1f37 !important;
}

.td-foot-sub {
  font-size: 10px;
  color: #7dadd9;
  line-height: 1.4;
  background: #0f1f37 !important;
}

.td-foot-skill {
  padding: 8px 10px !important;
}

.foot-count {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.foot-bar-track {
  height: 4px;
  background: #1e3a5f;
  border-radius: 2px;
  overflow: hidden;
}

.foot-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.35s ease;

  // matches design: >=60% coverage reads as healthy (blue), below reads as a gap (red)
  &.bar-good {
    background: #3b82f6;
  }

  &.bar-low {
    background: #ef4444;
  }
}


[dir="rtl"] {
  .sticky-col-1 {
    left: unset;
    right: 0;
  }

  .sticky-col-2 {
    left: unset;
    right: 176px;
  }
}

// ── Cell Detail Modal (Skill Matrix cell quick-edit) ──────────
// Same overlay/lightbox pattern as SkillDomainComponent's modal.
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 80px;
}

.modal-content-wrapper {
  display: flex;
  justify-content: center;
}

.modal-content {
  position: relative;
  background-color: var(--bg-surface, #fefefe);
  padding: 26px 28px 24px;
  border: 1px solid var(--border-subtle, #e2e8f0);
  width: min(660px, 95vw);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(15, 31, 55, 0.16);
  overflow: hidden;
}

// Thin colour bar across the top of the card, echoing the cell's status dot.
.cellmodal-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #cbd5e1;

  &.lvl-empty {
    background: #cbd5e1;
  }

  &.lvl-low {
    background: #86efac;
  }

  &.lvl-high {
    background: #22c55e;
  }

  &.lvl-full {
    background: #15803d;
  }
}

.titlecontainer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  margin: 0;
  letter-spacing: -0.1px;
}

.closeicon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;

  mat-icon {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #64748b;
  }

  &:hover {
    background: var(--bg-subtle, #f1f5f9);
    transform: scale(1.05);

    mat-icon {
      color: #1e293b;
    }
  }
}

.cellmodal-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cellmodal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  background: #cbd5e1;

  &.lvl-empty {
    background: #cbd5e1;
  }

  &.lvl-low {
    background: #86efac;
  }

  &.lvl-high {
    background: #22c55e;
  }

  &.lvl-full {
    background: #15803d;
  }
}

.cellmodal-subtitle {
  font-size: 12.5px;
  color: var(--text-secondary, #64748b);
  margin: 3px 0 0;
}

.modal-form-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

// Card-style grouping for each logical section of the modal (Level/Status, Dates).
.cellmodal-section {
  background: var(--bg-subtle, #f8fafc);
  border: 1px solid var(--border-subtle, #eef2f7);
  border-radius: 10px;
  padding: 16px 18px;
}

.cellmodal-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.cellmodal-grid {
  display: grid;
  gap: 16px;
}

.cellmodal-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cellmodal-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

// gb-date renders its own fixed-width Material field, so let columns hug
// content instead of stretching to the section's equal-thirds grid.
.cellmodal-grid-dates {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;

  ::ng-deep .date_container {
    display: block;
  }
}

// Level sits on its own full-width row above Status/Min Required — see the
// template comment: GbNewPicklistComponent renders at a fixed pixel width
// (PicklistConfigData.Width) that overflows a shared 1-of-3 grid column.
.cellmodal-field-level {
  margin-bottom: 14px;
}

@media (max-width: 560px) {

  .cellmodal-grid-3,
  .cellmodal-grid-2 {
    grid-template-columns: 1fr;
  }
}

.cellmodal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;

  label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }
}

.cellmodal-readvalue {
  display: flex;
  align-items: center;
  min-height: 38px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
}

.cellmodal-control {
  border: 1px solid var(--border-subtle, #cbd5e1);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text-primary, #1e293b);
  background: var(--bg-surface, #fff);
  outline: none;
  width: 100%;
  box-sizing: border-box;

  &:focus {
    border-color: var(--action-primary-default, #7068b1);
  }
}

select.cellmodal-control {
  cursor: pointer;
  appearance: auto;
}

.cellmodal-picklist {
  display: block;
  width: 100%;
}

.cellmodal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle, #eef2f7);
}

.btn-cancel {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle, #cbd5e1);
  background: transparent;
  color: var(--text-primary, #334155);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;

  &:hover {
    background: var(--bg-subtle, #f1f5f9);
  }
}

.btn-apply {
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  background: var(--action-primary-default, #7068b1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.9;
  }
}

// ── ICE Import Lightbox ────────────────────────────────────────
.iceimport-modal-content {
  width: min(720px, 95vw);
}

.iceimport-modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

.pdf-export-btn {
  background: #0ea5e9;

  &:hover {
    background: #0284c7;
    opacity: 1;
  }
}
