/* ==========================================================================
   AKFA PIN - Premium UI (Exact Reference Screenshot Match)
   Clean, Modern Light Surface, Blue Gradient Card, 3-Col Grid, Floating Pill Navbar
   ========================================================================== */

:root {
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro", 'Inter', system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", 'Outfit', sans-serif;

  --color-primary-blue: #007aff;
  --color-primary-blue-hover: #0062cc;
  --color-primary-blue-soft: rgba(0, 122, 255, 0.1);

  --bg-page: #f2f2f7;
  --bg-card: #ffffff;
  --bg-secondary: #e5e5ea;
  
  --text-dark: #1c1c1e;
  --text-primary: #1c1c1e;
  --text-secondary: #8e8e93;
  --text-muted: #aeaeb2;

  --border-card: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.06);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* Remove all browser up/down arrows (spinners) from number inputs */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

input[type=number] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-page);
}

/* ==========================================================================
   Top User Greeting Header (Reference Screenshot)
   ========================================================================== */
.user-greeting-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 16px 0;
  background: transparent;
  width: 100%;
}

.user-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  flex-shrink: 0;
}

.user-greeting-text {
  display: flex;
  flex-direction: column;
}

.greeting-sub {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.2;
}

.greeting-name {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 6px 18px calc(92px + var(--safe-bottom)) 18px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.tab-pane,
.app-view {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-pane.active,
.app-view.active {
  display: block;
}

/* ==========================================================================
   Blue Gradient Balance Card (Reference Screenshot)
   ========================================================================== */
.hero-balance-card {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  border-radius: 24px;
  padding: 20px 18px;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.35);
  margin-bottom: 18px;
}

.bal-card-top {
  margin-bottom: 14px;
}

.bal-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 2px;
}

.bal-card-amount {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

.bal-card-amount small {
  font-size: 14px;
  font-weight: 700;
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.bal-card-actions {
  display: flex;
  gap: 8px;
}

.bal-action-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.bal-action-btn:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.3);
}

.bal-act-icon {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

/* ==========================================================================
   Segmented Pill Switcher (Donat / Qutilar)
   ========================================================================== */
.segmented-pill-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.segmented-pill-container {
  display: flex;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 4px;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.seg-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.seg-btn.active {
  background: var(--color-primary-blue);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   3-Column Services Grid (Exact Reference Screenshot)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.service-tile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.service-tile-item:active {
  opacity: 0.85;
}

.service-tile-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-tile-item:hover .service-tile-card {
  border-color: rgba(0, 122, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 122, 255, 0.12);
}

.service-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-gift-bg {
  background: #fdf2f8;
}

.tile-nft-bg {
  background: #0f172a;
}

.service-tile-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 8px;
  text-align: center;
}

/* ==========================================================================
   G2Bulk Services Grid (Placed Right Below Top 3 Services)
   ========================================================================== */
.g2services-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 14px;
}

.g2services-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.g2services-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

.g2services-badge-pill {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.g2services-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 96px;
}

.g2service-card {
  position: relative;
  background: var(--card-bg, #ffffff);
  border-radius: 18px;
  border: 1px solid var(--glass-border, rgba(0, 0, 0, 0.06));
  box-shadow: none;
  padding: 16px 10px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}

.g2service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 62, 235, 0.35);
}

.g2service-card:active {
  transform: scale(0.95);
  opacity: 0.9;
}

.g2service-img-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.g2service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.g2service-name {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  line-height: 1.25;
  margin: 0;
  padding: 0 4px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide all meta rows, badges, counts, prices */
.g2service-meta-row,
.g2service-badge,
.g2service-prods-count,
.g2service-min-price {
  display: none !important;
}

/* Modal for G2Bulk service packages */
.g2modal-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g2modal-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}

.g2modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g2modal-desc {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

.g2modal-packages-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 55vh;
  overflow-y: auto;
  padding: 4px 0;
}

.g2package-row {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.g2package-row:hover {
  background: #eff6ff;
  border-color: var(--color-primary-blue);
}

.g2package-row:active {
  opacity: 0.85;
}

.g2pkg-info h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.g2pkg-stock {
  font-size: 10.5px;
  font-weight: 600;
}

.g2pkg-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary-blue);
}

/* ==========================================================================
   Sub-Page Common Headers & Controls (Screenshot Matched)
   ========================================================================== */
.subpage-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 4px 2px;
}

.btn-subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 10px;
  color: var(--color-primary-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}

.btn-subpage-back:active {
  transform: scale(0.96);
  background: #e5e5ea;
}

.subpage-title-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.btn-refresh-sm {
  background: #f1f5f9;
  border: none;
  color: var(--color-primary-blue);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* Top Hero Service Card (Screenshot 1, 2, 3 Match) */
.top-service-hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 16px;
}

.hero-card-thumb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-meta h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-card-meta p {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-top: 3px;
}

/* Username Capsule Bar with "O'zimga" Button (Screenshot Match) */
.username-capsule-bar {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  height: 48px;
  padding: 0 6px 0 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.username-capsule-bar:focus-within {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.capsule-at {
  font-size: 15px;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 6px;
  flex-shrink: 0;
}

.capsule-input {
  flex: 1 1 auto;
  min-width: 0 !important;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  font-family: var(--font-main);
  padding: 0 8px 0 0;
}

.capsule-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.capsule-self-btn {
  background: #e0ecfe;
  border: none;
  color: #2563eb;
  font-size: 12.5px;
  font-weight: 700;
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
}

.capsule-self-btn:active {
  transform: scale(0.95);
  background: #bfdbfe;
}

/* ==========================================================================
   TELEGRAM STARS (Screenshot 2 Match)
   ========================================================================== */
.stars-packages-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 90px;
}

.stars-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.stars-item-card:active {
  transform: scale(0.98);
}

/* Selected State: Warm Amber/Yellow Glow (Exact Screenshot 2) */
.stars-item-card.selected {
  background: #fffdf0;
  border: 1.5px solid #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.18);
}

.stars-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.star-card-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stars-card-info strong {
  display: block;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.stars-card-info span {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
  display: block;
}

/* Row: Boshqa qiymat kiritish (50 dan 100 000 gacha) */
.custom-trigger-card {
  cursor: pointer;
}

.plus-circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.custom-stars-expand-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  margin-top: -2px;
  margin-bottom: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.custom-input-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.custom-input-inner input {
  flex: 1;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
}

.custom-rate-preview {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary-blue);
  white-space: nowrap;
}

/* ==========================================================================
   TELEGRAM PREMIUM (Screenshot 3 Match)
   ========================================================================== */
.premium-plans-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 90px;
}

.premium-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.premium-item-card:active {
  transform: scale(0.98);
}

.premium-item-card.selected {
  border: 1.5px solid var(--color-primary-blue);
  background: #eff6ff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.prem-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prem-star-svg {
  flex-shrink: 0;
}

.prem-card-left strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.prem-card-price {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
}

body.theme-dark-app .prem-card-price {
  color: rgba(234, 240, 255, 0.78) !important;
}

.prem-sticker-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prem-sticker-wrap lottie-player {
  width: 100%;
  height: 100%;
  display: block;
}

.admin-prem-info-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 18px 16px;
  margin-top: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.prem-info-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.prem-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  background: #f5f3ff;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
}

.prem-info-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.prem-info-desc {
  font-size: 12.5px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 12px;
}

.prem-info-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.prem-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.btn-prem-contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
  transition: transform 0.15s ease, opacity 0.15s ease;
  box-sizing: border-box;
}

.btn-prem-contact-pill:active {
  transform: scale(0.98);
  opacity: 0.92;
}

/* ==========================================================================
   TELEGRAM GIFTS (Screenshot 1 Match - 2-Column Grid)
   ========================================================================== */
.comment-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  height: 48px;
  padding: 0 16px 0 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.toggle-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  user-select: none;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e2e8f0;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.switch-toggle input:checked + .slider-round {
  background-color: #34C759 !important;
}

.switch-toggle input:checked + .slider-round:before {
  transform: translateX(20px);
}

.gift-comment-box {
  margin-bottom: 14px;
  animation: fadeIn 0.2s ease-out;
}

.gift-comment-input {
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  font-family: var(--font-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.gift-comment-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.gifts-section-heading {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
  margin-bottom: 12px;
  padding-left: 2px;
}

.gifts-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 95px;
}

.gift-item-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 10px 10px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, border-color 0.2s, box-shadow 0.2s;
}

.gift-item-card:active {
  transform: scale(0.97);
}

.gift-item-card.selected {
  border-color: var(--color-primary-blue);
  box-shadow: 0 4px 18px rgba(0, 122, 255, 0.16);
}

