/* ═══════════════════════════════════════════════════════════
   Sim Top — Web App (premium panel dizayn)
   ═══════════════════════════════════════════════════════════ */

.hidden { display: none !important; }

/* ─── Tun / Kun rejimi ─── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.15s;
}

.theme-toggle:hover {
  background: var(--card-hover);
  border-color: rgba(99, 102, 241, 0.35);
}

.theme-toggle:active {
  transform: scale(0.97);
}

.theme-toggle .theme-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.theme-toggle-global {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

body.app-mode .theme-toggle-global {
  display: none;
}

.theme-toggle-sidebar {
  width: 100%;
  margin-bottom: 0.65rem;
}

.theme-toggle-compact {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  flex-shrink: 0;
}

.mobile-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

[data-theme="light"] .alert.ok { color: #047857; background: rgba(52, 211, 153, 0.15); }
[data-theme="light"] .alert.err { color: #b91c1c; background: rgba(248, 113, 113, 0.12); }
[data-theme="light"] .alert.info { color: #4338ca; background: rgba(99, 102, 241, 0.1); }
[data-theme="light"] .panel-badge { color: #4338ca; background: rgba(99, 102, 241, 0.1); }
[data-theme="light"] .steps-title { color: #0891b2; }
[data-theme="light"] .server-warn { color: #92400e; background: rgba(251, 191, 36, 0.15); }

/* ─── Login ─── */
#view-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.login-wrap {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  background: var(--card-solid);
}

.login-hero {
  padding: 2.5rem 2rem;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.22) 0%, rgba(34, 211, 238, 0.08) 50%, rgba(7, 11, 20, 0.9) 100%);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-hero .logo {
  margin-bottom: 1.5rem;
}

.login-hero h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.login-hero > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.login-features {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.login-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
}

.login-features li span:first-child {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.login-box {
  padding: 2.25rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-view {
  width: 100%;
}

.auth-view.hidden {
  display: none;
}

.auth-view h1 {
  text-align: center;
}

.auth-view > .sub-login {
  text-align: center;
}

.auth-form {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0.75rem;
}

.auth-row {
  display: grid;
  grid-template-columns: minmax(0, 38%) 1fr;
  gap: 0.65rem 0.75rem;
  align-items: center;
}

.auth-row label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.auth-row input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field input {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.password-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.password-toggle.is-visible {
  color: var(--accent2);
}

[data-theme="light"] .password-toggle:hover {
  background: rgba(15, 23, 42, 0.06);
}

.auth-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.auth-row-link {
  grid-template-columns: 1fr;
  justify-items: end;
  margin-top: -0.35rem;
}

.auth-text-link {
  background: none;
  border: none;
  color: #0891b2;
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0;
  text-decoration: none;
}

.auth-text-link:hover {
  text-decoration: underline;
}

[data-theme="dark"] .auth-text-link {
  color: #22d3ee;
}

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  grid-column: 1 / -1;
  cursor: pointer;
}

.auth-terms input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.auth-terms a {
  color: #0891b2;
}

.btn-auth-submit {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
}

.btn-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8, 145, 178, 0.45);
}

.btn-auth-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.auth-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.auth-alt-block {
  margin-top: 0.5rem;
}

.auth-reset-link {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  font-size: 0.8rem;
  word-break: break-all;
}

.auth-reset-link a {
  color: #0891b2;
}

#telegramLogin {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
}

