/* ===== Tapşırıq — premium incə UI ===== */
#tapshiriqPage,
#tapDetailPage {
  --tap-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --tap-text: #0f172a;
  --tap-muted: #64748b;
  --tap-border: #e2e8f0;
  --tap-border-strong: #cbd5e1;
  --tap-surface: #ffffff;
  --tap-surface-soft: #f8fafc;
  --tap-accent: #3b82f6;
  --tap-accent-soft: #eff6ff;
  --tap-success: #16a34a;
  --tap-radius: 10px;
  --tap-radius-sm: 8px;
  --tap-control-h: clamp(32px, 8vw, 36px);
  --tap-btn-min-w: clamp(100px, 22vw, 120px);
  --tap-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  --tap-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
  font-family: var(--tap-font);
  color: var(--tap-text);
  max-width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(4px, 1.5vw, 10px) clamp(4px, 1.5vw, 2px);
}

/* Başlıq — incə, sərhədsiz */
.tap-page-head {
  margin: 0 0 10px;
  padding: 0 2px;
}

.tap-title {
  margin: 0;
  font-size: clamp(17px, 3.8vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--tap-text);
}

/* Sorğu paneli — kompakt toolbar */
.tap-query-bar {
  margin-bottom: 10px;
  padding: 0 2px;
}

.tap-query-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 10px;
}

.tap-query-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tap-query-anbar {
  flex: 1 1 220px;
  min-width: min(100%, 200px);
}

.tap-query-date {
  flex: 0 0 132px;
  width: 132px;
}

.tap-query-status {
  flex: 0 0 124px;
  width: 124px;
}

.tap-query-action {
  flex: 0 0 auto;
}

.tap-query-label-row.anbar-label-row {
  min-height: 16px;
  margin: 0;
}

#tapshiriqPage .anbar-label-row {
  justify-content: space-between;
  gap: 6px;
}

#tapshiriqPage .anbar-label-row > .tap-label {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

#tapshiriqPage .anbar-open-picker-btn {
  flex-shrink: 0;
  height: 22px;
  padding: 0 9px;
  font-size: 10px;
  line-height: 1;
  border-radius: 999px;
}

#tapshiriqPage .anbar-picked-label {
  display: none !important;
}

.tap-query-action .tap-btn-primary {
  width: auto;
  min-width: 118px;
  padding: 0 14px;
}

.tap-panel {
  border-radius: var(--tap-radius);
  background: transparent;
}

.tap-filter-card {
  padding: 0;
  margin-bottom: 12px;
}

.tap-field-grid {
  display: none;
}

.tap-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tap-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.tap-label-spacer {
  visibility: hidden;
  user-select: none;
}

.tap-hint {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
}

/* Inputs — standart ölçü */
.tap-input,
.tap-select {
  width: 100%;
  min-height: var(--tap-control-h);
  height: var(--tap-control-h);
  padding: 0 10px;
  border: 1px solid #e8edf3;
  border-radius: var(--tap-radius-sm);
  background: #fff;
  color: var(--tap-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.tap-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.tap-input:hover,
.tap-select:hover {
  border-color: #94a3b8;
}

.tap-input:focus,
.tap-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
  background: #fff;
}

.tap-input-date {
  padding-right: 8px;
}

.tap-select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

/* Buttons — standart ölçü */
.tap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: var(--tap-btn-min-w);
  min-height: var(--tap-control-h);
  height: var(--tap-control-h);
  padding: 0 clamp(12px, 3vw, 16px);
  border-radius: var(--tap-radius-sm);
  border: 1px solid transparent;
  font-size: clamp(13px, 3vw, 14px);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
  box-sizing: border-box;
}

.tap-btn:active {
  transform: translateY(1px);
}

.tap-btn-primary {
  color: #0f172a;
  border: none;
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  box-shadow: none;
}

.tap-btn-primary:hover {
  filter: none;
  background: linear-gradient(135deg, #dcfce7 0%, #dbeafe 100%);
  transform: none;
  box-shadow: none;
}

.tap-btn-ghost {
  min-width: 96px;
  color: #0f172a;
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.1);
}