.gift-image-box {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  background: #f8fafc;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}

.gift-sticker-img {
  width: 96px;
  height: 96px;
  max-width: 94%;
  max-height: 94%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  transition: transform 0.2s ease;
}

.gift-item-card:hover .gift-sticker-img,
.gift-item-card.selected .gift-sticker-img {
  transform: scale(1.08);
}

.gift-card-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.gift-star-icon {
  font-size: 13px;
  line-height: 1;
}

.gift-star-count {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.gift-card-price {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

/* ==========================================================================
   Big Bottom "Sotib olish" Button (Screenshot Match)
   ========================================================================== */
.bottom-action-fixed-wrap {
  position: fixed;
  bottom: calc(14px + var(--safe-bottom));
  left: 0;
  right: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
  z-index: 900;
  pointer-events: none;
}

.btn-main-action-pill {
  pointer-events: auto;
  width: 100%;
  height: 52px;
  border-radius: var(--radius-pill);
  background: #85aefb;
  border: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(133, 174, 251, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-main-action-pill:active {
  transform: scale(0.97);
  background: #6c9dfa;
}

/* ==========================================================================
   TARIX SECTION (Order & Payment History - Screenshot 1:1 Match)
   ========================================================================== */
.tarix-filter-chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 18px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tarix-filter-chips-row::-webkit-scrollbar {
  display: none;
}

.tarix-chip-pill {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.tarix-chip-pill:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.tarix-chip-pill:active {
  transform: scale(0.96);
}

.tarix-chip-pill.active {
  background: var(--color-primary-blue);
  color: #ffffff;
  border-color: var(--color-primary-blue);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
  transform: translateY(-1px);
}

.tarix-view-body {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tarix-empty-state-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 60px 0;
  animation: smoothViewIn 0.3s ease-out;
}

.tarix-empty-text {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.2px;
  text-align: center;
}

/* Clean & Stable Interaction Dynamics (No Jitter / No Wobble) */
.stars-item-card {
  border: 1.5px solid #e2e8f0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.stars-item-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}

.stars-item-card.selected {
  border: 1.5px solid #f59e0b;
  background: #fffdf0;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.stars-item-card.selected .star-card-icon svg {
  animation: starPulseRotate 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-item-card {
  border: 1.5px solid #e2e8f0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.premium-item-card:hover {
  border-color: var(--color-primary-blue);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.12);
}

.premium-item-card.selected {
  border: 1.5px solid var(--color-primary-blue);
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}

.premium-item-card.selected .prem-star-svg {
  animation: premStarSpin 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gift-pill-card {
  border: 1.5px solid #e2e8f0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gift-pill-card:hover {
  border-color: var(--color-primary-blue);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.12);
}

.gift-pill-card.selected {
  border: 1.5px solid var(--color-primary-blue);
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}

.gift-item-icon {
  display: inline-block;
}

/* Floating Navigation Bar Smooth Rotate Animations */
.nav-item {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item#nav-tarix.active .nav-icon {
  animation: counterClockwiseSpin 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item#nav-nft.active .nav-icon {
  animation: nftGridPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item#nav-asosiy.active .nav-icon {
  animation: floatSubtle 0.5s ease-in-out;
}

/* ==========================================================================
   NFT Section - Reference Screenshot 1:1 Match
   Dark Theme 2-Column Cards, Authentic Canvas with "Sotuvda" badge,
   White Bold Title, Number, and Orange Installment Pill
   ========================================================================== */
.nft-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 96px;
}

.user-nft-card, .ios-nft-card, .nft-card-compact {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.user-nft-card:hover, .ios-nft-card:hover, .nft-card-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: #2563eb;
}

.user-nft-card:active, .ios-nft-card:active, .nft-card-compact:active {
  transform: scale(0.97);
}

/* Image Canvas */
.user-nft-thumb-box, .ios-nft-preview, .nft-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 180px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.user-nft-img, .ios-nft-img, .nft-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card Bottom Info */
.user-nft-info, .ios-nft-info, .nft-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px 4px 4px;
  gap: 3px;
}

.user-nft-title, .ios-nft-title {
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.user-nft-number, .ios-nft-sub {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.user-nft-price-clean {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  margin-top: 4px;
}

.btn-nft-buy {
  width: 100%;
  height: 36px;
  margin-top: 8px;
  background: #e0ecfe;
  border: none;
  border-radius: 9999px;
  color: #2563eb;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.btn-nft-buy:active {
  transform: scale(0.95);
  background: #bfdbfe;
}

/* Universal Telegram Live Profile Card */
.tg-live-profile-card {
  display: none;
  align-items: center;
  background: var(--bg-card, #ffffff);
  border-radius: 9999px;
  padding: 6px 16px 6px 10px;
  margin-bottom: 14px;
  border: 1.5px solid var(--border-card, rgba(0, 0, 0, 0.08));
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  animation: fadeIn 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.tg-profile-content {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}

.tg-profile-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tg-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-profile-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.tg-profile-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-profile-user {
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Gifts Compact Card */
.gift-card-compact {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
}

.gift-card-compact:active {
  transform: scale(0.96);
}

.gift-icon-container {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px auto;
  border-radius: 12px;
  background: #fdf2f8;
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-compact-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.gift-compact-stars {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 2px;
}

.gift-compact-uzs {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   Profile & History
   ========================================================================== */
.profile-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-avatar-large {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--color-primary-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-meta h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.profile-meta p {
  font-size: 12px;
  color: var(--text-secondary);
}

.verified-pill {
  display: inline-block;
  background: #ecfdf5;
  color: #059669;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.stat-box {
  text-align: center;
  padding: 8px 4px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary-blue);
}

.stat-title {
  font-size: 10px;
  color: var(--text-secondary);
}

.profile-action-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-icon-blue { color: #2563eb; }
.row-icon-green { color: #10b981; }
.row-icon-purple { color: #8b5cf6; }

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   TARIX LIST ROW (Elongated Compact Row - Like Banking / Bot Transaction List)
   ========================================================================== */
.tarix-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  user-select: none;
}

.tarix-list-row:active {
  transform: scale(0.985);
  background: #f8fafc;
}

.tarix-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.tarix-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-stars { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.icon-premium { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.icon-gift { background: rgba(236, 72, 153, 0.12); color: #db2777; }
.icon-nft { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.icon-game { background: rgba(16, 185, 129, 0.12); color: #059669; }

.tarix-row-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tarix-row-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.tarix-row-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-secondary, #64748b);
  line-height: 1.2;
}

.tarix-row-dot {
  opacity: 0.5;
}

.tarix-row-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
}

.tarix-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.tarix-row-amount {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-dark, #0f172a);
  line-height: 1.2;
}

.tarix-row-badge-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tarix-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  line-height: 1.2;
}

.row-status-completed {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.row-status-pending {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.row-status-cancelled {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.btn-tarix-view-check {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border: none;
  border-radius: 9999px;
  padding: 3px 8px;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.btn-tarix-view-check:hover,
.btn-tarix-view-check:active {
  background: rgba(37, 99, 235, 0.16);
}

/* ==========================================================================
   BOT RECEIPT MODAL (Full Detailed Receipt with Crisp SVG Icons - NO EMOJIS)
   ========================================================================== */
.receipt-modal-card {
  max-width: 440px;
  border-radius: 24px;
  padding: 16px 20px 24px 20px;
}

.receipt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.receipt-modal-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.receipt-modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark, #0f172a);
  line-height: 1.2;
}

.receipt-modal-sub {
  font-size: 11.5px;
  color: var(--text-secondary, #64748b);
  font-weight: 500;
}

.receipt-modal-body {
  padding: 16px 0 0 0;
  display: flex;
  flex-direction: column;
}

.receipt-modal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 14px;
}

.receipt-hero-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.receipt-hero-icon-circle.hero-completed {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
}

.receipt-hero-icon-circle.hero-pending {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
}

.receipt-hero-icon-circle.hero-cancelled {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1.5px solid rgba(239, 68, 68, 0.3);
}

.receipt-hero-amount {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-dark, #0f172a);
  font-family: var(--font-display, inherit);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.receipt-hero-amount small {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary, #64748b);
}

.receipt-hero-status-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.receipt-hero-status-title.hero-completed { color: #059669; }
.receipt-hero-status-title.hero-pending { color: #d97706; }
.receipt-hero-status-title.hero-cancelled { color: #dc2626; }

.receipt-hero-status-sub {
  font-size: 12px;
  color: var(--text-secondary, #64748b);
}

.receipt-modal-perforation {
  position: relative;
  border-top: 1.5px dashed rgba(0, 0, 0, 0.12);
  margin: 14px -20px;
}

.receipt-modal-perforation::before,
.receipt-modal-perforation::after {
  content: '';
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-page, #f2f2f7);
}

.receipt-modal-perforation::before { left: -7px; }
.receipt-modal-perforation::after { right: -7px; }

.receipt-modal-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 4px;
}

.receipt-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  line-height: 1.4;
}

.receipt-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary, #64748b);
  font-weight: 500;
}

.receipt-row-ico {
  width: 15px;
  height: 15px;
  stroke: var(--text-secondary, #64748b);
  flex-shrink: 0;
}

.receipt-row-value {
  color: var(--text-primary, #0f172a);
  font-weight: 600;
  text-align: right;
  max-width: 58%;
  word-break: break-word;
}

.receipt-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
  color: #2563eb;
  cursor: pointer;
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 8px;
  border-radius: 8px;
}

.receipt-status-text-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.receipt-status-text-pill.hero-completed { background: rgba(16, 185, 129, 0.12); color: #059669; }
.receipt-status-text-pill.hero-pending { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.receipt-status-text-pill.hero-cancelled { background: rgba(239, 68, 68, 0.12); color: #dc2626; }

.receipt-modal-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  margin-bottom: 16px;
}

.receipt-mt-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.receipt-mt-val {
  font-size: 19px;
  font-weight: 900;
  color: #2563eb;
  font-family: var(--font-display, inherit);
}

.receipt-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-receipt-action {
  width: 100%;
  height: 44px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-receipt-copy-action {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-receipt-copy-action:active {
  transform: scale(0.985);
  background: #1d4ed8;
}

.btn-receipt-support-action {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-dark, #0f172a);
}

.btn-receipt-support-action:active {
  background: rgba(0, 0, 0, 0.1);
}

.empty-orders {
  text-align: center;
  padding: 36px 16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}

.empty-icon-wrap {
  margin: 0 auto 10px auto;
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   FLOATING BOTTOM NAVIGATION BAR (Exact Reference Screenshot Match)
   - Pill container
   - Selected active item has blue rounded capsule background
   - Inactive items have muted gray icon & text
   ========================================================================== */
.floating-nav-container {
  position: fixed;
  bottom: max(16px, var(--safe-bottom));
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
  padding: 0 16px;
}

.floating-nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 6px 8px;
  width: 100%;
  max-width: 380px;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  outline: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #94a3b8;
  user-select: none;
}

.nav-item:active {
  transform: scale(0.95);
}

.nav-icon-wrap {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.nav-icon {
  width: 19px;
  height: 19px;
  stroke: #94a3b8;
  transition: stroke 0.2s;
}

.nav-label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #94a3b8;
  transition: color 0.2s;
}

/* Active State: Deep Blue Pill Capsule (Exact Screenshot Match) */
.nav-item.active {
  background: var(--color-primary-blue);
  color: #ffffff;
  padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.nav-item.active .nav-icon {
  stroke: #ffffff;
}

.nav-item.active .nav-label {
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   Buttons & Modal
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-dark);
}

/* Modal Dialogs */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop.show,
.modal-backdrop.active {
  display: flex !important;
}

@media (min-width: 600px) {
  .modal-backdrop {
    align-items: center;
    padding: 20px;
  }
}

.modal-card {
  background: #ffffff;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@media (min-width: 600px) {
  .modal-card {
    border-radius: var(--radius-xl);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.checkout-summary {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.summary-row.total-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
}

.s-label { color: var(--text-secondary); }
.s-value { color: var(--text-dark); font-weight: 700; }
.text-blue { color: var(--color-primary-blue); }
.text-accent { color: #059669; }

/* 1-Month Special Notice */
.special-notice-card {
  background: #fdf4ff;
  border: 1px solid #f0abfc;
  border-radius: var(--radius-md);
  padding: 12px;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c026d3;
  margin-bottom: 6px;
  font-size: 12px;
}

.special-notice-card p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.btn-support-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #d946ef, #a855f7);
  color: #ffffff;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  margin-top: 8px;
}

/* Payment Options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-option input {
  display: none;
}

.pay-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-option input:checked + .pay-box {
  border-color: var(--color-primary-blue);
  background: var(--color-primary-blue-soft);
}

.pay-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pay-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-dark);
}

.pay-info small {
  font-size: 11px;
  color: var(--text-secondary);
}

.pay-details-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 14px;
}

.card-instruction p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.card-number-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}

.card-num {
  font-family: monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.btn-copy {
  background: var(--color-primary-blue);
  border: none;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.card-holder-name {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.file-input {
  font-size: 12px;
  color: var(--text-secondary);
}

.faq-item {
  margin-bottom: 14px;
}

.faq-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.faq-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   iOS Style Promocode Modal & Input
   ========================================================================== */
.ios-promo-modal {
  border-top-left-radius: 28px !important;
  border-top-right-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.2) !important;
}

.ios-sheet-handle {
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background: rgba(60, 60, 67, 0.25);
  margin: 10px auto 4px auto;
}

.ios-modal-header {
  padding: 10px 20px 14px 20px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ios-header-info {
  display: flex;
  flex-direction: column;
}

.ios-header-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

.btn-close-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(120, 120, 128, 0.12);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-circle:active {
  transform: scale(0.92);
  background: rgba(120, 120, 128, 0.22);
}

.ios-promo-body {
  padding: 18px 20px 12px 20px !important;
  display: flex;
  flex-direction: column;
  gap: 16px !important;
}

/* Promo Hero Showcase Banner */
.promo-gift-showcase {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(88, 86, 214, 0.06) 100%);
  border: 1px solid rgba(0, 122, 255, 0.15);
  border-radius: 20px;
  padding: 14px 16px;
}

.promo-gift-icon-glow {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.35);
  flex-shrink: 0;
}

.promo-emoji-gift {
  font-size: 24px;
  line-height: 1;
}

.promo-gift-text-wrap {
  display: flex;
  flex-direction: column;
}

.promo-gift-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.promo-gift-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-top: 2px;
}

/* Card Input Box */
.ios-promo-input-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ios-promo-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-left: 4px;
}

.ios-promo-input-box {
  display: flex;
  align-items: center;
  background: #f2f2f7;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  height: 48px;
  padding: 0 6px 0 18px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.ios-promo-input-box:focus-within {
  background: #ffffff;
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.ios-promo-input-icon {
  color: var(--color-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.ios-promo-text-field {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  height: 100%;
}

.ios-promo-text-field::placeholder {
  color: #aeaeb2;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 13px;
  text-transform: none;
}

.btn-paste-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  height: 36px;
  padding: 0 14px;
  color: var(--color-primary-blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-paste-pill:active {
  transform: scale(0.95);
  background: #e5e5ea;
}

/* Big Apple Action Button */
.btn-apply-promo-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: var(--color-primary-blue);
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 122, 255, 0.35);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-apply-promo-large:hover {
  background: var(--color-primary-blue-hover);
  box-shadow: 0 6px 22px rgba(0, 122, 255, 0.45);
}

.btn-apply-promo-large:active {
  transform: scale(0.97);
}

/* Quick Promo Chips */
.promo-quick-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.promo-quick-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-left: 2px;
}

.promo-chips-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.promo-chips-list::-webkit-scrollbar {
  display: none;
}

.promo-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f2f2f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.promo-quick-chip:hover {
  background: #e5e5ea;
  border-color: rgba(0, 122, 255, 0.3);
}

.promo-quick-chip:active {
  transform: scale(0.95);
}

.chip-star {
  font-size: 13px;
}

.chip-code {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.chip-val {
  font-size: 11px;
  font-weight: 700;
  color: #34c759;
  background: rgba(52, 199, 89, 0.12);
  padding: 2px 6px;
  border-radius: 6px;
}

.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #0f172a;
  border: 1px solid var(--color-primary-blue);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  z-index: 3000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.d-none {
  display: none !important;
}

.mt-2 {
  margin-top: 8px;
}

/* ==========================================================================
   G2Bulk Services Grid (Directly Below Top 3 Services)
   ========================================================================== */
.g2services-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.g2services-head-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.g2services-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.2px;
  margin: 0;
}

.g2services-subtitle {
  font-size: 11px;
  color: #8e8e93;
  font-weight: 500;
}

.g2services-badge-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #007aff 0%, #0051ba 100%);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.25);
}

/* G2Services grid styles are unified at top and responsive */


/* Modal styling for G2Bulk packages */
.g2modal-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g2modal-thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.g2modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.g2modal-desc {
  font-size: 11px;
  color: #8e8e93;
  margin-top: 2px;
  display: block;
}

.g2modal-packages-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 55vh;
  overflow-y: auto;
  padding: 4px 1px 12px 1px;
}

.g2package-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  user-select: none;
}

.g2package-row:hover {
  background: #ffffff;
  border-color: rgba(0, 122, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.06);
}

.g2package-row:active {
  transform: scale(0.99);
  background: #e2e8f0;
}

.g2pkg-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 65%;
}

.g2pkg-info h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.g2pkg-stock {
  font-size: 11px;
  font-weight: 600;
}

.g2pkg-price {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary-blue);
  background: rgba(0, 122, 255, 0.08);
  padding: 6px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

/* ==========================================================================
   App Initial Loading Splash Screen
   ========================================================================== */
.app-splash-screen {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
}

.app-splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.splash-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-glow {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.45) 0%, rgba(0, 122, 255, 0) 70%);
  animation: splashPulse 2s ease-in-out infinite;
}

.splash-logo-card {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.22), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 122, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: splashFloat 2.4s ease-in-out infinite;
}

.splash-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.splash-brand-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.splash-brand-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #8e8e93;
  margin-bottom: 26px;
}

.splash-loader-bar {
  width: 140px;
  height: 4px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.splash-loader-progress {
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, #007aff, #5856d6);
  border-radius: 99px;
  position: absolute;
  animation: splashProgress 1.4s ease-in-out infinite;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.95; }
}

@keyframes splashFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes splashProgress {
  0% { left: -40%; width: 30%; }
  50% { width: 60%; }
  100% { left: 100%; width: 30%; }
}

/* ==========================================================================
   G2Bulk Search Bar & Infinite Scroll Controls
   ========================================================================== */
.g2services-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  height: 46px;
  padding: 0 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.g2services-search-wrap:focus-within {
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.g2search-icon {
  stroke: #8e8e93;
  flex-shrink: 0;
  margin-right: 8px;
}

.g2search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 0;
}

.g2search-input::placeholder {
  color: #a1a1aa;
}

.g2search-clear-btn {
  background: #e2e8f0;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 6px;
}

.g2-loading-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-primary-blue);
  background: rgba(0, 122, 255, 0.06);
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.g2-mini-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 122, 255, 0.2);
  border-top-color: var(--color-primary-blue);
  border-radius: 50%;
  animation: g2Spinner 0.75s linear infinite;
}

@keyframes g2Spinner {
  to { transform: rotate(360deg); }
}

.g2-end-catalog {
  text-align: center;
  padding: 14px 0 24px 0;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.fade-in-card {
  animation: cardFadeIn 0.3s ease-out forwards;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   DEDICATED SERVICE DETAIL SUBPAGE (Exact 1:1 Match to User Reference Screenshot)
   ========================================================================== */
.service-detail-hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  margin-bottom: 12px;
}

.service-detail-thumb-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.service-detail-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  margin-bottom: 3px;
}

.service-detail-currency-label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.2;
}

.service-detail-input-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-detail-input-label {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  text-align: center;
  margin-bottom: 12px;
  display: block;
  width: 100%;
}

.service-detail-creds-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.service-pill-input {
  width: 100%;
  height: 48px;
  border-radius: 9999px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  padding: 0 20px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  color: #111827;
  outline: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.service-pill-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.service-pill-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.creds-dual-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.creds-username-capsule {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 9999px;
  padding: 0 6px 0 18px;
  box-sizing: border-box;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.creds-username-capsule:focus-within {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.creds-username-capsule .capsule-at-input {
  border: none;
  background: transparent;
  height: 100%;
  padding: 0 8px;
  text-align: left;
  box-shadow: none;
}

.service-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 100px;
  padding-bottom: 10px;
}

.service-pkg-card {
  background: #ffffff;
  border: 1.5px solid #f0f2f5;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  min-height: 60px;
}

.service-pkg-card:active {
  transform: scale(0.97);
}

.service-pkg-card.selected {
  border-color: #3b82f6;
  background: #f8faff;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.12);
}

.pkg-token-icon {
  display: none;
}

.pkg-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.pkg-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  word-break: break-word;
}

.pkg-card-price {
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
  line-height: 1.25;
  margin-top: 3px;
}

.service-detail-bottom-wrap {
  position: fixed;
  bottom: calc(16px + var(--safe-bottom));
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  z-index: 99;
}

.btn-service-detail-buy {
  width: 100%;
  height: 50px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #93bbfd 0%, #75a5f9 100%);
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(117, 165, 249, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-service-detail-buy:active {
  transform: scale(0.98);
  opacity: 0.92;
}

/* ==========================================================================
   PROFIL SECTION (Exact 1:1 Match to Reference Screenshot)
   ========================================================================== */
.profile-view-wrap {
  padding-bottom: 90px;
}

/* 1. User Header Card */
.profile-user-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 12px;
}

.puser-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.puser-avatar-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.puser-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.puser-initials {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-display);
}

.puser-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.puser-name {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.puser-phone {
  font-size: 13px;
  font-weight: 600;
  color: #007aff;
  line-height: 1.2;
}

.puser-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  color: #475569;
  cursor: pointer;
  width: fit-content;
  margin-top: 2px;
  transition: background 0.15s;
}

.puser-id-pill:active {
  background: #e2e8f0;
}

.puser-id-pill strong {
  color: #0f172a;
  font-weight: 800;
}

.puser-badge-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.puser-badge-btn:active {
  transform: scale(0.92);
  background: #f1f5f9;
}

/* 2. Omad Barabani Banner */
.profile-wheel-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
  border-radius: 24px;
  padding: 18px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
  margin-bottom: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
}

.profile-wheel-banner:active {
  transform: scale(0.98);
}

.pwheel-left {
  flex: 1;
  padding-right: 12px;
}

.pwheel-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 8px;
  backdrop-filter: blur(8px);
}

.pwheel-spins-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  line-height: 1.15;
}

.pwheel-bar-track {
  width: 100%;
  max-width: 190px;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}

.pwheel-bar-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 99px;
}

.pwheel-next-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.pwheel-right-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwheel-roulette-mini {
  width: 86px;
  height: 86px;
  position: relative;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.pwheel-pin {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 11px solid #ef4444;
  z-index: 5;
}

.pwheel-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3.5px solid #ffffff;
  box-sizing: border-box;
  background: conic-gradient(
    #ef4444 0% 12.5%,
    #8b5cf6 12.5% 25%,
    #3b82f6 25% 37.5%,
    #ec4899 37.5% 50%,
    #f97316 50% 62.5%,
    #10b981 62.5% 75%,
    #eab308 75% 87.5%,
    #06b6d4 87.5% 100%
  );
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pwheel-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* 3. Grouped Settings Card */
.profile-settings-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.psetting-row {
  display: flex;
  align-items: center;
  padding: 13px 18px;
  gap: 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
  user-select: none;
}

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

.psetting-row:active {
  background: #f8fafc;
}

.psetting-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.psetting-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.psetting-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.1px;
}

.psetting-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.25;
}

.psetting-chevron {
  flex-shrink: 0;
  opacity: 0.6;
}

/* iOS Style Switch */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e2e8f0;
  transition: .3s;
  border-radius: 34px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.switch-toggle input:checked + .slider-round {
  background-color: #34C759 !important;
}

.switch-toggle input:checked + .slider-round:before {
  transform: translateX(18px);
}

/* ==========================================================================
   TELEGRAM STARS (1:1 Cutbay Replica)
   ========================================================================== */
.stars-view-top-header {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  position: relative;
  justify-content: center;
  padding: 10px 0;
}

.stars-nav-back-btn {
  position: absolute;
  left: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 128, 128, 0.1);
  color: var(--text-primary);
  transition: transform 0.15s ease, background 0.15s ease;
}
.stars-nav-back-btn:active {
  transform: scale(0.92);
}

.stars-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars-header-title {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.2px;
}

#buy-stars-input-container {
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-card, rgba(0, 0, 0, 0.08));
  border-radius: 9999px !important;
  height: 48px;
  padding: 0 6px 0 18px !important;
  margin-bottom: 16px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

#buy-stars-input-container:focus-within {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.stars-at-symbol {
  color: var(--text-secondary, #8e8e93);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

#buy-stars-username {
  flex: 1 1 auto;
  min-width: 0 !important;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 15px !important;
  font-weight: 600;
  width: 100%;
  outline: none;
  font-family: inherit;
  padding: 0 6px 0 0 !important;
}

.stars-myself-btn {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #2563eb;
  border-radius: 9999px !important;
  height: 36px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
  transition: transform 0.15s, background 0.15s;
}
.stars-myself-btn:active {
  transform: scale(0.94);
}

#buy-stars-profile-container {
  display: none;
  align-items: center;
  background: var(--bg-card, #ffffff);
  border-radius: 9999px;
  padding: 8px 18px;
  margin-bottom: 16px;
  border: 1.5px solid var(--border-card, rgba(0, 0, 0, 0.08));
  justify-content: space-between;
  gap: 14px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.stars-profile-content {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.stars-profile-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
}

.stars-profile-text-wrap {
  overflow: hidden;
}

.stars-profile-name {
  color: var(--text-primary);
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stars-profile-user {
  color: #2563eb;
  font-size: 13.5px;
  font-weight: 600;
}

.stars-profile-clear-btn {
  background: rgba(128, 128, 128, 0.15);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#buy-stars-error {
  color: #f87171;
  font-size: 13.5px;
  margin-bottom: 14px;
  background: rgba(239, 68, 68, 0.1);
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
}

/* Preset Packages List */
#buy-stars-packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
  transition: max-height .38s cubic-bezier(0.16, 1, 0.3, 1), opacity .26s ease, transform .38s cubic-bezier(0.16, 1, 0.3, 1), margin-bottom .38s cubic-bezier(0.16, 1, 0.3, 1);
}

.stars-pkg-btn {
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-card, rgba(0, 0, 0, 0.08));
  padding: 12px 16px;
  border-radius: 18px;
  color: var(--text-primary);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.stars-pkg-btn:active {
  transform: scale(0.985);
}

.stars-pkg-btn.active {
  border-color: #2563eb !important;
  background: rgba(37, 99, 235, 0.06) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15) !important;
}

.stars-pkg-texts {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stars-pkg-qty {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.stars-pkg-cost {
  font-size: 13.5px;
  color: var(--text-secondary, #8e8e93);
  font-weight: 600;
  margin-top: 1px;
}

/* ═══ Stars: "Boshqa qiymat kiritish" Accordion Button (Exact Cutbay Spec) ═══ */
#stars-custom-toggle {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--text-primary);
  background: rgba(128, 128, 128, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid var(--border-card, rgba(0, 0, 0, 0.1));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background .25s ease, border-color .25s ease, transform .16s ease;
}

#stars-custom-toggle:active {
  transform: scale(.985);
}

#stars-custom-toggle .sct-ico {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

#stars-custom-toggle .sct-ico svg {
  width: 15px;
  height: 15px;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

#stars-custom-toggle .sct-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

#stars-custom-toggle-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

#stars-custom-toggle-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-secondary, #8e8e93);
  line-height: 1.2;
}

#stars-custom-toggle .sct-chev {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--text-secondary, #8e8e93);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ochiq holat */
#stars-custom-toggle.is-open {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.35);
}

#stars-custom-toggle.is-open .sct-ico svg {
  transform: rotate(135deg);
}

#stars-custom-toggle.is-open .sct-chev {
  transform: rotate(90deg);
}

/* ── Custom Container Smooth Expansion Animation ── */
#buy-stars-custom-container {
  overflow: hidden;
  max-height: 120px;
  opacity: 1;
  transform: translateY(0) scale(1);
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-card, rgba(0, 0, 0, 0.08));
  border-radius: 9999px;
  height: 48px;
  padding: 0 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  transition:
    max-height .38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity    .26s ease,
    transform  .38s cubic-bezier(0.16, 1, 0.3, 1),
    margin-bottom .38s cubic-bezier(0.16, 1, 0.3, 1),
    border-color .22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow .22s cubic-bezier(0.4, 0, 0.2, 1);
}

#buy-stars-custom-container:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#buy-stars-custom-container.collapsed {
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-8px) scale(.985) !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  pointer-events: none !important;
}

.stars-custom-inner-left {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
}

#buy-stars-custom-amount {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  width: 100%;
  outline: none;
  font-family: inherit;
  font-weight: 600;
}

#buy-stars-custom-price {
  font-size: 14px;
  color: #2563eb;
  font-weight: 700;
  white-space: nowrap;
}

/* Bottom Sotib olish Button */
.stars-action-wrap {
  margin-top: 10px;
  padding-bottom: 20px;
}

#buy-stars-confirm-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  padding: 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, opacity 0.2s ease;
  letter-spacing: 0.2px;
}

