/* Premium Yönetimi — sayfaya özel stiller */

.premium-ops-page .premium-hero.pay-hero {
  background: linear-gradient(128deg, #1e1640 0%, #3d2f7a 42%, #5b4fc7 72%, #6d5ce8 100%);
  border: 0;
  box-shadow: 0 18px 42px rgba(45, 31, 94, 0.28);
}

.premium-ops-page .premium-hero.pay-hero::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff9f43 0%, #ffd166 42%, #fff3c4 68%, rgba(255, 255, 255, 0.2) 100%);
  z-index: 2;
}

.premium-ops-page .premium-hero.pay-hero::after {
  content: '';
  position: absolute;
  right: -3rem;
  top: -2.5rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 102, 0.28) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.premium-ops-page .premium-hero .card-body {
  position: relative;
  z-index: 1;
}

.premium-ops-page .premium-hero h4 .tabler-crown {
  filter: drop-shadow(0 2px 6px rgba(255, 159, 67, 0.45));
}

.premium-hero-eyebrow {
  background: rgba(255, 214, 102, 0.18);
  color: #ffe8a3;
  border: 1px solid rgba(255, 214, 102, 0.35);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
}

.premium-filter-shell .select2-container--default .select2-selection--single {
  border-radius: 0.55rem !important;
  border-color: rgba(115, 103, 240, 0.18) !important;
  min-height: 2.15rem;
}

.premium-filter-shell .select2-container--default.select2-container--open .select2-selection--single,
.premium-filter-shell .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: rgba(115, 103, 240, 0.45) !important;
}

.premium-cta-btn {
  background: linear-gradient(135deg, #fff9eb 0%, #ffe8b8 100%);
  border: 1px solid rgba(255, 214, 102, 0.65);
  color: #5c3d00;
  font-weight: 700;
}

.premium-cta-btn:hover,
.premium-cta-btn:focus {
  background: linear-gradient(135deg, #fff3d6 0%, #ffd98a 100%);
  color: #3d2800;
  border-color: #ffca52;
}

.premium-hero-lead {
  max-width: 36rem;
  line-height: 1.5;
}

.premium-hero-head {
  align-items: flex-end;
}

.premium-hero-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.premium-hero-stats-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.premium-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.premium-hero-stat .icon-base {
  font-size: 0.9rem;
  color: #ffd166;
}

.premium-hero-stat strong {
  color: #fff;
  font-weight: 800;
}

.premium-hero-stat-sep {
  opacity: 0.45;
}

.premium-hero-btn {
  min-height: 2.25rem;
  padding-inline: 1rem;
  font-weight: 700;
  border-radius: 0.65rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.premium-hero-btn-listing {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #3d2f7a;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.premium-hero-btn-listing .icon-base {
  color: #ff9f43;
}

.premium-hero-btn-listing:hover,
.premium-hero-btn-listing:focus {
  background: #fff9eb;
  border-color: #ffca52;
  color: #4a3200;
  box-shadow: 0 10px 22px rgba(255, 159, 67, 0.22);
  transform: translateY(-1px);
}

.premium-hero-btn-listing:hover .icon-base,
.premium-hero-btn-listing:focus .icon-base {
  color: #ff9f43;
}

.premium-cta-btn.premium-hero-btn:hover,
.premium-cta-btn.premium-hero-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 202, 82, 0.28);
}

.premium-kpi-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 18, 62, 0.28);
}

.premium-kpi-copy {
  min-width: 0;
}

.premium-kpi-icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
}

.premium-page-card {
  border: 1px solid rgba(115, 103, 240, 0.1);
  box-shadow: 0 10px 32px rgba(45, 31, 94, 0.07);
  border-radius: 1rem;
  overflow: hidden;
}

.premium-filter-shell--lux {
  padding: 0;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #faf9ff 0%, #fff 42%);
  border: 1px solid rgba(115, 103, 240, 0.14);
  box-shadow: 0 8px 24px rgba(45, 31, 94, 0.06);
  overflow: hidden;
}

.premium-filter-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #7367f0;
  background: linear-gradient(90deg, rgba(115, 103, 240, 0.1) 0%, rgba(255, 159, 67, 0.06) 100%);
  border-bottom: 1px solid rgba(115, 103, 240, 0.1);
}

.premium-filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem 0.65rem;
}

.premium-filter-section {
  padding: 0 1rem 0.85rem;
}

.premium-filter-section-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a8aaae;
  margin-bottom: 0.5rem;
}

.premium-filter-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.premium-filter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  border: 1.5px solid rgba(115, 103, 240, 0.12);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.premium-filter-card:hover {
  border-color: rgba(115, 103, 240, 0.35);
  box-shadow: 0 6px 16px rgba(115, 103, 240, 0.1);
  transform: translateY(-1px);
}