.tap-btn-ghost:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.tap-btn-success {
  min-width: 108px;
  color: #065f46;
  border-color: #86efac;
  background: linear-gradient(180deg, #ecfdf5, #dcfce7);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.14);
}

.tap-btn-success:hover {
  border-color: #4ade80;
  transform: translateY(-1px);
}

.tap-btn-success:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.tap-btn-soft {
  min-width: auto;
  color: #0f172a;
  border-color: var(--tap-border-strong);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: var(--tap-shadow-sm);
}

.tap-btn-soft:hover {
  border-color: #93c5fd;
}

.tap-btn-accent {
  min-width: auto;
  color: #1e3a8a;
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
}

.tap-btn-danger-soft {
  min-width: auto;
  color: #7f1d1d;
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff5f5, #fee2e2);
}

/* Progress */
.tap-progress-wrap {
  margin: 10px 0 14px;
}

.tap-progress-track {
  height: 7px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.tap-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #34d399, #fbbf24);
  transition: width 0.28s ease;
}

.tap-progress-text {
  margin-top: 6px;
  font-size: 12px;
  color: var(--tap-muted);
  font-weight: 500;
}

/* Info / result */
.tap-info {
  min-height: 0;
  margin: 4px 0 10px;
  font-size: clamp(11px, 2.6vw, 12px);
  color: var(--tap-muted);
  line-height: 1.45;
}

.tap-info:empty {
  display: none;
}

.tap-result {
  margin-top: 4px;
}

.tap-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--tap-border);
  border-radius: var(--tap-radius-sm);
  background: var(--tap-surface-soft);
}

.tap-result-title {
  font-size: clamp(13px, 3vw, 14px);
  font-weight: 700;
  color: var(--tap-text);
}

.tap-result-meta {
  font-size: 12px;
  color: var(--tap-muted);
  font-weight: 500;
}

.tap-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 8px;
}

.tap-toolbar .tap-btn {
  min-width: auto;
  width: auto;
}

.tap-empty {
  padding: 18px 14px;
  text-align: center;
  color: var(--tap-muted);
  font-size: 13px;
  border: 1px dashed var(--tap-border-strong);
  border-radius: var(--tap-radius-sm);
  background: var(--tap-surface-soft);
}

/* Table */
.tap-table-wrap {
  overflow: auto;
  border: 1px solid var(--tap-border);
  border-radius: var(--tap-radius);
  background: #fff;
  box-shadow: var(--tap-shadow-sm);
}

.tap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(12px, 2.8vw, 13px);
}

.tap-table th,
.tap-table td {
  border: 1px solid #000;
  padding: clamp(7px, 1.8vw, 9px) clamp(8px, 2vw, 10px);
  vertical-align: middle;
  line-height: 1.35;
}

.tap-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: center;
  font-size: clamp(11px, 2.6vw, 12px);
  font-weight: 700;
  color: #334155;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border: 1px solid #000;
  white-space: nowrap;
}

.tap-table tbody tr {
  transition: background 0.12s ease;
}

.tap-table tbody tr:hover td {
  background: rgba(248, 250, 252, 0.9);
}

.tap-th-filterable {
  cursor: pointer;
  user-select: none;
}

.tap-th-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
}

.tap-th-text {
  line-height: 1.2;
}

.tap-filter-badge {
  display: none;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #2563eb;
  filter: drop-shadow(0 1px 1px rgba(37, 99, 235, 0.2));
}