#buy-stars-confirm-btn:active {
  transform: scale(0.985);
}

/* Success View */
#buy-stars-step2 {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 10px 20px;
}

.stars-success-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.stars-success-title {
  color: #4ADE80;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.stars-success-sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 25px 0;
}

#buy-stars-success-card {
  background: var(--bg-card, #ffffff);
  border-radius: 18px;
  padding: 14px 16px;
  width: 100%;
  border: 1px solid rgba(234, 179, 8, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  box-sizing: border-box;
}

.stars-success-user-box {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.stars-success-names {
  overflow: hidden;
  line-height: 1.3;
  text-align: left;
}

#buy-stars-success-name {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#buy-stars-success-user {
  color: #2563eb;
  font-size: 13px;
  margin-top: 1px;
}

.stars-success-amount-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: 10px;
}

#buy-stars-success-amount {
  font-size: 18px;
  font-weight: 800;
  color: #E0B341;
}

.stars-success-close-btn {
  width: 100%;
  background: #2563eb;
  border: none;
  padding: 15px;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

/* ==========================================================================
   DARK THEME: CUTBAY 1:1 MIDNIGHT NAVY (#081226) HARMONIOUS COLOR SYSTEM
   ========================================================================== */
body.theme-dark-app,
html.theme-dark-app {
  --bg-page: #081226 !important;
  --bg-card: rgba(26, 38, 64, 0.78) !important;
  --bg-secondary: #16203A !important;
  --modal-bg: #141E34 !important;
  --text-dark: #EAF0FF !important;
  --text-primary: #EAF0FF !important;
  --text-secondary: #93A2C0 !important;
  --text-muted: #6C7C9C !important;
  --border-card: rgba(120, 150, 220, 0.16) !important;
  --border-subtle: rgba(120, 150, 220, 0.10) !important;
  --glass-bg: rgba(26, 38, 64, 0.78) !important;
  --glass-bg-hover: rgba(36, 52, 86, 0.88) !important;
  --glass-border: rgba(120, 150, 220, 0.16) !important;
  --card-bg: rgba(26, 38, 64, 0.78) !important;
  --accent-color: #2B3EEB !important;
  --accent-2: #4A5CFF !important;
  --accent-gradient: linear-gradient(135deg, #3346F5 0%, #2231D8 100%) !important;

  background-color: #081226 !important;
  color: #EAF0FF !important;
}

body.theme-dark-app .app-container {
  background-color: #081226 !important;
}

/* Header greeting */
body.theme-dark-app .greeting-name {
  color: #EAF0FF !important;
}
body.theme-dark-app .greeting-sub {
  color: #93A2C0 !important;
}
body.theme-dark-app .user-avatar-circle {
  background: #16203A !important;
  border: 1.5px solid rgba(120, 150, 220, 0.22) !important;
}

/* Balance Hero Card */
body.theme-dark-app .hero-balance-card {
  background: linear-gradient(145deg, #142244, #0d1730) !important;
  border: 1px solid rgba(120, 150, 220, 0.22) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.40) !important;
}
body.theme-dark-app .bal-card-title {
  color: #93A2C0 !important;
}
body.theme-dark-app .bal-card-amount {
  color: #EAF0FF !important;
}
body.theme-dark-app .bal-action-btn {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .bal-action-btn:hover {
  background: rgba(36, 52, 86, 0.88) !important;
}

/* Home Service Tiles (Stars, Premium, Gift) */
body.theme-dark-app .service-tile-card {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  box-shadow: none !important;
}
body.theme-dark-app .service-tile-label {
  color: #EAF0FF !important;
}

/* Section Head & Search */
body.theme-dark-app .g2services-title {
  color: #EAF0FF !important;
}
body.theme-dark-app .g2services-subtitle {
  color: #93A2C0 !important;
}
body.theme-dark-app .g2services-badge-pill {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #93A2C0 !important;
  box-shadow: none !important;
}
body.theme-dark-app .g2services-search-wrap {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
}
body.theme-dark-app .g2search-input {
  color: #EAF0FF !important;
}
body.theme-dark-app .g2search-icon {
  color: #6C7C9C !important;
}

/* Game / Donate Cards */
body.theme-dark-app .g2service-card {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  box-shadow: none !important;
}
body.theme-dark-app .g2service-card:hover {
  border-color: rgba(74, 92, 255, 0.40) !important;
  background: rgba(36, 52, 86, 0.88) !important;
}
body.theme-dark-app .g2service-name {
  color: #EAF0FF !important;
}

/* Subpage Back Headers */
body.theme-dark-app .btn-subpage-back,
body.theme-dark-app .stars-nav-back-btn {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .subpage-title-text,
body.theme-dark-app .subpage-header-title,
body.theme-dark-app .stars-header-title {
  color: #EAF0FF !important;
}

/* Top Hero Subpage Cards */
body.theme-dark-app .top-service-hero-card,
body.theme-dark-app .service-detail-hero-card {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
}
body.theme-dark-app .top-service-hero-card h3,
body.theme-dark-app .service-detail-title {
  color: #EAF0FF !important;
}
body.theme-dark-app .top-service-hero-card p,
body.theme-dark-app .service-detail-currency-label {
  color: #93A2C0 !important;
}

/* Username Capsule Bars & Input Boxes */
body.theme-dark-app .username-capsule-bar,
body.theme-dark-app #buy-stars-input-container,
body.theme-dark-app #buy-stars-custom-container,
body.theme-dark-app #buy-stars-profile-container,
body.theme-dark-app .service-detail-input-card,
body.theme-dark-app .creds-username-capsule,
body.theme-dark-app .ios-promo-input-box,
body.theme-dark-app .gift-comment-input,
body.theme-dark-app .g2services-search-wrap,
body.theme-dark-app .service-pill-input {
  background: #141E34 !important;
  border: 1px solid rgba(120, 150, 220, 0.18) !important;
  border-radius: 9999px !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .ios-promo-modal {
  background: #141E34 !important;
  border: 1px solid rgba(120, 150, 220, 0.18) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .ios-promo-input-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body.theme-dark-app .username-capsule-bar:focus-within,
body.theme-dark-app #buy-stars-input-container:focus-within,
body.theme-dark-app #buy-stars-custom-container:focus-within,
body.theme-dark-app .creds-username-capsule:focus-within,
body.theme-dark-app .ios-promo-input-box:focus-within,
body.theme-dark-app .g2services-search-wrap:focus-within,
body.theme-dark-app .gift-comment-input:focus,
body.theme-dark-app .service-pill-input:focus {
  background: #081226 !important;
  border-color: #3346F5 !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 0 3px rgba(51, 70, 245, 0.25) !important;
}
body.theme-dark-app .capsule-input,
body.theme-dark-app #buy-stars-username,
body.theme-dark-app #buy-stars-custom-amount,
body.theme-dark-app .creds-username-capsule .capsule-at-input,
body.theme-dark-app .ios-promo-text-field {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #EAF0FF !important;
  outline: none !important;
}
body.theme-dark-app .capsule-at,
body.theme-dark-app .stars-at-symbol {
  color: #4A5CFF !important;
}
body.theme-dark-app .capsule-self-btn,
body.theme-dark-app .stars-myself-btn {
  background: rgba(43, 62, 235, 0.18) !important;
  color: #4A5CFF !important;
  border: 1px solid rgba(74, 92, 255, 0.28) !important;
}
body.theme-dark-app #buy-stars-profile-name {
  color: #EAF0FF !important;
}
body.theme-dark-app #buy-stars-profile-user {
  color: #4A5CFF !important;
}
body.theme-dark-app #buy-stars-custom-price {
  color: #93A2C0 !important;
}

/* Stars Packages & Accordion */
body.theme-dark-app .stars-pkg-btn {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .stars-pkg-btn.active {
  background: rgba(43, 62, 235, 0.18) !important;
  border-color: #3346F5 !important;
}
body.theme-dark-app .stars-pkg-qty {
  color: #EAF0FF !important;
}
body.theme-dark-app .stars-pkg-cost {
  color: #93A2C0 !important;
}
body.theme-dark-app #stars-custom-toggle {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app #stars-custom-toggle.is-open {
  background: rgba(43, 62, 235, 0.18) !important;
  border-color: rgba(74, 92, 255, 0.40) !important;
}
body.theme-dark-app #stars-custom-toggle-text {
  color: #EAF0FF !important;
}
body.theme-dark-app #stars-custom-toggle-sub {
  color: #93A2C0 !important;
}

/* Sheets (Stars, Premium) */
body.theme-dark-app #stars-confirm-sheet-inner,
body.theme-dark-app #manual-premium-confirm-sheet-inner,
body.theme-dark-app #premium-confirm-sheet-inner {
  background: #141E34 !important;
  border-top: 1px solid rgba(120, 150, 220, 0.18) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app #sheet-profile-row {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
}
body.theme-dark-app #sheet-profile-name {
  color: #EAF0FF !important;
}
body.theme-dark-app #sheet-profile-user {
  color: #4A5CFF !important;
}