.link-telegram-banner {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

.link-telegram-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.link-telegram-banner .btn {
  flex-shrink: 0;
}

.login-box h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.login-box > p.sub-login {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.login-divider {
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-box input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.login-hint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.login-hint a {
  color: var(--accent2);
}

.login-hint code {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-size: 0.78rem;
}

.login-error {
  color: #fca5a5;
  font-size: 0.85rem;
  margin-top: 0.65rem;
  min-height: 1.2em;
}

.server-warn {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
  font-size: 0.82rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.5;
}

.login-tg-note {
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  text-align: left;
}

.login-tg-hint {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  text-align: left;
}

.login-tg-hint code {
  font-size: 0.76rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

/* ─── App shell ─── */
#view-app {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.app-sidebar {
  width: 272px;
  flex-shrink: 0;
  background: var(--sidebar-bg);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.app-sidebar .logo {
  padding: 0.75rem 1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
  justify-content: center;
}

.app-sidebar .logo-img {
  height: 88px;
  max-width: 100%;
  width: auto;
  padding: 10px 16px;
  margin: 0 auto;
}

.sidebar-nav-label {
  padding: 0.5rem 1.25rem 0.35rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.balance-pill {
  margin: 0 0.85rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.28);
  position: relative;
  overflow: visible;
  container-type: inline-size;
}

.balance-pill::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.balance-pill small {
  display: block;
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.balance-pill strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 8cqi, 1.22rem);
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: -0.02em;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

.balance-pill strong.balance-compact {
  font-size: clamp(0.82rem, 7cqi, 1.05rem);
  letter-spacing: -0.03em;
}

.balance-pill strong.balance-tiny {
  font-size: clamp(0.72rem, 6cqi, 0.92rem);
  line-height: 1.45;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  margin: 0.15rem 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  width: calc(100% - 1.3rem);
  text-align: left;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0.08));
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.25);
}

.nav-item.active .nav-icon {
  background: linear-gradient(135deg, var(--accent), #818cf8);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.sidebar-footer {
  padding: 1rem 1rem 0.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.sidebar-footer a {
  display: block;
  text-align: center;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}

.sidebar-footer a:hover {
  color: var(--accent2);
}

/* Mobile top bar */
.mobile-topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.85rem 1rem;
  background: var(--sidebar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-topbar .logo {
  font-size: 1rem;
}

.mobile-topbar .logo-img {
  height: 48px;
  max-width: 160px;
  padding: 5px 10px;
}

.mobile-topbar .logo-icon {
  width: 34px;
  height: 34px;
  font-size: 1rem;
}

.mobile-bal {
  font-size: 0.82rem;
  color: var(--accent2);
  font-weight: 600;
  max-width: 52vw;
  line-height: 1.3;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.mobile-bal.balance-compact {
  font-size: 0.72rem;
}

.mobile-bal.balance-tiny {
  font-size: 0.65rem;
}

.app-main {
  flex: 1;
  margin-left: 272px;
  padding: 0 2rem 3rem;
  min-height: 100vh;
  max-width: 960px;
}

/* ─── Page header ─── */
.page-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.page-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.page-header p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 540px;
}

/* ─── Panels & cards ─── */
.panel {
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  transition: background 0.35s, border-color 0.35s;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel h2,
.panel h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel .sub {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.panel-badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
  white-space: nowrap;
}

/* Steps / info */
.steps-box {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.steps-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.steps-box ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.steps-box ol li + li {
  margin-top: 0.35rem;
}

.info-tip {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.15);
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.info-tip strong {
  color: var(--text);
}

/* Service cards (dashboard) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

.service-card {
  text-align: left;
  padding: 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
  color: inherit;
  font: inherit;
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.1));
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.service-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Section blocks */
.section-block {
  margin-bottom: 1.5rem;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.section-icon {
  font-size: 1.5rem;
}

.section-head h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.section-head p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 440px;
}

.form-grid label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.form-grid input,
.form-grid select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-grid input:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.form-grid input::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover,
.chip.active {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.18);
  color: #fff;
}

/* Lists */
.list-grid {
  display: grid;
  gap: 0.55rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.list-grid::-webkit-scrollbar {
  width: 5px;
}

.list-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.list-item:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.06);
}

.list-item.selected {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3);
}

.list-item .name {
  font-size: 0.88rem;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.country-flag-img {
  width: 32px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.country-flag-emoji {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.country-name {
  font-weight: 500;
}

.list-item .name small.muted {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.list-item .price {
  color: var(--accent2);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Raqam olish — TG-Lion uslubida qator */
.phone-order-list {
  display: grid;
  gap: 0.55rem;
  max-height: min(72vh, 680px);
  overflow-y: auto;
  padding-right: 0.2rem;
}

.phone-order-list::-webkit-scrollbar {
  width: 5px;
}

.phone-order-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.phone-order-row {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-order-row:has(.phone-order-body:not(.hidden)) {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.12);
}

.phone-order-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.phone-order-head .name {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.phone-order-head .price {
  color: var(--accent2);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-buy-phone {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.15);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-buy-phone:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.28);
}

.btn-buy-phone:disabled {
  opacity: 0.6;
  cursor: wait;
}

.phone-order-err {
  margin: 0 1rem 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.82rem;
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.phone-order-active {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.phone-order-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.phone-num-copy {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.phone-num-copy:hover {
  border-color: var(--accent2);
  background: rgba(34, 211, 238, 0.08);
}

.phone-order-sum {
  font-size: 0.82rem;
  color: var(--muted);
}

.phone-order-status {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 0.04em;
}

.phone-order-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.phone-copy-hint {
  font-size: 0.72rem;
  color: var(--muted);
}

.phone-copy-hint.copied {
  color: var(--success);
}

.phone-code-panel {
  margin-top: 0.85rem;
}

.phone-code-loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.phone-code-box {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
}

.phone-code-box small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.phone-code-val {
  display: block;
  width: 100%;
  text-align: left;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--success);
  background: transparent;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
}

.phone-2fa-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.phone-2fa-row span {
  color: var(--muted);
}

.phone-2fa-copy {
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.phone-code-wait {
  font-size: 0.85rem;
  color: var(--muted);
}

.phone-code-wait p {
  margin-bottom: 0.65rem;
}

.phone-code-err {
  font-size: 0.85rem;
  color: #fca5a5;
}

[data-theme="light"] .phone-order-row {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .phone-num-copy {
  background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 520px) {
  .phone-order-head {
    flex-wrap: wrap;
  }

  .phone-order-head .price {
    order: 3;
    width: 100%;
    padding-left: 2.5rem;
  }

  .btn-buy-phone {
    margin-left: auto;
  }
}

/* Gift cards */
.gifts-panel {
  padding-bottom: 1.25rem;
}

.gifts-user-row {
  margin-bottom: 1.1rem;
  max-width: 100%;
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-height: min(70vh, 720px);
  overflow-y: auto;
  padding-right: 0.2rem;
}

.gifts-grid::-webkit-scrollbar {
  width: 5px;
}

.gifts-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 210px;
  padding: 1rem 0.85rem 0.9rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s, transform 0.15s;
}

.gift-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.gift-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}

.gift-badge.cheklangan {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
}

.gift-badge.premium {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
}

.gift-emoji {
  font-size: 3.4rem;
  line-height: 1;
  margin: 1.35rem 0 0.55rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.gift-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.gift-sub {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.gift-foot {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.95rem;
}

.gift-price {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 0.22rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gift-price strong {
  display: inline;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.gift-price span {
  font-size: 0.65rem;
  color: var(--muted);
  flex-shrink: 0;
}

.gift-btn {
  flex-shrink: 0;
  min-width: 78px;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.gift-btn:not(.disabled):hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.45);
}

.gift-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

[data-theme="light"] .gift-card {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .gift-btn {
  background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 520px) {
  .gifts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .gift-emoji {
    font-size: 2.8rem;
  }

  .gift-price strong {
    font-size: 0.78rem;
  }

  .gift-price span {
    font-size: 0.58rem;
  }

  .gift-btn {
    min-width: 68px;
    padding: 0.42rem 0.45rem;
    font-size: 0.68rem;
  }
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 0.65rem;
}

.price-row span:first-child {
  font-size: 0.9rem;
}

.price-row code {
  font-size: 0.88rem;
  color: var(--accent2);
  background: rgba(34, 211, 238, 0.08);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
}

/* Alerts */
.alert {
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  margin-top: 1rem;
  line-height: 1.55;
}

.alert.ok {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #6ee7b7;
}

.alert.err {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #fca5a5;
}

.alert.info {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
}

/* Loading */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 0;
  text-align: center;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.stat-card small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat-card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}

.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
}

/* Responsive */
@media (max-width: 860px) {
  .login-wrap {
    grid-template-columns: 1fr;
  }

  .login-hero {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.75rem 1.5rem;
  }

  .auth-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .auth-row-link {
    justify-items: start;
  }
}

@media (max-width: 768px) {
  .app-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
  }

  .app-sidebar.open {
    transform: translateX(0);
  }

  .app-main {
    margin-left: 0;
    padding: 0 1rem 5rem;
    max-width: none;
  }

  .mobile-topbar {
    display: flex;
  }

  .page-header {
    padding: 1.25rem 0 1rem;
  }

  .page-header h1 {
    font-size: 1.35rem;
  }

  .sidebar-toggle {
    display: grid;
    place-items: center;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

body.tg-webapp .app-main {
  padding-top: env(safe-area-inset-top, 0);
}

body.tg-webapp .mobile-topbar {
  padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
}

/* ─── Yangi: bot bilan mos dizayn ─── */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.login-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent2);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.sidebar-quick {
  padding: 0.35rem 0.65rem 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.sidebar-quick-btn {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border-radius: 11px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.sidebar-quick-btn:hover {
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--text);
  background: rgba(99, 102, 241, 0.08);
}

.stat-card .status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--success);
}

.stat-card .status-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s infinite;
}

.dashboard-welcome {
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(249, 115, 22, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-welcome h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.dashboard-welcome p {
  font-size: 0.85rem;
  color: var(--muted);
}

.dashboard-welcome .welcome-tag {
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--accent2);
  white-space: nowrap;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.25s;
}

.service-card:hover::before {
  opacity: 1;
}

.referral-box {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 1rem;
}

.referral-link-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.referral-link-row input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.85rem;
}

.referral-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.referral-stat {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.referral-stat small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.referral-stat strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.app-main {
  max-width: 1040px;
}

.topup-method-row {
  display: flex;
  gap: 0.65rem;
  margin: 1rem 0;
}

.topup-method {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.topup-method.active {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.12);
}

.field-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.topup-amount-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
}

.topup-active .topup-timer {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.topup-copy-block {
  margin: 0.85rem 0;
}

.topup-copy-block label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.topup-copy-val {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed var(--accent);
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent2);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.topup-copy-val:hover {
  background: rgba(99, 102, 241, 0.14);
}

.topup-owner {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.topup-copy-hint {
  min-height: 1.2rem;
  font-size: 0.85rem;
  color: var(--accent2);
}

.topup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.topup-actions .btn {
  flex: 1;
  min-width: 140px;
}

.topup-waiting {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--accent2);
  font-size: 0.9rem;
}

.topup-waiting-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  animation: topupPulse 1.2s ease-in-out infinite;
}

@keyframes topupPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.topup-active.topup-success {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15);
}

.balance-flash {
  animation: balanceFlash 1.2s ease;
}

@keyframes balanceFlash {
  0% { color: #4ade80; transform: scale(1.04); }
  100% { color: inherit; transform: scale(1); }
}

.partner-quote {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(99, 102, 241, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.partner-discount-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.partner-discount-list li {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
}

.partner-endpoints {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.partner-endpoints small {
  display: block;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.partner-endpoints ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.partner-endpoints code {
  font-size: 0.78rem;
  word-break: break-all;
}

.partner-url code {
  font-size: 0.82rem;
  word-break: break-all;
}

.partner-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.partner-cat-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.partner-cat-btn:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.partner-cat-emoji {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.partner-cat-btn strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.partner-cat-btn small {
  color: var(--muted);
  font-size: 0.78rem;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.partner-back {
  margin-bottom: 0.25rem;
}

.partner-discount-line {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.partner-lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