.tap-th-is-filtered {
  background: linear-gradient(180deg, #eff6ff, #dbeafe) !important;
  color: #1d4ed8 !important;
  box-shadow: inset 0 -2px 0 #3b82f6;
}

.tap-th-is-filtered .tap-filter-badge {
  display: inline-flex;
}

.tap-th-filterable:hover {
  color: #1d4ed8;
  background: #eff6ff;
}

.tap-row-blue td { background: #f0f7ff; }
.tap-row-red td { background: #fff5f5; }
.tap-row-yellow td { background: #fffbeb; }

.tap-row-blue:hover td { background: #e8f1ff; }
.tap-row-red:hover td { background: #ffecec; }
.tap-row-yellow:hover td { background: #fef3c7; }

.tap-progress {
  width: 100%;
  min-width: 72px;
  height: 18px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.tap-progress > div {
  height: 100%;
  min-width: 0;
  transition: width 0.25s ease;
  background: linear-gradient(90deg, #34d399, #60a5fa);
  text-align: center;
  font-size: 10px;
  line-height: 18px;
  color: #0f172a;
  font-weight: 700;
}

.tap-table input.tap-mi-input {
  width: clamp(72px, 18vw, 92px);
  min-height: 30px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--tap-border-strong);
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--tap-text);
  outline: none;
  background: #fff;
  box-sizing: border-box;
}

.tap-table input.tap-mi-input:focus {
  border-color: var(--tap-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

/* Detail page */
.tap-detail-hero {
  margin-bottom: 12px;
  padding: clamp(12px, 2.8vw, 16px);
  border: 1px solid #dbeafe;
  border-radius: calc(var(--tap-radius) + 2px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.94));
  box-shadow: var(--tap-shadow);
}

.tap-detail-head {
  display: grid;
  grid-template-columns: minmax(88px, 108px) 1fr minmax(108px, 128px);
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
}

.tap-detail-title {
  margin: 0;
  text-align: center;
  font-size: clamp(16px, 4.2vw, 22px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--tap-text);
  letter-spacing: -0.01em;
}

.tap-detail-info {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #475569;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--tap-border);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
}

.tap-detail-info:empty {
  display: none;
}

.tap-detail-result .tap-table-wrap {
  margin-top: 2px;
}

.tap-detail-table-panel {
  border: 1px solid #dbeafe;
  border-radius: var(--tap-radius);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--tap-shadow-sm);
  overflow: hidden;
}

.tap-detail-table-wrap {
  max-height: min(68vh, 720px);
  overflow: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.tap-table-detail {
  font-size: 11px;
  table-layout: fixed;
  width: 100%;
}

.tap-table-detail th,
.tap-table-detail td {
  padding: 3px 5px;
  line-height: 1.2;
  vertical-align: middle;
}

.tap-table-detail thead th {
  font-size: 10px;
  padding: 5px 4px;
  white-space: normal;
  line-height: 1.15;
}

.tap-table-detail .tap-th-text {
  font-size: 10px;
}

.tap-table-detail .tap-filter-badge {
  width: 11px;
  height: 11px;
}

.tap-table-detail .tap-filter-badge svg {
  width: 11px;
  height: 11px;
}

.tap-table-detail .tap-d-num {
  text-align: center;
  white-space: nowrap;
  width: 52px;
}

.tap-table-detail .tap-d-input {
  text-align: center;
  width: 72px;
}

.tap-table-detail .tap-d-name {
  text-align: left;
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #0f172a;
}

.tap-table-detail .tap-d-note {
  text-align: left;
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #475569;
  font-size: 10px;
}

.tap-table-detail input.tap-mi-input {
  width: 58px;
  min-width: 58px;
  height: 24px;
  min-height: 24px;
  padding: 0 4px;
  font-size: 11px;
  border-radius: 6px;
}

.tap-table-detail tbody tr:nth-child(even):not(.tap-row-yellow) td {
  background: rgba(248, 250, 252, 0.65);
}

.tap-table-detail tbody tr.tap-row-yellow td {
  background: #fffbeb;
}

.tap-table-detail tbody tr:hover td {
  background: #eff6ff;
}

/* Context menu */
.tap-ctx-menu,
#tap_ctxMenu {
  position: fixed;
  display: none;
  z-index: 9999;
  min-width: 148px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--tap-border);
  border-radius: var(--tap-radius-sm);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.tap-ctx-item,
#tap_ctxMenu .ctx-item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--tap-text);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.tap-ctx-item:hover,
#tap_ctxMenu .ctx-item:hover {
  background: #eff6ff;
}

/* Modals */
.tap-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10040;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(2px);
}

.tap-modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tap-border);
  border-radius: calc(var(--tap-radius) + 2px);
  background: #fff;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.tap-filter-modal-card {
  padding: 0;
}

.tap-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.tap-modal-header-text {
  min-width: 0;
}

.tap-modal-eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3b82f6;
}

.tap-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--tap-text);
  line-height: 1.25;
}