/* Segmented Buttons (Premium, Tarix) */
body.theme-dark-app .segmented-pill-container {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
}
body.theme-dark-app .seg-btn {
  color: #93A2C0 !important;
}
body.theme-dark-app .seg-btn.active {
  background: linear-gradient(135deg, #3346F5, #2231D8) !important;
  color: #FFFFFF !important;
}

/* Premium Items */
body.theme-dark-app .premium-item-card {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .premium-item-card.selected {
  border-color: #3346F5 !important;
  background: rgba(43, 62, 235, 0.18) !important;
}
body.theme-dark-app .prem-card-left strong {
  color: #EAF0FF !important;
}
body.theme-dark-app .admin-prem-info-card {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .prem-info-badge {
  background: rgba(139, 92, 246, 0.18) !important;
  color: #C4B5FD !important;
}
body.theme-dark-app .prem-info-title {
  color: #EAF0FF !important;
}
body.theme-dark-app .prem-info-desc {
  color: #93A2C0 !important;
}
body.theme-dark-app .prem-info-features {
  background: rgba(14, 22, 40, 0.65) !important;
  border: 1px solid rgba(120, 150, 220, 0.12) !important;
}
body.theme-dark-app .prem-feat-item {
  color: #EAF0FF !important;
}
body.theme-dark-app .prem-feat-item span:last-child {
  color: #EAF0FF !important;
}
body.theme-dark-app .btn-prem-contact-pill {
  background: linear-gradient(135deg, #3346F5, #2231D8) !important;
  color: #FFFFFF !important;
}

/* Gifts */
body.theme-dark-app .gift-item-card {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .gift-item-card.selected {
  border-color: #3346F5 !important;
  background: rgba(43, 62, 235, 0.18) !important;
}
body.theme-dark-app .gift-image-box {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(120, 150, 220, 0.12) !important;
}
body.theme-dark-app .gift-star-count {
  color: #93A2C0 !important;
  font-weight: 700 !important;
}
body.theme-dark-app .gift-card-price {
  color: #4A5CFF !important;
}
body.theme-dark-app .toggle-label {
  color: #EAF0FF !important;
  font-weight: 700 !important;
}
body.theme-dark-app .gifts-section-heading {
  color: #EAF0FF !important;
}
body.theme-dark-app .comment-toggle-row {
  background: #141E34 !important;
  border: 1px solid rgba(120, 150, 220, 0.18) !important;
  border-radius: 9999px !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .switch-toggle input:not(:checked) + .slider-round {
  background-color: rgba(255, 255, 255, 0.16) !important;
}
body.theme-dark-app .switch-toggle input:checked + .slider-round {
  background-color: #34C759 !important;
}
body.theme-dark-app .gift-comment-input {
  background: #081226 !important;
  border: 1px solid rgba(120, 150, 220, 0.18) !important;
  color: #EAF0FF !important;
}

/* NFT */
body.theme-dark-app .user-nft-card,
body.theme-dark-app .nft-card-item {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
  box-shadow: none !important;
}
body.theme-dark-app .user-nft-card:hover {
  background: rgba(36, 52, 86, 0.88) !important;
  border-color: rgba(74, 92, 255, 0.40) !important;
}
body.theme-dark-app .user-nft-thumb-box {
  background: #081226 !important;
}
body.theme-dark-app .user-nft-title,
body.theme-dark-app .nft-meta-name {
  color: #EAF0FF !important;
}
body.theme-dark-app .user-nft-number {
  color: #93A2C0 !important;
}
body.theme-dark-app .user-nft-price-clean {
  color: rgba(234, 240, 255, 0.85) !important;
}
body.theme-dark-app .btn-nft-buy {
  background: rgba(43, 62, 235, 0.22) !important;
  border: 1px solid rgba(74, 92, 255, 0.35) !important;
  color: #687bf7 !important;
}
body.theme-dark-app .nft-view-btn {
  background: rgba(43, 62, 235, 0.18) !important;
  color: #4A5CFF !important;
  border: 1px solid rgba(74, 92, 255, 0.28) !important;
}

/* Service Detail Packages */
body.theme-dark-app .service-pkg-card {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
  word-break: break-word;
  overflow: hidden;
  box-sizing: border-box;
}
body.theme-dark-app .service-pkg-card:hover {
  background: rgba(36, 52, 86, 0.88) !important;
  border-color: rgba(74, 92, 255, 0.40) !important;
}
body.theme-dark-app .service-pkg-card.selected {
  border-color: #3346F5 !important;
  background: rgba(43, 62, 235, 0.18) !important;
}
body.theme-dark-app .pkg-card-title,
body.theme-dark-app .service-pkg-name {
  color: #EAF0FF !important;
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.3;
}
body.theme-dark-app .pkg-card-price,
body.theme-dark-app .service-pkg-price {
  color: #4A5CFF !important;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Tarix - List Rows & Receipt Modal Dark Theme */
body.theme-dark-app .tarix-list-row {
  background: #141E34 !important;
  border-color: rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}

body.theme-dark-app .tarix-list-row:active {
  background: rgba(36, 52, 86, 0.88) !important;
}

body.theme-dark-app .tarix-row-title,
body.theme-dark-app .tarix-row-amount {
  color: #EAF0FF !important;
}

body.theme-dark-app .tarix-row-sub {
  color: #93A2C0 !important;
}

body.theme-dark-app .btn-tarix-view-check {
  background: rgba(74, 92, 255, 0.18) !important;
  color: #60a5fa !important;
}

body.theme-dark-app .receipt-modal-card {
  background: #141E34 !important;
  border: 1px solid rgba(120, 150, 220, 0.18) !important;
  color: #EAF0FF !important;
}

body.theme-dark-app .receipt-modal-header {
  border-bottom-color: rgba(120, 150, 220, 0.12) !important;
}

body.theme-dark-app .receipt-modal-title {
  color: #EAF0FF !important;
}

body.theme-dark-app .receipt-modal-sub {
  color: #93A2C0 !important;
}

body.theme-dark-app .receipt-hero-amount {
  color: #EAF0FF !important;
}

body.theme-dark-app .receipt-hero-amount small {
  color: #93A2C0 !important;
}

body.theme-dark-app .receipt-hero-status-sub {
  color: #93A2C0 !important;
}

body.theme-dark-app .receipt-modal-perforation {
  border-top-color: rgba(120, 150, 220, 0.22) !important;
}

body.theme-dark-app .receipt-modal-perforation::before,
body.theme-dark-app .receipt-modal-perforation::after {
  background: rgba(15, 23, 42, 0.85) !important;
}

body.theme-dark-app .receipt-row-label {
  color: #93A2C0 !important;
}

body.theme-dark-app .receipt-row-ico {
  stroke: #93A2C0 !important;
}

body.theme-dark-app .receipt-row-value {
  color: #EAF0FF !important;
}

body.theme-dark-app .receipt-code-badge {
  background: rgba(74, 92, 255, 0.2) !important;
  color: #93C5FD !important;
}

body.theme-dark-app .receipt-mt-label {
  color: #93A2C0 !important;
}

body.theme-dark-app .receipt-mt-val {
  color: #60a5fa !important;
}

body.theme-dark-app .btn-receipt-copy-action {
  background: #3346F5 !important;
  color: #ffffff !important;
}

body.theme-dark-app .btn-receipt-support-action {
  background: rgba(120, 150, 220, 0.14) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .tarix-chip-pill {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #93A2C0 !important;
}
body.theme-dark-app .tarix-chip-pill.active {
  background: linear-gradient(135deg, #3346F5, #2231D8) !important;
  color: #FFFFFF !important;
}
body.theme-dark-app .tarix-empty-text {
  color: #EAF0FF !important;
}

/* Profil */
body.theme-dark-app .profile-user-card,
body.theme-dark-app .profile-settings-card {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
}
body.theme-dark-app .puser-name {
  color: #EAF0FF !important;
}
body.theme-dark-app .puser-phone {
  color: #4A5CFF !important;
}
body.theme-dark-app .puser-id-pill {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #93A2C0 !important;
}
body.theme-dark-app .puser-id-pill strong {
  color: #EAF0FF !important;
}
body.theme-dark-app .psetting-row {
  border-bottom: 1px solid rgba(120, 150, 220, 0.10) !important;
}
body.theme-dark-app .psetting-title {
  color: #EAF0FF !important;
}
body.theme-dark-app .psetting-desc {
  color: #93A2C0 !important;
}
body.theme-dark-app .psetting-chevron {
  stroke: #6C7C9C !important;
}

/* Modals */
body.theme-dark-app .modal-card,
body.theme-dark-app .g2service-modal-card {
  background: #141E34 !important;
  border: 1px solid rgba(120, 150, 220, 0.18) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .modal-title {
  color: #EAF0FF !important;
}
body.theme-dark-app .modal-desc,
body.theme-dark-app .s-label,
body.theme-dark-app .form-label {
  color: #93A2C0 !important;
}
body.theme-dark-app .s-value {
  color: #EAF0FF !important;
}
body.theme-dark-app .checkout-summary {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
}
body.theme-dark-app .pay-option .pay-box {
  background: rgba(26, 38, 64, 0.78) !important;
  border: 1px solid rgba(120, 150, 220, 0.16) !important;
  color: #EAF0FF !important;
}
body.theme-dark-app .pay-option.active .pay-box {
  border-color: #3346F5 !important;
  background: rgba(43, 62, 235, 0.18) !important;
}
body.theme-dark-app .btn-close {
  color: #93A2C0 !important;
}
/* All Inputs, Textareas, Selects and Pill Inputs in Dark Mode */
body.theme-dark-app input,
body.theme-dark-app textarea,
body.theme-dark-app select,
body.theme-dark-app .service-pill-input,
body.theme-dark-app .modal-input,
body.theme-dark-app .g2search-input,
body.theme-dark-app .gift-comment-input {
  background-color: #081226 !important;
  border: 1px solid rgba(120, 150, 220, 0.18) !important;
  border-radius: 9999px !important;
  color: #EAF0FF !important;
}

body.theme-dark-app input::placeholder,
body.theme-dark-app textarea::placeholder,
body.theme-dark-app .service-pill-input::placeholder,
body.theme-dark-app .g2search-input::placeholder,
body.theme-dark-app .gift-comment-input::placeholder {
  color: #6C7C9C !important;
}

/* Standalone Input Focus - Never pure white */
body.theme-dark-app input:focus,
body.theme-dark-app textarea:focus,
body.theme-dark-app .service-pill-input:focus,
body.theme-dark-app .modal-input:focus,
body.theme-dark-app .g2search-input:focus,
body.theme-dark-app .gift-comment-input:focus {
  background-color: #081226 !important;
  border-color: #3346F5 !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 0 3px rgba(51, 70, 245, 0.25) !important;
  color: #EAF0FF !important;
}

/* WebKit Autofill in Dark Mode (prevents iOS/Android yellow/white autofill) */
body.theme-dark-app input:-webkit-autofill,
body.theme-dark-app input:-webkit-autofill:hover, 
body.theme-dark-app input:-webkit-autofill:focus, 
body.theme-dark-app input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #141E34 inset !important;
  -webkit-text-fill-color: #EAF0FF !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Promocode Modal Elements in Dark Mode */
body.theme-dark-app .ios-sheet-handle {
  background: rgba(255, 255, 255, 0.2) !important;
}
body.theme-dark-app .ios-header-sub,
body.theme-dark-app .ios-promo-label {
  color: #93A2C0 !important;
}
body.theme-dark-app .btn-close-circle {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #93A2C0 !important;
}
body.theme-dark-app .btn-paste-pill {
  background: rgba(43, 62, 235, 0.22) !important;
  color: #687bf7 !important;
  border: 1px solid rgba(74, 92, 255, 0.35) !important;
  border-radius: 9999px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 0 14px !important;
  height: 36px !important;
  font-size: 12px !important;
}
body.theme-dark-app .btn-apply-promo-large {
  background: linear-gradient(135deg, #3346F5 0%, #2231D8 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(43, 62, 235, 0.45) !important;
}

/* Inner Inputs Inside Capsules must be transparent and borderless even on focus */
body.theme-dark-app .username-capsule-bar input,
body.theme-dark-app .username-capsule-bar input:focus,
body.theme-dark-app .username-capsule-bar .capsule-input,
body.theme-dark-app .username-capsule-bar .capsule-input:focus,
body.theme-dark-app #buy-stars-input-container input,
body.theme-dark-app #buy-stars-input-container input:focus,
body.theme-dark-app #buy-stars-custom-container input,
body.theme-dark-app #buy-stars-custom-container input:focus,
body.theme-dark-app .creds-username-capsule input,
body.theme-dark-app .creds-username-capsule input:focus,
body.theme-dark-app .creds-username-capsule .capsule-at-input,
body.theme-dark-app .creds-username-capsule .capsule-at-input:focus,
body.theme-dark-app .ios-promo-input-box input,
body.theme-dark-app .ios-promo-input-box input:focus,
body.theme-dark-app .ios-promo-input-box .ios-promo-text-field,
body.theme-dark-app .ios-promo-input-box .ios-promo-text-field:focus,
body.theme-dark-app .g2services-search-wrap input,
body.theme-dark-app .g2services-search-wrap input:focus {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: #EAF0FF !important;
}

/* Floating Bottom Navigation Bar */
body.theme-dark-app .floating-nav-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.theme-dark-app #bottomNavBar,
body.theme-dark-app .floating-nav-pill {
  background: linear-gradient(145deg, rgba(20, 30, 52, 0.96), rgba(12, 20, 38, 0.98)) !important;
  border: 1px solid rgba(120, 150, 220, 0.22) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.60), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
}
body.theme-dark-app #bottomNavBar .nav-item,
body.theme-dark-app .nav-item {
  color: #8E9DB8 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body.theme-dark-app #bottomNavBar .nav-item .nav-icon,
body.theme-dark-app .nav-item .nav-icon {
  stroke: #8E9DB8 !important;
}
body.theme-dark-app #bottomNavBar .nav-item .nav-label,
body.theme-dark-app .nav-item .nav-label {
  color: #8E9DB8 !important;
  font-weight: 600 !important;
}
body.theme-dark-app #bottomNavBar .nav-item.active,
body.theme-dark-app .nav-item.active {
  background: linear-gradient(135deg, #3346F5 0%, #2231D8 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(43, 62, 235, 0.50) !important;
}
body.theme-dark-app #bottomNavBar .nav-item.active .nav-icon-wrap,
body.theme-dark-app .nav-item.active .nav-icon-wrap {
  background: transparent !important;
  box-shadow: none !important;
}
body.theme-dark-app #bottomNavBar .nav-item.active .nav-icon,
body.theme-dark-app .nav-item.active .nav-icon {
  stroke: #FFFFFF !important;
}
body.theme-dark-app #bottomNavBar .nav-item.active .nav-label,
body.theme-dark-app .nav-item.active .nav-label {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

/* Primary Action Buttons */
body.theme-dark-app .btn-main-action-pill,
body.theme-dark-app #buy-stars-confirm-btn,
body.theme-dark-app #sheet-confirm-btn,
body.theme-dark-app .btn-service-detail-buy,
body.theme-dark-app .btn-checkout-confirm,
body.theme-dark-app .stars-success-close-btn {
  background: linear-gradient(135deg, #3346F5 0%, #2231D8 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(43,62,235,.45), inset 0 1px 0 rgba(255,255,255,.22) !important;
  border: 1px solid rgba(140,160,255,.35) !important;
}

/* ==========================================================================
   TARIX ELONGATED LIST ROW & DETAILED RECEIPT MODAL (NO EMOJIS, PURE VECTOR)
   ========================================================================== */
.tarix-view-body {
  width: 100% !important;
  min-height: 45vh;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.orders-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 30px;
}

.tarix-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 13px 15px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.025);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.tarix-list-row:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.05);
}

.tarix-list-row:active {
  transform: scale(0.985);
}

.tarix-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.tarix-item-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tarix-list-row:hover .tarix-item-icon-wrap {
  transform: scale(1.05);
}

.tarix-item-icon-wrap.icon-stars {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #d97706;
}

.tarix-item-icon-wrap.icon-premium {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
}

.tarix-item-icon-wrap.icon-gift {
  background: #fdf2f8;
  border: 1px solid #fce7f3;
  color: #db2777;
}

.tarix-item-icon-wrap.icon-nft {
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  color: #9333ea;
}

.tarix-item-icon-wrap.icon-game {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #059669;
}

.tarix-item-icon-wrap.icon-default {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.tarix-item-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tarix-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.tarix-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.tarix-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tarix-currency {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.tarix-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.tarix-item-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.2;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.tarix-item-code {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 1.5px 6px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tarix-item-dot {
  color: #cbd5e1;
  font-size: 9px;
  flex-shrink: 0;
}

.tarix-item-date {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tarix-row-action-area {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.tarix-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  white-space: nowrap;
}

.tarix-status-chip.status-completed {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}

.tarix-status-chip.status-pending {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
}

.tarix-status-chip.status-cancelled {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
}

.btn-tarix-view-check {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #f1f5f9;
  color: #2563eb;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-tarix-view-check:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Detailed Receipt Modal */
.receipt-modal-card {
  max-width: 480px;
  width: 100%;
  border-radius: 26px 26px 0 0;
  padding: 16px 20px 28px 20px;
  background: #ffffff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.receipt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.receipt-modal-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.receipt-modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.receipt-modal-sub {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.receipt-hero-status-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 14px 16px 14px;
}

.receipt-hero-status-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.receipt-hero-status-icon.status-completed {
  background: #ecfdf5;
  color: #059669;
  border: 2px solid #a7f3d0;
}

.receipt-hero-status-icon.status-pending {
  background: #fffbeb;
  color: #d97706;
  border: 2px solid #fde68a;
}

.receipt-hero-status-icon.status-cancelled {
  background: #fef2f2;
  color: #dc2626;
  border: 2px solid #fecaca;
}

.receipt-hero-status-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.receipt-hero-amount {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.receipt-hero-currency {
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  margin-left: 2px;
}

.receipt-perforation-cutouts {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px -20px 16px -20px;
  height: 20px;
}

.receipt-perforation-cutouts::before {
  content: "";
  position: absolute;
  left: 0;
  width: 14px;
  height: 20px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0 10px 10px 0;
}

.receipt-perforation-cutouts::after {
  content: "";
  position: absolute;
  right: 0;
  width: 14px;
  height: 20px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px 0 0 10px;
}

.receipt-perforation-dashed-line {
  width: 100%;
  border-top: 1.5px dashed #cbd5e1;
  margin: 0 20px;
}

.receipt-data-table {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.receipt-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.receipt-data-key {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}

.receipt-data-key svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.receipt-data-val {
  font-weight: 700;
  color: #0f172a;
  text-align: right;
  word-break: break-word;
}

.receipt-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}

.btn-mini-copy {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  transition: all 0.15s ease;
}

.btn-mini-copy:hover {
  background: #2563eb;
  color: #ffffff;
}

.receipt-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.receipt-modal-actions-row {
  display: flex;
  gap: 10px;
}

.btn-receipt-action-copy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #2563eb;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-receipt-action-copy:active {
  transform: scale(0.98);
}

.btn-receipt-action-support {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f1f5f9;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-receipt-action-support:active {
  transform: scale(0.98);
}

.btn-receipt-action-close {
  width: 100%;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

/* Dark Mode Overrides for Tarix List & Detailed Receipt */
body.theme-dark-app .tarix-list-row {
  background: #182234 !important;
  border-color: #26354D !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

body.theme-dark-app .tarix-list-row:hover {
  border-color: #3B82F6 !important;
  background: #1C273C !important;
}

body.theme-dark-app .tarix-item-title {
  color: #F8FAFC !important;
}

body.theme-dark-app .tarix-item-meta {
  color: #94A3B8 !important;
}

body.theme-dark-app .tarix-item-code {
  background: #233149 !important;
  color: #CBD5E1 !important;
}

body.theme-dark-app .tarix-item-price {
  color: #FFFFFF !important;
}

body.theme-dark-app .btn-tarix-view-check {
  background: #233149 !important;
  color: #60A5FA !important;
  border-color: #334460 !important;
}

body.theme-dark-app .btn-tarix-view-check:hover {
  background: #3B82F6 !important;
  color: #FFFFFF !important;
  border-color: #3B82F6 !important;
}

body.theme-dark-app .receipt-modal-card {
  background: #121A28 !important;
  border: 1px solid #26354D !important;
  color: #F8FAFC !important;
}

body.theme-dark-app .receipt-modal-header {
  border-bottom-color: #1E293B !important;
}

body.theme-dark-app .receipt-modal-title {
  color: #FFFFFF !important;
}

body.theme-dark-app .receipt-modal-sub {
  color: #94A3B8 !important;
}

body.theme-dark-app .receipt-modal-icon-badge {
  background: #1E2B45 !important;
  border-color: #2E4166 !important;
  color: #60A5FA !important;
}

body.theme-dark-app .receipt-hero-status-text {
  color: #94A3B8 !important;
}

body.theme-dark-app .receipt-hero-amount {
  color: #FFFFFF !important;
}

body.theme-dark-app .receipt-data-table {
  background: #162032 !important;
  border-color: #26354D !important;
}

body.theme-dark-app .receipt-data-key {
  color: #94A3B8 !important;
}

body.theme-dark-app .receipt-data-val {
  color: #F8FAFC !important;
}

body.theme-dark-app .receipt-code-badge {
  background: #233149 !important;
  color: #F1F5F9 !important;
}

body.theme-dark-app .btn-mini-copy {
  background: #1E293B !important;
  border-color: #334460 !important;
  color: #60A5FA !important;
}

body.theme-dark-app .btn-receipt-action-support {
  background: #1E2B45 !important;
  border-color: #2E4166 !important;
  color: #F1F5F9 !important;
}

body.theme-dark-app .btn-receipt-action-close {
  color: #94A3B8 !important;
}

body.theme-dark-app .receipt-perforation-cutouts::before,
body.theme-dark-app .receipt-perforation-cutouts::after {
  background: #0B111A !important;
}

body.theme-dark-app .receipt-perforation-dashed-line {
  border-top-color: #2E4166 !important;
}

/* ==========================================================================
   PROFILE SECURITY SETTINGS & APP PIN OVERLAY (MATCHING USER SCREENSHOT 1:1)
   ========================================================================== */

/* Security Settings Modal */
.security-modal-card {
  max-width: 480px;
  width: 100%;
  border-radius: 26px 26px 0 0;
  background: #ffffff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

.security-modal-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-modal-subtitle {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.sec-pin-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.sec-pin-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-pin-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sec-pin-icon-wrap.active {
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
}

.sec-pin-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.sec-pin-status-text {
  font-size: 11.5px;
  color: #64748b;
}

.sec-pin-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e2e8f0;
  color: #475569;
}

.sec-pin-badge.active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.sec-pin-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-sec-set-pin,
.btn-sec-change-pin {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2563eb;
  color: #ffffff;
  padding: 12px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-sec-set-pin:active,
.btn-sec-change-pin:active {
  transform: scale(0.98);
}

.btn-sec-remove-pin {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
  padding: 12px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sec-remove-pin:active {
  transform: scale(0.98);
}

.sec-guarantees-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.sec-guarantee-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sec-guarantee-item strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 2px;
}

.sec-guarantee-item span {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
  display: block;
}

/* ==========================================================================
   FULLSCREEN APP PIN OVERLAY (MATCHING USER SCREENSHOT EXACTLY)
   ========================================================================== */
.app-pin-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #080e1c !important; /* Exact deep navy dark background from screenshot */
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  box-sizing: border-box;
  animation: fadeInPinScreen 0.25s ease-out;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

@keyframes fadeInPinScreen {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.pin-overlay-back-btn {
  position: absolute;
  top: max(20px, env(safe-area-inset-top, 20px));
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.pin-overlay-back-btn:active {
  transform: scale(0.92);
}

.pin-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.pin-overlay-sticker-wrap {
  width: 130px;
  height: 130px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-overlay-title {
  color: #ffffff !important;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.pin-overlay-subtitle {
  color: #8492a6 !important;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 20px 0;
  min-height: 18px;
  transition: color 0.2s ease;
}

.pin-overlay-subtitle.error-text {
  color: #f87171 !important;
  font-weight: 700;
}

/* 4 PIN Dots */
.pin-dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-bottom: 16px;
}

.pin-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.pin-dot.filled {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  transform: scale(1.18);
}

.pin-plain-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.pin-plain-char {
  width: 22px;
  height: 28px;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

.pin-plain-char.filled {
  border-bottom-color: #3b82f6;
  color: #ffffff;
}

.pin-dots-container.shake-error {
  animation: pinShakeError 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.pin-dots-container.shake-error .pin-dot {
  border-color: #ef4444 !important;
  background: #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6) !important;
}

@keyframes pinShakeError {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-7px, 0, 0); }
  40%, 60% { transform: translate3d(7px, 0, 0); }
}

/* Eye toggle button */
.pin-eye-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #8492a6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 auto 24px auto;
  transition: all 0.2s ease;
}

.pin-eye-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.pin-eye-toggle-btn:active {
  transform: scale(0.92);
}

/* Circular Keypad Grid */
.pin-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  gap: 16px 22px;
  justify-content: center;
  margin: 0 auto;
}

.pin-num-key {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #14223a; /* Circular button color from screenshot */
  border: none;
  color: #ffffff;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.pin-num-key:hover {
  background: #1b2d4c;
}

.pin-num-key:active {
  background: #253d66;
  transform: scale(0.92);
}

.pin-key-placeholder {
  width: 76px;
  height: 76px;
}

.pin-backspace-key {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #8492a6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pin-backspace-key:hover {
  color: #ffffff;
}

.pin-backspace-key:active {
  color: #ffffff;
  transform: scale(0.92);
}

/* Dark Mode Overrides for Security Modal */
body.theme-dark-app .security-modal-card {
  background: #121a28 !important;
  color: #f8fafc !important;
  border: 1px solid #26354d !important;
}

body.theme-dark-app .security-modal-badge {
  background: #142a22 !important;
  border-color: #1e4635 !important;
  color: #34d399 !important;
}

body.theme-dark-app .security-modal-subtitle {
  color: #94a3b8 !important;
}

body.theme-dark-app .sec-pin-card {
  background: #162032 !important;
  border-color: #26354d !important;
}

body.theme-dark-app .sec-pin-title {
  color: #ffffff !important;
}

body.theme-dark-app .sec-pin-status-text {
  color: #94a3b8 !important;
}

body.theme-dark-app .sec-pin-badge {
  background: #233149 !important;
  color: #94a3b8 !important;
}

body.theme-dark-app .sec-pin-badge.active {
  background: #142a22 !important;
  color: #34d399 !important;
  border-color: #1e4635 !important;
}

body.theme-dark-app .btn-sec-remove-pin {
  background: #2a171b !important;
  border-color: #4a2128 !important;
  color: #f87171 !important;
}

body.theme-dark-app .sec-guarantee-item strong {
  color: #ffffff !important;
}

body.theme-dark-app .sec-guarantee-item span {
  color: #94a3b8 !important;
}

body.theme-dark-app .sec-guarantees-list {
  border-top-color: #1e293b !important;
}

/* ============================================================================
   TOP REYTING / LEADERBOARD STYLES
   ============================================================================ */
.top-ranking-card {
  max-width: 440px !important;
  width: 94% !important;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18) !important;
  background: #ffffff;
}

.ranking-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 179, 8, 0.25));
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-ranking-periods {
  display: flex;
  gap: 6px;
  padding: 4px 16px 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafa;
}

.ranking-period-btn {
  flex: 1;
  padding: 7px 0;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.ranking-period-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.ranking-period-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.top-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.ranking-row-item:hover {
  background: #f1f5f9;
}

.ranking-row-item.current-user-item {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1.5px solid #3b82f6;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
}

.ranking-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ranking-medal-badge {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.ranking-medal-1 {
  background: linear-gradient(135deg, #fef08a, #eab308);
  color: #78350f;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.35);
}

.ranking-medal-2 {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(148, 163, 184, 0.3);
}

.ranking-medal-3 {
  background: linear-gradient(135deg, #fed7aa, #d97706);
  color: #7c2d12;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.ranking-medal-other {
  background: #e2e8f0;
  color: #64748b;
  font-size: 12px;
}

.ranking-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ranking-user-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.ranking-user-orders {
  font-size: 11px;
  color: #64748b;
}

.ranking-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.ranking-spent-badge {
  font-size: 13px;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.2px;
}

.ranking-badge-tier {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.tier-gold {
  background: #fef3c7;
  color: #b45309;
}

.tier-silver {
  background: #f1f5f9;
  color: #475569;
}

.tier-bronze {
  background: #ffedd5;
  color: #c2410c;
}

.tier-member {
  background: #e0f2fe;
  color: #0369a1;
}

.top-ranking-footer {
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 24px 24px;
}

.my-rank-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.my-rank-val {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

/* Dark mode for Top Ranking */
body.theme-dark-app .top-ranking-card {
  background: #111a28 !important;
  border: 1px solid #233149 !important;
}

body.theme-dark-app .top-ranking-periods {
  background: #0d1522 !important;
  border-bottom-color: #1e293b !important;
}

body.theme-dark-app .ranking-period-btn {
  background: #162032 !important;
  border-color: #26354d !important;
  color: #94a3b8 !important;
}

body.theme-dark-app .ranking-period-btn:hover {
  background: #1e293b !important;
  color: #ffffff !important;
}

body.theme-dark-app .ranking-period-btn.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

body.theme-dark-app .ranking-row-item {
  background: #162032 !important;
  border-color: #26354d !important;
}

body.theme-dark-app .ranking-row-item:hover {
  background: #1c283e !important;
}

body.theme-dark-app .ranking-row-item.current-user-item {
  background: linear-gradient(135deg, #16263f, #142e2a) !important;
  border-color: #3b82f6 !important;
}

body.theme-dark-app .ranking-user-name {
  color: #f8fafc !important;
}

body.theme-dark-app .ranking-spent-badge {
  color: #34d399 !important;
}

body.theme-dark-app .ranking-medal-other {
  background: #233149 !important;
  color: #94a3b8 !important;
}

body.theme-dark-app .top-ranking-footer {
  background: #0d1522 !important;
  border-top-color: #1e293b !important;
}

body.theme-dark-app .my-rank-val {
  color: #ffffff !important;
}

/* ============================================================================
   DEDICATED TOP REYTING SUBPAGE (Ultra-Modern Premium Leaderboard)
   ============================================================================ */
#view-top-reyting {
  padding-bottom: 90px;
}

.top-ranking-hero-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.95), rgba(254, 243, 199, 0.5));
  border: 1px solid rgba(224, 231, 255, 0.9);
  padding: 18px 16px 16px 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08);
  margin-bottom: 14px;
  overflow: hidden;
}

.top-ranking-hero-sticker {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2px;
}

.top-ranking-hero-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.top-ranking-hero-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.top-ranking-page-periods {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  margin-bottom: 16px;
}

.ranking-page-period-btn {
  flex: 1;
  padding: 8px 0;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.ranking-page-period-btn:hover {
  color: #0f172a;
}

.ranking-page-period-btn.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Podium 3D Showcase */
.ranking-podium-wrap {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}

.ranking-podium-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  padding-top: 20px;
}

.podium-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-width: 0;
}

.podium-avatar-wrap {
  position: relative;
  margin-bottom: 6px;
}

.podium-crown {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(234, 179, 8, 0.5));
  animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

.podium-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.podium-col.rank-1 .podium-avatar {
  width: 62px;
  height: 62px;
  font-size: 22px;
  border: 3px solid #eab308;
  background: linear-gradient(135deg, #fef08a, #ca8a04);
  color: #78350f;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.35);
}

.podium-col.rank-2 .podium-avatar {
  border: 2.5px solid #94a3b8;
  background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
  color: #334155;
}

.podium-col.rank-3 .podium-avatar {
  border: 2.5px solid #d97706;
  background: linear-gradient(135deg, #ffedd5, #f97316);
  color: #7c2d12;
}

.podium-badge-rank {
  position: absolute;
  bottom: -4px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.podium-badge-rank.rank-1 { background: #eab308; }
.podium-badge-rank.rank-2 { background: #64748b; }
.podium-badge-rank.rank-3 { background: #d97706; }

.podium-user-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
  margin-bottom: 2px;
}

.podium-me-tag {
  font-size: 9px;
  color: #3b82f6;
  font-weight: 800;
}

.podium-tier-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.podium-tier-tag.tier-vip-gold { background: #fef08a; color: #854d0e; }
.podium-tier-tag.tier-silver { background: #f1f5f9; color: #475569; }
.podium-tier-tag.tier-bronze { background: #ffedd5; color: #9a3412; }

.podium-spent {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  margin-bottom: 6px;
}

.podium-pillar {
  width: 100%;
  border-radius: 16px 16px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 4px 10px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pillar-1 {
  height: 95px;
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.22), rgba(234, 179, 8, 0.08));
  border: 1.5px solid rgba(234, 179, 8, 0.35);
}

.pillar-2 {
  height: 72px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.06));
  border: 1.5px solid rgba(148, 163, 184, 0.3);
}

.pillar-3 {
  height: 58px;
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.18), rgba(217, 119, 6, 0.06));
  border: 1.5px solid rgba(217, 119, 6, 0.25);
}

.podium-rank-num {
  font-size: 22px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.7);
  line-height: 1;
  margin-bottom: 4px;
}

.podium-orders-tag {
  font-size: 9.5px;
  font-weight: 600;
  color: #64748b;
}

/* List Container */
.ranking-page-list-container {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.ranking-list-header-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 12px 10px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ranking-user-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #475569;
  flex-shrink: 0;
}

.ranking-me-badge {
  font-size: 10px;
  color: #3b82f6;
  font-weight: 800;
  margin-left: 2px;
}

/* Sticky / Fixed Current User Status Card */
.top-ranking-page-myrank {
  position: sticky;
  bottom: 12px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin-top: 14px;
}

.myrank-status-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.myrank-status-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.myrank-badge-rank {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.myrank-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.myrank-sub {
  font-size: 11px;
  color: #64748b;
}

.myrank-status-right {
  text-align: right;
}

.myrank-spent-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.myrank-spent-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #059669;
}

.myrank-empty-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  padding: 4px 0;
}

/* Dark mode overrides for dedicated Top Reyting Page */
body.theme-dark-app .top-ranking-hero-card {
  background: linear-gradient(135deg, #131c2e, #1a253c) !important;
  border-color: #233149 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

body.theme-dark-app .top-ranking-hero-title {
  color: #ffffff !important;
}

body.theme-dark-app .top-ranking-hero-sub {
  color: #94a3b8 !important;
}

body.theme-dark-app .top-ranking-page-periods {
  background: rgba(255, 255, 255, 0.05) !important;
}

body.theme-dark-app .ranking-page-period-btn {
  color: #94a3b8 !important;
}

body.theme-dark-app .ranking-page-period-btn:hover {
  color: #ffffff !important;
}

body.theme-dark-app .ranking-page-period-btn.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35) !important;
}

body.theme-dark-app .podium-user-name {
  color: #f8fafc !important;
}

body.theme-dark-app .podium-rank-num {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.theme-dark-app .ranking-page-list-container {
  background: #111a28 !important;
  border-color: #233149 !important;
}

body.theme-dark-app .ranking-user-avatar-small {
  background: #233149 !important;
  color: #cbd5e1 !important;
}

body.theme-dark-app .top-ranking-page-myrank {
  background: rgba(17, 26, 40, 0.95) !important;
  border-color: #26354d !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5) !important;
}

body.theme-dark-app .myrank-title {
  color: #ffffff !important;
}

body.theme-dark-app .myrank-sub,
body.theme-dark-app .myrank-spent-label,
body.theme-dark-app .myrank-empty-box {
  color: #94a3b8 !important;
}

/* ============================================================================
   BANNED FULL-SCREEN OVERLAY
   ============================================================================ */
.banned-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  box-sizing: border-box;
}

.banned-card-content {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 24px 28px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: modalPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.banned-sticker-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.banned-main-title {
  font-size: 20px;
  font-weight: 800;
  color: #ef4444;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
}

.banned-main-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 16px 0;
  font-weight: 500;
}

.banned-ip-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  letter-spacing: 0.3px;
}

.banned-support-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.banned-support-action-btn:active {
  transform: scale(0.97);
}

/* Dark mode for Banned Screen */
body.theme-dark-app .banned-screen-overlay {
  background: rgba(3, 7, 18, 0.96) !important;
}

body.theme-dark-app .banned-card-content {
  background: #111a28 !important;
  border: 1px solid #233149 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

body.theme-dark-app .banned-main-desc {
  color: #94a3b8 !important;
}

body.theme-dark-app .banned-ip-pill {
  background: #162032 !important;
  border-color: #26354d !important;
  color: #94a3b8 !important;
}

/* ==========================================================================
   PROMO MODAL — clean redesign (light + dark)
   ========================================================================== */
.modal-card.ios-promo-modal {
  overflow: hidden;
}

.modal-card.ios-promo-modal .ios-modal-header {
  border-bottom: 1px solid rgba(60, 60, 67, 0.08) !important;
}

.modal-card.ios-promo-modal .ios-promo-body {
  padding: 18px 20px 22px !important;
  gap: 18px !important;
}

/* Hero */
.modal-card.ios-promo-modal .promo-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.07) 0%, rgba(88, 86, 214, 0.06) 100%);
  border: 1px solid rgba(0, 122, 255, 0.12);
}

.modal-card.ios-promo-modal .promo-hero-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0a84ff 0%, #5856d6 100%);
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.28);
}

.modal-card.ios-promo-modal .promo-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.modal-card.ios-promo-modal .promo-hero-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.modal-card.ios-promo-modal .promo-hero-sub {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Input */
.modal-card.ios-promo-modal .ios-promo-input-card {
  gap: 8px;
}

.modal-card.ios-promo-modal .ios-promo-label {
  padding-left: 2px;
}

.modal-card.ios-promo-modal .ios-promo-input-box {
  height: 52px !important;
  border-radius: 16px !important;
  padding: 0 6px 0 16px !important;
  background: var(--bg-secondary) !important;
  border: 1px solid rgba(60, 60, 67, 0.10) !important;
  box-shadow: none !important;
}

.modal-card.ios-promo-modal .ios-promo-input-box:focus-within {
  background: var(--bg-card);
  border-color: rgba(0, 122, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.14);
}

.modal-card.ios-promo-modal .ios-promo-input-icon {
  color: var(--color-primary-blue);
  margin-right: 10px;
}

.modal-card.ios-promo-modal .ios-promo-text-field {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.modal-card.ios-promo-modal .ios-promo-text-field::placeholder {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
}

/* Bo'sh maydonda miltillovchi oq kursorni yashirish */
.modal-card.ios-promo-modal .ios-promo-text-field {
  caret-color: #007aff;
}
.modal-card.ios-promo-modal .ios-promo-text-field:placeholder-shown {
  caret-color: transparent;
}
body.theme-dark-app .modal-card.ios-promo-modal .ios-promo-text-field {
  caret-color: #7f92ff;
}
body.theme-dark-app .modal-card.ios-promo-modal .ios-promo-text-field:placeholder-shown {
  caret-color: transparent;
}

.modal-card.ios-promo-modal .btn-paste-pill {
  height: 38px !important;
  padding: 0 13px !important;
  gap: 6px !important;
  background: #ffffff !important;
  color: var(--color-primary-blue) !important;
  border: 1px solid rgba(60, 60, 67, 0.09) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.modal-card.ios-promo-modal .promo-input-hint {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding-left: 2px;
}

/* Action */
.modal-card.ios-promo-modal .btn-apply-promo-large {
  height: 52px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #0a84ff 0%, #0062cc 100%) !important;
  box-shadow: 0 6px 18px rgba(0, 122, 255, 0.28) !important;
}

/* Dark theme */
body.theme-dark-app .modal-card.ios-promo-modal .ios-modal-header {
  border-bottom-color: rgba(120, 150, 220, 0.14) !important;
}

body.theme-dark-app .modal-card.ios-promo-modal .promo-hero {
  background: rgba(74, 92, 255, 0.10);
  border-color: rgba(74, 92, 255, 0.20);
}

body.theme-dark-app .modal-card.ios-promo-modal .promo-hero-icon {
  background: linear-gradient(135deg, #4a5cff 0%, #3346f5 100%);
  box-shadow: 0 4px 16px rgba(74, 92, 255, 0.38);
}

body.theme-dark-app .modal-card.ios-promo-modal .promo-hero-title {
  color: #eaf0ff;
}

body.theme-dark-app .modal-card.ios-promo-modal .promo-hero-sub {
  color: #93a2c0;
}

body.theme-dark-app .modal-card.ios-promo-modal .ios-promo-input-box {
  background: #141e34 !important;
  border-color: rgba(120, 150, 220, 0.18) !important;
}

body.theme-dark-app .modal-card.ios-promo-modal .ios-promo-input-box:focus-within {
  background: #081226 !important;
  border-color: #4a5cff !important;
  box-shadow: 0 0 0 3px rgba(74, 92, 255, 0.24) !important;
}

body.theme-dark-app .modal-card.ios-promo-modal .ios-promo-input-icon {
  color: #7f92ff;
}

body.theme-dark-app .modal-card.ios-promo-modal .ios-promo-text-field::placeholder {
  color: #7386a8;
}

body.theme-dark-app .modal-card.ios-promo-modal .btn-paste-pill {
  background: rgba(74, 92, 255, 0.16) !important;
  color: #93a4ff !important;
  border-color: rgba(74, 92, 255, 0.32) !important;
  box-shadow: none !important;
}

body.theme-dark-app .modal-card.ios-promo-modal .promo-input-hint {
  color: #7386a8;
}

body.theme-dark-app .modal-card.ios-promo-modal .btn-apply-promo-large {
  background: linear-gradient(135deg, #4a5cff 0%, #3346f5 100%) !important;
  box-shadow: 0 6px 20px rgba(51, 70, 245, 0.40) !important;
}

/* Small screens */
@media (max-width: 380px) {
  .modal-card.ios-promo-modal .ios-promo-body {
    padding: 16px 16px 20px !important;
    gap: 14px !important;
  }
  .modal-card.ios-promo-modal .promo-hero {
    padding: 12px;
    gap: 11px;
  }
  .modal-card.ios-promo-modal .btn-paste-pill {
    padding: 0 10px;
  }
  .modal-card.ios-promo-modal .btn-paste-pill span {
    display: none;
  }
}

/* ==========================================================================
   GLOBAL CARET FIX — bo'sh inputlarda miltillovchi kursorni yashirish
   ========================================================================== */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
textarea {
  caret-color: #007aff;
}

body.theme-dark-app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
body.theme-dark-app textarea {
  caret-color: #7f92ff;
}

input[data-caret-empty="1"],
textarea[data-caret-empty="1"] {
  caret-color: transparent !important;
}