.premium-filter-card.active {
  border-color: #7367f0;
  background: linear-gradient(145deg, rgba(115, 103, 240, 0.1) 0%, #fff 55%);
  box-shadow: 0 8px 20px rgba(115, 103, 240, 0.16);
}

.premium-filter-card-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.premium-filter-card-icon.tone-all { background: rgba(115, 103, 240, 0.12); color: #7367f0; }
.premium-filter-card-icon.tone-success { background: rgba(40, 199, 111, 0.12); color: #28c76f; }
.premium-filter-card-icon.tone-danger { background: rgba(234, 84, 85, 0.12); color: #ea5455; }

.premium-filter-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bs-body-color);
}

.premium-filter-card-sub {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
}

.premium-filter-card-count {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(47, 43, 61, 0.08);
}

.premium-filter-card.active .premium-filter-card-count {
  background: #7367f0;
  color: #fff;
}

#premiumTierBandsMount {
  display: contents;
}

.premium-tier-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.premium-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(115, 103, 240, 0.14);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bs-body-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.premium-tier-pill small {
  font-size: 0.64rem;
  font-weight: 600;
  opacity: 0.7;
}

.premium-tier-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.premium-tier-pill.active {
  color: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.premium-tier-pill.is-bronze .icon-base { color: #cd7f32; }
.premium-tier-pill.is-silver .icon-base { color: #707b94; }
.premium-tier-pill.is-gold .icon-base { color: #ff9f43; }
.premium-tier-pill.is-platinum .icon-base { color: #7367f0; }

.premium-tier-pill.is-bronze.active { background: linear-gradient(135deg, #cd7f32, #e8a85c); border-color: #cd7f32; }
.premium-tier-pill.is-silver.active { background: linear-gradient(135deg, #707b94, #8f99b0); border-color: #707b94; }
.premium-tier-pill.is-gold.active { background: linear-gradient(135deg, #ff9f43, #ffbe76); border-color: #ff9f43; }
.premium-tier-pill.is-platinum.active { background: linear-gradient(135deg, #7367f0, #9b8ef5); border-color: #7367f0; }

.premium-tier-pill.active .icon-base,
.premium-tier-pill.active small {
  color: #fff !important;
  opacity: 1;
}

.premium-tier-pill.active:not(.is-bronze):not(.is-silver):not(.is-gold):not(.is-platinum) {
  background: linear-gradient(135deg, #7367f0, #9b8ef5);
  border-color: #7367f0;
  color: #fff;
}

.premium-tier-pill-count {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(47, 43, 61, 0.08);
}

.premium-tier-pill.active .premium-tier-pill-count {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.premium-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.premium-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 1rem 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(115, 103, 240, 0.04);
  border: 1px dashed rgba(115, 103, 240, 0.16);
}

.premium-active-filters.d-none {
  display: none !important;
}

.premium-active-filters-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a8aaae;
  margin-right: 0.15rem;
}

.premium-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(115, 103, 240, 0.1);
  color: #5e50ee;
  cursor: pointer;
}

.premium-active-tag:hover {
  background: rgba(115, 103, 240, 0.16);
}

.premium-active-clear-all {
  border: 0;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ea5455;
  padding: 0.2rem 0.35rem;
  margin-left: auto;
  cursor: pointer;
}

.premium-active-clear-all:hover {
  text-decoration: underline;
}

.premium-search-wrap {
  position: relative;
  min-width: 0;
}

.premium-search-icon {
  position: absolute;
  left: 0.72rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7367f0;
  opacity: 0.75;
  pointer-events: none;
  z-index: 2;
}

.premium-search-input {
  padding-left: 2.15rem !important;
  border-radius: 0.55rem !important;
  border-color: rgba(115, 103, 240, 0.18) !important;
  background: #fff;
}

.premium-search-input:focus {
  border-color: rgba(115, 103, 240, 0.45) !important;
  box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.12);
}

.premium-live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #28c76f;
  box-shadow: 0 0 0 3px rgba(40, 199, 111, 0.2);
  flex-shrink: 0;
}

.premium-sync-badge {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.premium-ops-page .premium-hero {
  position: relative;
  overflow: hidden;
}

.premium-page-card > .card-body {
  padding-inline: 1.15rem;
}

.premium-page-card .member-filter-grid {
  margin-bottom: 0.75rem;
}

.premium-table-wrap {
  border-radius: 0.85rem;
  border: 1px solid var(--bs-border-color);
  overflow-x: auto;
  background: var(--bs-paper-bg);
}

.premium-table-wrap .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 48rem;
}

.premium-table-wrap thead th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5e5873;
  padding: 0.85rem 1rem;
  white-space: nowrap;
  border-bottom-width: 1px;
  background: linear-gradient(180deg, rgba(115, 103, 240, 0.06) 0%, rgba(115, 103, 240, 0.02) 100%);
}

.premium-table-wrap tbody td {
  padding: 0.72rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.premium-data-table tbody tr.is-premium-active {
  box-shadow: inset 3px 0 0 #ff9f43;
  background: linear-gradient(90deg, rgba(255, 159, 67, 0.04) 0%, transparent 28%);
}

.premium-data-table tbody tr.is-premium-active:hover {
  background: linear-gradient(90deg, rgba(255, 159, 67, 0.07) 0%, rgba(115, 103, 240, 0.03) 100%);
}

/* Tablo içi kompakt paket dönemi */
.premium-period-compact {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  max-width: 11rem;
  line-height: 1.25;
}

.premium-period-compact-dates {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bs-body-color);
  white-space: nowrap;
}

.premium-period-compact-note {
  font-size: 0.68rem;
  font-weight: 600;
  color: #a8aaae;
}

.premium-period-compact.is-active .premium-period-compact-note {
  color: #28c76f;
}

.premium-period-compact.is-ending .premium-period-compact-note {
  color: #ff9f43;
}

.premium-period-compact.is-expired .premium-period-compact-note {
  color: #ea5455;
}

.premium-period-compact.is-gift .premium-period-compact-dates {
  color: #ff9f43;
}

.premium-period-compact.is-gift .premium-period-compact-note {
  color: #a8aaae;
}

.premium-data-table td:nth-child(6) {
  vertical-align: middle;
  white-space: nowrap;
}

/* Premium dönem kartı (modal / detay) */
.premium-period-card {
  min-width: 17rem;
  max-width: 22rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(115, 103, 240, 0.07) 0%, rgba(255, 159, 67, 0.05) 100%);
  border: 1px solid rgba(115, 103, 240, 0.14);
  box-shadow: 0 4px 14px rgba(45, 31, 94, 0.06);
}

.premium-period-card.is-ending {
  border-color: rgba(255, 159, 67, 0.45);
  background: linear-gradient(145deg, rgba(255, 159, 67, 0.1) 0%, rgba(115, 103, 240, 0.04) 100%);
}

.premium-period-card.is-expired {
  border-color: rgba(234, 84, 85, 0.35);
  background: linear-gradient(145deg, rgba(234, 84, 85, 0.08) 0%, rgba(115, 103, 240, 0.03) 100%);
}

.premium-period-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.premium-period-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7367f0;
}

.premium-period-card-brand .icon-base {
  color: #ff9f43;
}

.premium-period-status {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.premium-period-status.is-active {
  background: rgba(40, 199, 111, 0.12);
  color: #28c76f;
}

.premium-period-status.is-ending {
  background: rgba(255, 159, 67, 0.15);
  color: #e68a00;
}

.premium-period-status.is-expired {
  background: rgba(234, 84, 85, 0.12);
  color: #ea5455;
}

.premium-period-dates-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.45rem;
  align-items: center;
}

.premium-period-date-block {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}

.premium-period-date-block.is-end {
  flex-direction: row-reverse;
  text-align: right;
}

.premium-period-date-icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-period-date-block.is-start .premium-period-date-icon {
  background: rgba(40, 199, 111, 0.14);
  color: #28c76f;
}

.premium-period-date-block.is-end .premium-period-date-icon {
  background: rgba(234, 84, 85, 0.12);
  color: #ea5455;
}

.premium-period-date-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bs-secondary-color);
  line-height: 1.1;
}

.premium-period-date-value {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--bs-body-color);
  line-height: 1.25;
  white-space: nowrap;
}

.premium-period-progress-track {
  position: relative;
  width: 2.5rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(115, 103, 240, 0.12);
  overflow: visible;
  flex-shrink: 0;
}

.premium-period-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #28c76f 0%, #ff9f43 55%, #ea5455 100%);
  transition: width 0.3s ease;
}

.premium-period-progress-dot {
  position: absolute;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ff9f43;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.premium-email {
  display: inline-block;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  color: var(--bs-secondary-color);
  font-size: 0.82rem;
}

.premium-period {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.premium-period-arrow {
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.premium-row-actions .btn {
  font-size: 0.76rem;
  font-weight: 600;
  padding-inline: 0.55rem;
}

.premium-row-actions .premium-action-text {
  display: none;
}

.grant-credit-results {
  display: flex;
  flex-direction: column;
  max-height: 11.5rem;
  overflow: hidden;
  border: 1px solid rgba(105, 108, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(248, 250, 252, 0.7);
}

.grant-credit-results__head {
  flex: 0 0 auto;
  padding: 0.45rem 0.7rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
  border-bottom: 1px solid rgba(105, 108, 255, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.grant-credit-results__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.45rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.grant-credit-results__foot {
  flex: 0 0 auto;
  padding: 0.35rem 0.7rem 0.45rem;
  font-size: 0.68rem;
  color: var(--bs-secondary-color);
  border-top: 1px solid rgba(105, 108, 255, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.grant-credit-results.is-message-only {
  max-height: none;
  overflow: visible;
}

.grant-credit-results.is-message-only .grant-credit-results__list {
  overflow: visible;
  padding: 0.55rem 0.7rem;
}

.grant-credit-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.grant-credit-result:hover,
.grant-credit-result.is-selected {
  border-color: rgba(105, 108, 255, 0.35);
  box-shadow: 0 4px 14px rgba(105, 108, 255, 0.1);
}

.grant-credit-result__name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bs-body-color);
}

.grant-credit-result__meta {
  font-size: 0.72rem;
  color: var(--bs-secondary-color);
}

.grant-credit-search-wrap .form-text {
  margin-top: 0.35rem;
}

.grant-credit-search-spinner {
  background: transparent;
  border-left: 0;
}

.grant-credit-selected {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(40, 199, 111, 0.28);
  background: linear-gradient(135deg, rgba(40, 199, 111, 0.08), rgba(255, 255, 255, 0.95));
}

.grant-credit-selected__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  background: rgba(40, 199, 111, 0.14);
  color: #28c76f;
  flex: 0 0 2.25rem;
}

.grant-credit-selected__body {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  flex: 1 1 auto;
}

.grant-credit-selected__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
}

.grant-credit-selected__name {
  font-size: 0.9rem;
  line-height: 1.2;
}

.grant-credit-selected__phone {
  font-size: 0.78rem;
  color: var(--bs-secondary-color);
}

.premium-toolbar-meta .badge {
  font-weight: 600;
  font-size: 0.72rem;
}

.nav-tabs-premium .nav-link .badge {
  font-size: 0.68rem;
  min-width: 1.35rem;
  padding: 0.2rem 0.45rem;
}

.premium-table-wrap tbody tr:hover {
  background: rgba(115, 103, 240, 0.02);
}

.premium-phone {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--bs-body-color);
  background: rgba(47, 43, 61, 0.04);
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
}

.premium-tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 50rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.premium-tier-chip.tier-bronze { background: rgba(205, 127, 50, 0.1); color: #cd7f32; }
.premium-tier-chip.tier-gift { background: rgba(20, 184, 166, 0.12); color: #0f766e; }
.premium-tier-chip.tier-silver { background: rgba(112, 123, 148, 0.12); color: #707b94; }
.premium-tier-chip.tier-gold { background: rgba(255, 159, 67, 0.12); color: #ff9f43; }
.premium-tier-chip.tier-platinum { background: rgba(115, 103, 240, 0.12); color: #7367f0; }
.premium-tier-chip.tier-none { background: rgba(148, 163, 184, 0.12); color: #64748b; }

.premium-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--bs-secondary-color);
}

.premium-empty-state i {
  font-size: 2.5rem;
  opacity: 0.35;
  margin-bottom: 0.75rem;
  display: block;
}

/* Paket kartları */
.package-grid-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.package-grid-card:hover {
  transform: translateY(-6px);
}

.package-grid-card.tier-bronze { border-top: 5px solid #cd7f32; }
.package-grid-card.tier-silver { border-top: 5px solid #707b94; }
.package-grid-card.tier-gold { border-top: 5px solid #ff9f43; }
.package-grid-card.tier-platinum { border-top: 5px solid #7367f0; }
.package-grid-card.tier-boost { border-top: 5px solid #ea5455; }

.package-grid-card.tier-bronze:hover { box-shadow: 0 15px 35px rgba(205, 127, 50, 0.12); }
.package-grid-card.tier-silver:hover { box-shadow: 0 15px 35px rgba(112, 123, 148, 0.12); }
.package-grid-card.tier-gold:hover { box-shadow: 0 15px 35px rgba(255, 159, 67, 0.15); }
.package-grid-card.tier-platinum:hover { box-shadow: 0 15px 35px rgba(115, 103, 240, 0.16); }
.package-grid-card.tier-boost:hover { box-shadow: 0 15px 35px rgba(234, 84, 85, 0.16); }

.tier-boost .tier-icon { color: #ea5455; }
.tier-boost .package-badge-tier { background: rgba(234, 84, 85, 0.1); color: #ea5455; }

.tier-bronze .tier-icon { color: #cd7f32; }
.tier-silver .tier-icon { color: #707b94; }
.tier-gold .tier-icon { color: #ff9f43; }
.tier-platinum .tier-icon { color: #7367f0; }

.package-badge-tier {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tier-bronze .package-badge-tier { background: rgba(205, 127, 50, 0.1); color: #cd7f32; }
.tier-silver .package-badge-tier { background: rgba(112, 123, 148, 0.1); color: #707b94; }
.tier-gold .package-badge-tier { background: rgba(255, 159, 67, 0.1); color: #ff9f43; }
.tier-platinum .package-badge-tier { background: rgba(115, 103, 240, 0.1); color: #7367f0; }

.package-card-header {
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.package-price-tag {
  font-size: 2.1rem;
  font-weight: 800;
  color: #2f2b3d;
  margin: 0.65rem 0 0.25rem;
  line-height: 1;
}

.package-unit-price {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.package-badge-active {
  background: rgba(40, 199, 111, 0.12) !important;
  color: #28c76f !important;
}

.package-badge-inactive {
  background: rgba(234, 84, 85, 0.12) !important;
  color: #ea5455 !important;
}

.package-features {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.package-features ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.package-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #4b5563;
  font-size: 0.86rem;
}

.package-features li i {
  color: #28c76f;
}

.package-boost-usage {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1.25rem 0.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(234, 84, 85, 0.14);
  background: rgba(234, 84, 85, 0.04);
  text-align: center;
}

.package-boost-usage--active {
  border-color: rgba(255, 159, 67, 0.28);
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.1) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.package-boost-usage--empty {
  border-style: dashed;
  background: rgba(100, 116, 139, 0.05);
}

.package-boost-usage__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 159, 67, 0.16);
  color: #ff9f43;
}

.package-boost-usage--empty .package-boost-usage__icon {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
}

.package-boost-usage__count {
  font-size: 0.84rem;
  font-weight: 700;
  color: #2f2b3d;
  line-height: 1.35;
}

.package-boost-usage__hint {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.package-actions {
  padding: 1rem 1.25rem;
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 0.5rem;
}

.premium-period-card.is-gift {
  border-color: rgba(255, 159, 67, 0.25);
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.06) 0%, rgba(255, 255, 255, 1) 100%);
}

.premium-period-dates-row--gift {
  grid-template-columns: 1fr 1fr;
}

.package-actions .btn-edit-package {
  flex: 1 1 auto;
}

.package-actions .btn-view-package-boosts {
  flex: 1 1 100%;
}

.premium-packages-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.premium-catalog-bar {
  margin-bottom: 1.25rem;
}

.premium-catalog-bar__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.premium-catalog-search {
  flex: 1 1 14rem;
  min-width: 12rem;
  max-width: 22rem;
}

.premium-catalog-refresh {
  flex: 0 0 auto;
}

.premium-catalog-bar__meta {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: #64748b;
}

.premium-catalog-bar__secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(115, 103, 240, 0.08);
}

.premium-catalog-bar__secondary-label {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.premium-catalog-bar--balances .premium-tier-strip {
  flex: 1 1 auto;
  min-width: 0;
}

#tab-balances .ops-route-person-link {
  max-width: 100%;
}

.premium-catalog-bar--balances .premium-catalog-bar__tools {
  align-items: center;
}

.premium-catalog-bar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.premium-catalog-bar--balances .premium-catalog-search {
  flex: 1 1 12rem;
  max-width: 22rem;
}

#tab-balances .premium-tier-chip {
  font-size: 0.7rem;
  padding: 0.22rem 0.5rem;
}

.premium-package-stats {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-left: auto;
}

.premium-package-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.premium-package-stat i {
  font-size: 0.95rem;
}

.premium-package-stat strong {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.premium-package-stat--sms {
  color: #5e50ee;
  background: rgba(115, 103, 240, 0.1);
  border-color: rgba(115, 103, 240, 0.18);
}

.premium-package-stat--listing {
  color: #c27d0e;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.16), rgba(241, 196, 15, 0.14));
  border-color: rgba(255, 159, 67, 0.28);
  box-shadow: 0 1px 6px rgba(255, 159, 67, 0.12);
}

.premium-catalog-bar__meta#packagesSummaryFilterNote {
  margin-top: 0.45rem;
  font-size: 0.76rem;
  color: #94a3b8;
}

.premium-segment {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem;
  gap: 0.15rem;
  border-radius: 0.7rem;
  background: rgba(115, 103, 240, 0.08);
  border: 1px solid rgba(115, 103, 240, 0.1);
}

.premium-segment--wrap {
  flex-wrap: wrap;
  max-width: 100%;
}

.premium-segment--tiers .premium-segment__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.premium-segment__btn-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.premium-segment__btn-icon--all {
  color: #7367f0;
}

.premium-segment__btn-icon--bronze {
  color: #cd7f32;
}

.premium-segment__btn-icon--silver {
  color: #707b94;
}

.premium-segment__btn-icon--gold {
  color: #ff9f43;
}

.premium-segment__btn-icon--platinum {
  color: #7367f0;
}

.premium-segment__btn-icon--gift {
  color: #14b8a6;
}

.premium-segment__btn--gift.active {
  color: #0f766e;
}

.premium-segment__btn--gift:not(.active) {
  color: #0f766e;
}

.premium-segment__btn--tier.is-bronze.active {
  color: #a8641d;
}

.premium-segment__btn--tier.is-silver.active {
  color: #5b6478;
}

.premium-segment__btn--tier.is-gold.active {
  color: #d97706;
}

.premium-segment__btn--tier.is-platinum.active {
  color: #5e50ee;
}

#tab-balances .premium-catalog-bar__secondary .premium-segment {
  flex: 1 1 auto;
  min-width: 0;
}

.premium-segment__btn {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.42rem 0.8rem;
  border-radius: 0.55rem;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.premium-segment__btn:hover {
  color: #4b5563;
}

.premium-segment__btn.active {
  background: #fff;
  color: #7367f0;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.premium-segment__count {
  display: inline-block;
  min-width: 1.1rem;
  margin-left: 0.2rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(115, 103, 240, 0.1);
  color: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  vertical-align: middle;
}

.premium-segment__btn.active .premium-segment__count {
  background: rgba(115, 103, 240, 0.14);
}

.premium-search-wrap--compact {
  max-width: 18rem;
  min-width: 12rem;
}

.premium-package-chips .btn {
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50rem;
  padding: 0.35rem 0.85rem;
}

/* Modal & form */
.preset-btn {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.85rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  min-height: 5.5rem;
}

.preset-btn__price {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(115, 103, 240, 0.1);
  color: #7367f0;
}

.preset-btn--listing .preset-btn__price {
  background: rgba(255, 159, 67, 0.14);
  color: #ff9f43;
}

.preset-btn__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #2f2b3d;
  padding-right: 3rem;
}

.preset-btn__meta {
  font-size: 0.76rem;
  color: #64748b;
}

.preset-btn:hover,
.preset-btn.active {
  border-color: #7367f0;
  background: rgba(115, 103, 240, 0.05);
  box-shadow: 0 8px 20px rgba(115, 103, 240, 0.08);
}

.preset-btn--listing:hover,
.preset-btn--listing.active {
  border-color: #ff9f43;
  background: rgba(255, 159, 67, 0.06);
  box-shadow: 0 8px 20px rgba(255, 159, 67, 0.1);
}

.premium-package-type-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(115, 103, 240, 0.14);
  background: linear-gradient(135deg, rgba(115, 103, 240, 0.06) 0%, #fff 100%);
}

.premium-package-type-badge.is-listing {
  border-color: rgba(255, 159, 67, 0.22);
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.08) 0%, #fff 100%);
}

.premium-package-type-badge__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(115, 103, 240, 0.12);
  color: #7367f0;
  flex: 0 0 auto;
}

.premium-package-type-badge.is-listing .premium-package-type-badge__icon {
  background: rgba(255, 159, 67, 0.14);
  color: #ff9f43;
}

.premium-package-type-badge__copy strong {
  display: block;
  font-size: 0.92rem;
  color: #2f2b3d;
}

.premium-package-type-badge__copy small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
}

#modalPackage .select2-container--default .select2-selection--single {
  border-radius: 0.55rem !important;
  border-color: rgba(115, 103, 240, 0.18) !important;
  min-height: 2.35rem;
}

#modalPackage .select2-container--default.select2-container--open .select2-selection--single,
#modalPackage .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: rgba(115, 103, 240, 0.45) !important;
}

#modalPackage .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: inline-flex;
  align-items: center;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.premium-package-section {
  padding: 1rem 0 0.25rem;
}

.premium-package-section + .premium-package-section {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.premium-package-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.premium-package-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.premium-package-section--highlight {
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 159, 67, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 159, 67, 0.12);
}

.premium-catalog-jump {
  white-space: nowrap;
  font-weight: 600;
}

.premium-empty-state--compact {
  padding: 1.25rem 1rem;
}

.premium-empty-state--compact i {
  font-size: 1.5rem;
  opacity: 0.45;
  margin-bottom: 0.35rem;
}

@media (min-width: 992px) {
  .border-end-lg {
    border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
  }
}

/* Sekmeler — segment kontrol */
.nav-tabs-premium {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border: 0;
  margin: 1rem 1.15rem 0;
  padding: 0.3rem;
  gap: 0.35rem;
  border-radius: 0.75rem;
  background: rgba(115, 103, 240, 0.07);
  width: calc(100% - 2.3rem);
  max-width: 100%;
}

.nav-tabs-premium .nav-item {
  flex: 0 0 auto;
}

.premium-tab-icon {
  margin-right: 0.35rem;
}

.premium-tab-text--short {
  display: none;
}

.premium-hero-actions {
  flex: 0 0 auto;
  min-width: 0;
  justify-content: flex-end;
}

.premium-page-card-body {
  padding-inline: clamp(0.85rem, 2.5vw, 1.5rem);
}

.nav-tabs-premium .nav-link {
  border: none;
  font-weight: 600;
  font-size: 0.84rem;
  color: #6e6b7b;
  padding: 0.62rem 1rem;
  position: relative;
  border-radius: 0.55rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-tabs-premium .nav-link:hover {
  color: #7367f0;
  background: rgba(255, 255, 255, 0.55);
}

.nav-tabs-premium .nav-link.active {
  color: #7367f0;
  background: #fff;
  box-shadow: 0 4px 14px rgba(45, 31, 94, 0.1);
}

.nav-tabs-premium .nav-link.active::after {
  display: none;
}

/* Tablo rozetleri */
.credits-badge-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.14) 0%, rgba(115, 103, 240, 0.1) 100%);
  color: #6d4c00;
  border: 1px solid rgba(255, 159, 67, 0.28);
  font-weight: 700;
  border-radius: 50rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  box-shadow: 0 2px 8px rgba(255, 159, 67, 0.12);
}

.credits-badge-premium .icon-base {
  color: #7367f0;
}

.credits-badge-premium.is-zero {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: none;
}

.date-pill-start,
.date-pill-end {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.74rem;
  padding: 0.28rem 0.55rem;
  border-radius: 0.45rem;
  white-space: nowrap;
  max-width: 100%;
}

.date-pill-start .icon-base,
.date-pill-end .icon-base {
  flex-shrink: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.date-pill-text {
  line-height: 1.2;
}

.date-pill-label {
  font-weight: 700;
  margin-right: 0.15rem;
}

.date-pill-start {
  background: rgba(40, 199, 111, 0.08);
  color: #28c76f;
  border: 1px solid rgba(40, 199, 111, 0.12);
}

.date-pill-end {
  background: rgba(234, 84, 85, 0.08);
  color: #ea5455;
  border: 1px solid rgba(234, 84, 85, 0.12);
}

.premium-filter-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
}

.premium-filter-option .icon-base {
  font-size: 1rem;
  opacity: 0.85;
}

.premium-filter-option.is-tier-bronze .icon-base { color: #cd7f32; }
.premium-filter-option.is-tier-silver .icon-base { color: #707b94; }
.premium-filter-option.is-tier-gold .icon-base { color: #ff9f43; }
.premium-filter-option.is-tier-platinum .icon-base { color: #7367f0; }

.premium-filter-option.is-tone-success .icon-base { color: #28c76f; }
.premium-filter-option.is-tone-danger .icon-base { color: #ea5455; }
.premium-filter-option.is-tone-warning .icon-base { color: #ff9f43; }

.premium-filter-option:not([class*='is-tier-']):not([class*='is-tone-']) .icon-base {
  color: #7367f0;
}

.premium-page-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: inline-flex;
  align-items: center;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.premium-page-card .select2-results__option .premium-filter-option .icon-base {
  color: inherit;
}

.premium-action-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  padding: 0;
  transition: all 0.2s ease;
}

.btn-adjust-credit {
  background: rgba(40, 199, 111, 0.1);
  color: #28c76f;
}

.btn-adjust-credit:hover {
  background: #28c76f;
  color: #fff;
}

.btn-view-history {
  background: rgba(115, 103, 240, 0.08);
  color: #7367f0;
}

.btn-view-history:hover {
  background: #7367f0;
  color: #fff;
}

/* Timeline */
.transaction-timeline {
  position: relative;
  padding-left: 1.8rem;
}

.transaction-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
}

.timeline-marker {
  position: absolute;
  left: -25px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #cbd5e1;
  z-index: 2;
}

.timeline-marker.purchase { background: #28c76f; }
.timeline-marker.match { background: #ff9f43; }
.timeline-marker.refund { background: #00cfe8; }
.timeline-marker.admin { background: #7367f0; }

.timeline-content {
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid #f1f5f9;
}

/* Filtre grid */
.premium-page-card .ops-filter-select-row {
  display: contents;
}

@media (min-width: 1200px) {
  .premium-row-actions .premium-action-text {
    display: inline;
    margin-left: 0.2rem;
  }

  .premium-row-actions .btn {
    padding-inline: 0.7rem;
  }
}

@media (max-width: 991.98px) {
  .premium-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-filter-actions {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .premium-filter-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-filter-shell--lux {
    min-width: 0;
    overflow: hidden;
  }

  .premium-filter-section {
    min-width: 0;
  }

  .premium-catalog-bar__tools {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-catalog-search,
  .premium-catalog-jump,
  .premium-catalog-refresh {
    width: 100%;
    flex: none;
  }

  .premium-catalog-bar--balances .premium-catalog-search {
    width: 100%;
    max-width: none;
    flex: none;
  }

  .premium-catalog-bar__actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .premium-package-stats {
    width: 100%;
    margin-left: 0;
    justify-content: stretch;
  }

  .premium-package-stat {
    flex: 1 1 0;
    justify-content: center;
  }

  .premium-catalog-jump {
    justify-content: center;
  }

  .premium-segment {
    width: 100%;
    justify-content: stretch;
  }

  .premium-package-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-package-section-actions {
    width: 100%;
  }

  .premium-package-section-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    justify-content: center;
  }

  .premium-ops-page .premium-hero .card-body {
    padding: 1rem;
  }

  .premium-ops-page .premium-hero h4 {
    font-size: 1.15rem;
  }

  .premium-table-wrap .table {
    min-width: 42rem;
  }
}

@media (max-width: 767.98px) {
  .premium-ops-page {
    overflow-x: clip;
  }

  .premium-filter-toolbar {
    padding-inline: 0.75rem;
  }

  .premium-filter-section {
    padding-inline: 0.75rem;
  }

  .premium-filter-cards {
    grid-template-columns: 1fr;
  }

  .premium-filter-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .premium-filter-actions #btnGrantWelcomeToExisting {
    flex: 1 1 100%;
    order: -1;
  }

  .premium-tier-strip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 0.35rem;
  }

  .premium-tier-pill {
    scroll-snap-align: start;
  }

  .premium-period-card {
    min-width: 0;
    width: 100%;
  }

  .premium-period-dates-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .premium-period-date-block.is-end {
    flex-direction: row;
    text-align: left;
  }

  .premium-period-progress-track {
    width: 100%;
    order: 3;
    grid-column: 1 / -1;
  }

  .nav-tabs-premium {
    width: calc(100% - 1.5rem);
    margin-inline: 0.75rem;
  }

  .nav-tabs-premium .nav-link {
    font-size: 0.76rem;
    padding: 0.5rem 0.7rem;
    white-space: nowrap;
  }

  .premium-tab-text--long {
    display: none;
  }

  .premium-tab-text--short {
    display: inline;
  }

  .premium-tab-icon {
    margin-right: 0.2rem;
  }

  .premium-hero-head {
    align-items: stretch;
  }

  .premium-hero-actions {
    width: 100%;
    justify-content: stretch;
  }

  .premium-hero-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
  }

  .premium-kpi-card {
    gap: 0.55rem;
  }

  .premium-kpi-icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1rem;
  }

  .pay-mini-label {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .pay-mini-value {
    font-size: 1.1rem;
  }

  .premium-catalog-bar__tools {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-catalog-search {
    max-width: none;
    width: 100%;
  }

  .premium-segment {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem; /* For scrollbar */
  }

  .premium-segment__btn {
    flex: 0 0 auto;
    text-align: center;
    padding-inline: 0.5rem;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .premium-segment__count {
    display: inline-block;
    margin-left: 0.15rem;
    min-width: auto;
    padding-inline: 0.3rem;
  }

  .premium-package-section-actions .btn {
    flex: 1 1 100%;
  }

  .premium-package-section--highlight {
    padding: 0.85rem;
  }

  .package-grid-card:hover {
    transform: none;
  }

  .package-price-tag {
    font-size: 1.65rem;
  }

  .package-actions {
    flex-direction: column;
  }

  .package-actions .btn-edit-package {
    width: 100%;
  }

  .preset-btn {
    padding: 0.5rem;
    min-height: auto;
    text-align: center;
    align-items: center;
  }

  .preset-btn__price {
    position: static;
    margin-bottom: 0.25rem;
    font-size: 0.65rem;
  }

  .preset-btn__title {
    font-size: 0.8rem;
    padding-right: 0;
  }

  .preset-btn__meta {
    font-size: 0.65rem;
  }

  .premium-packages-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-packages-toolbar > div:last-child {
    width: 100%;
  }

  .premium-search-wrap--compact {
    min-width: 0;
    width: 100%;
  }

  .premium-package-chips.btn-group {
    width: 100%;
    flex-wrap: wrap;
  }

  .premium-package-chips .btn {
    flex: 1 1 auto;
  }

  .premium-table-wrap {
    /* Allow horizontal scrolling on mobile */
    overflow-x: auto;
    border: 0;
    background: transparent;
  }

  .premium-table-wrap .table {
    min-width: 48rem; /* Prevent table from squishing */
  }

  /* Removed stacked layout for premium-data-table to allow horizontal scrolling */

  .premium-row-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .premium-toolbar-meta {
    flex-direction: column;
    align-items: flex-start !important;
  }

  #modalPackage .modal-body {
    padding: 1rem !important;
  }

  #modalPackage .modal-footer {
    flex-wrap: nowrap !important;
    gap: 0.5rem;
  }

  #modalPackage .modal-footer .btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .premium-page-card-body {
    padding-inline: 0.65rem;
    padding-top: 0.85rem !important;
  }

  .nav-tabs-premium .nav-link .badge {
    margin-left: 0.25rem !important;
  }

  .premium-form-label-row {
    flex-direction: column;
    align-items: flex-start !important;
  }
}
