/* ════════════════════════════════════════════════════════════════════
   ADMIN PAGES — premium dark design system
   Use this for all admin sub-pages (clubs, agents, bots, settings, etc.)
   Avoid inline styles in admin renderers; use these classes instead.
   ════════════════════════════════════════════════════════════════════ */

/* Wrapper for any admin page content */
.adm-page {
  padding: 12px 12px 20px;
  min-height: 70vh;
  direction: rtl;
}

/* Page header — title + action icon */
.adm-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(91,142,219,0.10);
}
.adm-page-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: #f0f6ff;
  letter-spacing: 0.3px;
}
.adm-icon-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,142,219,0.08);
  border: 1px solid rgba(91,142,219,0.22);
  border-radius: 8px;
  color: #a8c0e0;
  cursor: pointer;
  transition: all 0.15s;
}
.adm-icon-btn:hover {
  background: rgba(91,142,219,0.15);
  color: #d8e3f4;
}
.adm-icon-btn:active { transform: scale(0.92); }

/* Stat tile grid — at top of admin pages */
.adm-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 6px;
  margin-bottom: 16px;
}
.adm-stat-tile {
  position: relative;
  padding: 10px 6px 9px;
  background: linear-gradient(180deg, rgba(15,28,48,0.55), rgba(8,15,30,0.7));
  border: 1px solid rgba(91,142,219,0.14);
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.adm-stat-tile::before {
  /* Top accent line per tile */
  content: '';
  position: absolute; top: 0; left: 18%; right: 18%;
  height: 2px;
  background: var(--tile-accent, #5b8edb);
  border-radius: 0 0 2px 2px;
}
.adm-stat-tile-val {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--tile-accent, #f0f6ff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}
.adm-stat-tile-lbl {
  font-size: 9px;
  color: rgba(160,180,210,0.6);
  margin-top: 3px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Section title divider — used between blocks of cards */
.adm-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #b8c5d8;
  margin: 18px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(91,142,219,0.12);
}
.adm-section-title--gold { color: #e8c47a; border-bottom-color: rgba(232,196,122,0.18); }
.adm-section-title--blue { color: #7ba8e8; border-bottom-color: rgba(123,168,232,0.18); }
.adm-section-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.adm-section-count {
  margin-right: auto;
  font-size: 11px;
  font-weight: 700;
  background: rgba(91,142,219,0.12);
  color: #a8c0e0;
  padding: 2px 8px;
  border-radius: 999px;
}

/* === CLUB CARD — used in admin clubs tab ============================= */
.adm-club-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20,30,50,0.6), rgba(10,18,32,0.75));
  border: 1px solid rgba(91,142,219,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.15s;
}
.adm-club-card:hover {
  border-color: rgba(91,142,219,0.4);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}
.adm-club-card::before {
  /* Right edge accent per type (RTL leading edge) */
  content: '';
  position: absolute; top: 14%; bottom: 14%; right: 0; width: 2px;
  background: var(--card-accent, #5b8edb);
  border-radius: 2px 0 0 2px;
  opacity: 0.65;
}
.adm-club-card--user  { --card-accent: #e8c47a; }
.adm-club-card--agent { --card-accent: #7ba8e8; cursor: pointer; }

.adm-club-card-main { padding-bottom: 8px; }
.adm-club-card--user .adm-club-card-main { cursor: default; }

.adm-club-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.adm-club-name {
  font-size: 15px;
  font-weight: 800;
  color: #f0f6ff;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-club-code {
  background: linear-gradient(180deg, rgba(232,196,122,0.18), rgba(122,84,16,0.3));
  color: #f0d99a;
  border: 1px solid rgba(232,196,122,0.35);
  padding: 2px 10px;
  border-radius: 5px;
  font-family: 'Outfit', monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.adm-club-code--big { font-size: 13.5px; letter-spacing: 3px; }

.adm-club-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(168,192,224,0.65);
  flex-wrap: wrap;
}
.adm-club-meta b { color: #c5d3e8; font-weight: 600; margin-left: 2px; }
.adm-club-meta-sep { color: rgba(91,142,219,0.3); }
.adm-club-private { color: #ef9a9a; }
.adm-club-public  { color: #6cdc92; }

.adm-club-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(91,142,219,0.1);
  border-bottom: 1px solid rgba(91,142,219,0.1);
}
.adm-club-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.adm-club-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.adm-club-stat-lbl {
  font-size: 9.5px;
  color: rgba(160,180,210,0.55);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.adm-club-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
}
.adm-club-summary-net {
  font-weight: 800;
  font-size: 12px;
}
.adm-club-summary-net.positive { color: #6cdc92; }
.adm-club-summary-net.negative { color: #f08080; }
.adm-club-summary-item {
  display: inline-flex; align-items: center; gap: 4px;
  color: rgba(168,192,224,0.7);
}
.adm-club-summary-dot {
  width: 6px; height: 6px; border-radius: 50%;
}

.adm-club-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(91,142,219,0.08);
}

/* === BUTTONS — admin variants ======================================== */
.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  border: 1px solid transparent;
  background: transparent;
  color: #c5d3e8;
}
.adm-btn:active { transform: scale(0.96); }
.adm-btn--full {
  width: 100%;
  padding: 11px;
  font-size: 13px;
  margin-top: 14px;
}

.adm-btn--blue {
  background: linear-gradient(180deg, rgba(91,142,219,0.22), rgba(40,80,160,0.32));
  border-color: rgba(91,142,219,0.4);
  color: #a8c8f0;
}
.adm-btn--blue:hover {
  background: linear-gradient(180deg, rgba(91,142,219,0.35), rgba(40,80,160,0.45));
  color: #d0e0f8;
}

.adm-btn--gold {
  background: linear-gradient(180deg, rgba(212,168,71,0.22), rgba(122,84,16,0.4));
  border-color: rgba(232,196,122,0.4);
  color: #f0d99a;
}
.adm-btn--gold:hover {
  background: linear-gradient(180deg, rgba(212,168,71,0.35), rgba(122,84,16,0.55));
  color: #fde9a8;
}

.adm-btn--green {
  background: linear-gradient(180deg, rgba(74,222,128,0.18), rgba(34,128,68,0.3));
  border-color: rgba(108,220,146,0.4);
  color: #8ce8a8;
}
.adm-btn--green:hover {
  background: linear-gradient(180deg, rgba(74,222,128,0.3), rgba(34,128,68,0.45));
}

.adm-btn--red {
  background: linear-gradient(180deg, rgba(239,83,80,0.2), rgba(140,30,30,0.35));
  border-color: rgba(239,83,80,0.4);
  color: #f8a8a8;
}
.adm-btn--red:hover {
  background: linear-gradient(180deg, rgba(239,83,80,0.3), rgba(140,30,30,0.5));
}

.adm-btn--silver {
  background: linear-gradient(180deg, rgba(120,140,170,0.12), rgba(80,95,120,0.2));
  border-color: rgba(160,180,210,0.25);
  color: #b8c5d8;
}
.adm-btn--silver:hover {
  background: linear-gradient(180deg, rgba(120,140,170,0.2), rgba(80,95,120,0.3));
  color: #d8e3f4;
}

/* === EMPTY STATE — for admin pages ================================== */
.adm-empty {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(15,28,48,0.4), rgba(8,15,30,0.5));
  border: 1px dashed rgba(91,142,219,0.18);
  border-radius: 14px;
  color: rgba(168,192,224,0.55);
}
.adm-empty-icon { color: #5b8edb; margin-bottom: 10px; }
.adm-empty-title {
  font-size: 14px; font-weight: 700;
  color: #b0c0e0; margin-bottom: 4px;
}
.adm-empty-sub {
  font-size: 12px; color: rgba(160,180,210,0.5);
}

/* === FORM ELEMENTS in admin =========================================== */
.adm-form-group { margin-bottom: 12px; }
.adm-form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(168,192,224,0.7);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.adm-form-input,
.adm-form-select,
.adm-form-textarea {
  width: 100%;
  padding: 9px 12px;
  background: rgba(8,15,30,0.65);
  border: 1px solid rgba(91,142,219,0.22);
  border-radius: 8px;
  color: #d8e3f4;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.adm-form-input:focus,
.adm-form-select:focus,
.adm-form-textarea:focus {
  outline: none;
  border-color: rgba(91,142,219,0.55);
  background: rgba(8,15,30,0.85);
}
.adm-form-input::placeholder { color: rgba(160,180,210,0.35); }

/* === DATA ROW (key-value list) ======================================= */
.adm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: rgba(15,28,48,0.5);
  border: 1px solid rgba(91,142,219,0.1);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  transition: background 0.15s;
}
.adm-row:hover { background: rgba(20,35,55,0.6); }
.adm-row-label { color: rgba(168,192,224,0.7); }
.adm-row-value { color: #f0f6ff; font-weight: 700; }

/* === DETAIL CARD — wraps a deeper drill-down view ==================== */
.adm-detail-card {
  background: linear-gradient(180deg, rgba(15,28,48,0.6), rgba(8,15,30,0.78));
  border: 1px solid rgba(91,142,219,0.22);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

/* === PLAYER CARD — inside club detail ================================ */
.adm-player-card {
  background: linear-gradient(180deg, rgba(20,30,50,0.55), rgba(10,18,32,0.7));
  border: 1px solid rgba(91,142,219,0.16);
  border-radius: 11px;
  padding: 11px 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.adm-player-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.adm-player-name {
  display: flex; align-items: center; gap: 4px;
  font-size: 13.5px; font-weight: 700;
  color: #f0f6ff;
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.adm-player-status-icon { flex-shrink: 0; }
.adm-player-username {
  font-size: 10.5px;
  color: rgba(160,180,210,0.5);
  font-weight: 500;
  margin-right: 4px;
}
.adm-player-balance {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #f0d99a;
  flex-shrink: 0;
}
.adm-player-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 6px;
}
.adm-player-stats--small { grid-template-columns: repeat(4, 1fr); }
.adm-player-stat {
  position: relative;
  padding: 6px 4px 5px;
  background: rgba(15,28,48,0.5);
  border-radius: 6px;
  text-align: center;
  border-top: 2px solid var(--ps-accent, #5b8edb);
}
.adm-player-stat-val {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--ps-accent, #d8e3f4);
}
.adm-player-stats--small .adm-player-stat-val { font-size: 11px; }
.adm-player-stat-lbl {
  display: block;
  font-size: 9px;
  color: rgba(160,180,210,0.55);
  margin-top: 2px;
  letter-spacing: 0.3px;
}
.adm-player-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(91,142,219,0.1);
}
.adm-player-elo {
  font-size: 10.5px;
  color: rgba(168,192,224,0.5);
  font-weight: 600;
}

/* === OPERATIONS FEED ================================================== */
.adm-ops-feed {
  max-height: 420px;
  overflow-y: auto;
  background: rgba(15,28,48,0.4);
  border: 1px solid rgba(91,142,219,0.1);
  border-radius: 10px;
  padding: 4px;
}
.adm-op-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  margin-bottom: 2px;
  transition: background 0.15s;
}
.adm-op-row:hover { background: rgba(91,142,219,0.06); }
.adm-op-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid;
}
.adm-op-row--in  .adm-op-icon { background: rgba(74,222,128,0.15); border-color: rgba(74,222,128,0.3); color: #6cdc92; }
.adm-op-row--out .adm-op-icon { background: rgba(239,83,80,0.15);  border-color: rgba(239,83,80,0.3);  color: #f08080; }

.adm-op-text { flex: 1; min-width: 0; }
.adm-op-name {
  font-size: 12.5px; font-weight: 700;
  color: #d8e3f4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.adm-op-meta {
  font-size: 10.5px;
  color: rgba(160,180,210,0.5);
  margin-top: 2px;
}
.adm-op-amount { text-align: left; flex-shrink: 0; }
.adm-op-amount-val {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.adm-op-row--in  .adm-op-amount-val { color: #6cdc92; }
.adm-op-row--out .adm-op-amount-val { color: #f08080; }
.adm-op-amount-bal {
  font-size: 9.5px;
  color: rgba(160,180,210,0.5);
  margin-top: 1px;
}

/* === ADMIN CARD VARIANTS — danger / dev / etc ======================== */
.admin-card--danger {
  background: linear-gradient(180deg, rgba(60,15,15,0.55), rgba(30,8,8,0.7)) !important;
  border-color: rgba(239,83,80,0.25) !important;
}
.admin-card--danger::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: rgba(239,83,80,0.6);
  border-radius: 12px 12px 0 0;
}
.admin-card--dev {
  background: linear-gradient(180deg, rgba(15,40,25,0.55), rgba(8,22,15,0.7)) !important;
  border-color: rgba(108,220,146,0.25) !important;
  position: relative;
}
.admin-card--dev::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: rgba(108,220,146,0.6);
  border-radius: 12px 12px 0 0;
}

/* Helper text inside admin cards */
.admin-helper-text {
  font-size: 10.5px;
  color: rgba(160,180,210,0.55);
  margin: 4px 0 10px;
  line-height: 1.4;
}

/* Sliders */
.admin-slider {
  width: 100%;
  accent-color: #5b8edb;
  margin-top: 4px;
}
.admin-slider-marks {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: rgba(160,180,210,0.45);
  margin: 6px 0 8px;
}
.admin-btn-fullw { width: 100%; margin-top: 8px; }

/* Toggle row (label + switch) */
.admin-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 6px 0;
}
.admin-toggle-label {
  font-size: 12.5px;
  color: #c5d3e8;
  font-weight: 500;
}
.admin-toggle {
  width: 42px; height: 24px;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  background: rgba(91,142,219,0.12);
  border: 1px solid rgba(91,142,219,0.2);
  transition: background 0.25s, border-color 0.25s;
}
.admin-toggle.on {
  background: linear-gradient(180deg, #4ade80, #22c45c);
  border-color: rgba(108,220,146,0.5);
}
.admin-toggle-thumb {
  position: absolute;
  top: 3px; right: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #94a3b8;
  transition: all 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.admin-toggle.on .admin-toggle-thumb {
  right: auto;
  left: 3px;
  background: #fff;
}

/* Danger-outline button */
.btn-danger-outline {
  background: rgba(239,83,80,0.06);
  border: 1px solid rgba(239,83,80,0.3);
  color: #f08080;
}
.btn-danger-outline:hover {
  background: rgba(239,83,80,0.12);
  border-color: rgba(239,83,80,0.5);
  color: #f4a8a8;
}

/* === TOURNAMENT PREVIEW BOX (in admin tournaments tab) ============== */
.admin-tournament-preview {
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
  font-weight: 600;
  border: 1px solid;
}
.admin-tournament-preview b {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}
.admin-tournament-preview--gold {
  background: linear-gradient(180deg, rgba(232,196,122,0.1), rgba(122,84,16,0.18));
  border-color: rgba(232,196,122,0.3);
  color: #f0d99a;
}
.admin-tournament-preview--blue {
  background: linear-gradient(180deg, rgba(123,168,232,0.1), rgba(45,95,170,0.18));
  border-color: rgba(123,168,232,0.3);
  color: #a8c8f0;
}
.admin-tournament-preview--purple {
  background: linear-gradient(180deg, rgba(194,144,232,0.1), rgba(120,60,170,0.18));
  border-color: rgba(194,144,232,0.3);
  color: #d4abe8;
}

/* === ACTION PANELS — sub-section inside admin-card =================== */
.admin-action-panel {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid;
  position: relative;
}
.admin-action-panel--blue {
  background: linear-gradient(180deg, rgba(91,142,219,0.06), rgba(40,80,160,0.1));
  border-color: rgba(91,142,219,0.22);
}
.admin-action-panel--gold {
  background: linear-gradient(180deg, rgba(232,196,122,0.06), rgba(122,84,16,0.12));
  border-color: rgba(232,196,122,0.25);
}
.admin-action-panel--green {
  background: linear-gradient(180deg, rgba(108,220,146,0.06), rgba(34,128,68,0.12));
  border-color: rgba(108,220,146,0.22);
}
.admin-action-title {
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.admin-action-panel--blue  .admin-action-title { color: #7ba8e8; }
.admin-action-panel--gold  .admin-action-title { color: #e8c47a; }
.admin-action-panel--green .admin-action-title { color: #6cdc92; }

/* Selects/inputs inside action panel */
.admin-action-panel select.admin-input,
.admin-action-panel input.admin-input {
  font-size: 12px;
}

/* === AGENT DASHBOARD OVERLAY ========================================= */
.agent-dash-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(2,4,8,0.85);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 0;
  animation: agentDashFadeIn 0.25s ease;
}
@keyframes agentDashFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.agent-dash-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 14px 100px;
  direction: rtl;
}
.agent-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 14px;
  position: sticky;
  top: 8px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15,28,48,0.95), rgba(8,15,30,0.95));
  border: 1px solid rgba(91,142,219,0.22);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
}
.agent-dash-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #f0f6ff;
  margin: 0;
  letter-spacing: 0.3px;
}

/* Date inputs - calendar picker indicator color */
.agent-dash-overlay input[type="date"]::-webkit-calendar-picker-indicator,
.admin-action-panel input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8) sepia(0.3) hue-rotate(180deg);
  cursor: pointer;
}

/* === AGENT REFERRAL PANEL ============================================ */
.agent-club-code-box {
  text-align: center;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(40,30,15,0.55), rgba(20,15,8,0.7));
  border: 1px solid rgba(232,196,122,0.35);
  border-radius: 14px;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.agent-club-code-box::before {
  content: '';
  position: absolute; top: 0; left: 28%; right: 28%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f0d99a 40%, #f5e0a4 50%, #f0d99a 60%, transparent);
  border-radius: 0 0 2px 2px;
}
.agent-club-code-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #e8c47a;
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.agent-club-code-value {
  font-family: 'Outfit', monospace;
  font-size: 36px;
  font-weight: 900;
  color: #f0d99a;
  letter-spacing: 7px;
  text-shadow: 0 2px 8px rgba(232,196,122,0.3);
  margin: 4px 0;
}
.agent-club-code-hint {
  font-size: 11px;
  color: rgba(168,192,224,0.55);
  margin-top: 6px;
}

/* Share buttons grid */
.agent-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.agent-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  border: 1px solid;
}
.agent-share-btn:active { transform: scale(0.97); }
.agent-share-btn--telegram {
  background: linear-gradient(180deg, rgba(0,136,204,0.18), rgba(0,90,140,0.32));
  border-color: rgba(0,136,204,0.4);
  color: #4cb0e0;
}
.agent-share-btn--telegram:hover {
  background: linear-gradient(180deg, rgba(0,136,204,0.3), rgba(0,90,140,0.45));
  color: #7ad0f8;
}
.agent-share-btn--whatsapp {
  background: linear-gradient(180deg, rgba(37,211,102,0.18), rgba(20,140,68,0.32));
  border-color: rgba(37,211,102,0.4);
  color: #6cdc92;
}
.agent-share-btn--whatsapp:hover {
  background: linear-gradient(180deg, rgba(37,211,102,0.3), rgba(20,140,68,0.45));
  color: #98ecb0;
}
.agent-share-btn--copy {
  background: linear-gradient(180deg, rgba(91,142,219,0.22), rgba(40,80,160,0.32));
  border-color: rgba(91,142,219,0.4);
  color: #a8c8f0;
}
.agent-share-btn--copy:hover {
  background: linear-gradient(180deg, rgba(91,142,219,0.35), rgba(40,80,160,0.45));
}
.agent-share-btn--share {
  background: linear-gradient(180deg, rgba(160,180,210,0.15), rgba(80,95,120,0.25));
  border-color: rgba(160,180,210,0.3);
  color: #c0d0e8;
}
.agent-share-btn--share:hover {
  background: linear-gradient(180deg, rgba(160,180,210,0.25), rgba(80,95,120,0.4));
}

/* Link rows */
.agent-link-row {
  margin-bottom: 8px;
  padding: 9px 10px;
  background: rgba(15,28,48,0.5);
  border: 1px solid rgba(91,142,219,0.14);
  border-radius: 7px;
}
.agent-link-label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(168,192,224,0.55);
  font-size: 10.5px;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.agent-link-value {
  word-break: break-all;
  color: #7ba8e8;
  font-size: 11px;
  direction: ltr;
  font-family: 'Outfit', monospace;
}
.agent-code-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: linear-gradient(180deg, rgba(232,196,122,0.1), rgba(122,84,16,0.16));
  border: 1px solid rgba(232,196,122,0.3);
  border-radius: 7px;
  color: #f0d99a;
  font-size: 12px;
  font-weight: 600;
}
.agent-code-row b {
  font-family: 'Outfit', monospace;
  font-weight: 800;
  letter-spacing: 0.5px;
}