.tap-modal-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--tap-muted);
  line-height: 1.4;
}

.tap-modal-close {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--tap-border-strong);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tap-modal-close:hover {
  border-color: #93c5fd;
  color: #0f172a;
}

.tap-modal-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.tap-active-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-right: 2px;
}

.tap-active-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tap-modal-body {
  overflow: auto;
  padding: 14px 16px;
  flex: 1 1 auto;
}

.tap-modal-pick-meta {
  margin-top: 8px;
  font-size: 11px;
  color: #64748b;
  text-align: right;
  font-weight: 600;
}

.tap-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #eef2f7;
  background: #fafbfc;
}

.tap-modal-footer-right {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tap-modal-footer .tap-btn {
  min-width: auto;
  min-height: 34px;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.tap-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.tap-modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tap-modal-search {
  width: 100%;
  margin-bottom: 8px;
}

.tap-modal-pick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 6px 0;
}

.tap-modal-list {
  max-height: 55vh;
  overflow: auto;
  border: 1px solid #eef2f7;
  border-radius: var(--tap-radius-sm);
  padding: 6px;
  background: var(--tap-surface-soft);
}

.tap-check-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  padding: 5px 6px;
  border-radius: 8px;
}

.tap-check-row:hover {
  background: #fff;
}

.tap-check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #3b82f6;
}

.tap-check-row span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  color: #334155;
}

/* Responsive */
@media (max-width: 720px) {
  .tap-query-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 8px;
  }

  .tap-query-anbar,
  .tap-query-action {
    grid-column: 1 / -1;
  }

  .tap-query-date,
  .tap-query-status {
    flex: none;
    width: auto;
  }

  .tap-query-action .tap-btn-primary {
    width: 100%;
  }
}

@media (max-width: 640px) {

  .tap-detail-head {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .tap-detail-title {
    order: -1;
    text-align: left;
    font-size: 18px;
  }

  .tap-btn-ghost,
  .tap-btn-success {
    width: 100%;
  }

  .tap-table thead th {
    white-space: normal;
  }
}

/* Toast */
.tap-toast {
  position: fixed;
  right: 18px;
  top: 16px;
  z-index: 10060;
  min-width: 220px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 11px 15px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tap-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tap-toast-success {
  border: 1px solid #86efac;
  background: linear-gradient(135deg, #ecfdf5, #bbf7d0);
  color: #065f46;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.22);
}

.tap-toast-error {
  border: 1px solid #fca5a5;
  background: linear-gradient(135deg, #fff1f2, #fecaca);
  color: #7f1d1d;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.18);
}

/* Cədvəli şəkil et — paylaşım modalı (openShareModalForTable) */
#shareRowsOverlay.share-rows-premium {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.34) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#shareRowsOverlay.share-rows-premium .share-rows-card {
  position: relative;
  width: min(400px, 100%);
  padding: 18px 18px 16px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 18px;
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

#shareRowsOverlay.share-rows-premium .share-rows-icon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 11px;
  background: rgba(241, 245, 249, 0.95);
  color: #64748b;
  cursor: pointer;
}

#shareRowsOverlay.share-rows-premium .share-rows-heading {
  margin: 0 40px 14px 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

#shareRowsOverlay.share-rows-premium .share-rows-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

#shareRowsOverlay.share-rows-premium .share-rows-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  box-sizing: border-box;
}

#shareRowsOverlay.share-rows-premium .share-rows-meta {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

#shareRowsOverlay.share-rows-premium .share-rows-status {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin: 4px 0 14px;
  min-height: 20px;
}

#shareRowsOverlay.share-rows-premium .share-rows-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

#shareRowsOverlay.share-rows-premium .share-rows-btn {
  min-width: 118px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

#shareRowsOverlay.share-rows-premium .share-rows-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

#shareRowsOverlay.share-rows-premium .share-rows-btn--amber {
  color: #78350f;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
}

#shareRowsOverlay.share-rows-premium .share-rows-btn--emerald {
  color: #fff;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}
