/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GoLiveTranslate — Premium UI
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #070710;
  --surface:  #0c0c1a;
  --surface2: #111122;
  --surface3: #181828;
  --border:   rgba(255,255,255,0.055);
  --border2:  rgba(255,255,255,0.1);
  --accent:   #4d85fe;
  --accent2:  #4d85fe;
  --success:  #0ea872;
  --danger:   #f04060;
  --text:     #eeeef8;
  --muted:    #48486a;
  --male:     #4d85fe;
  --female:   #e060a8;
}

html, body {
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SCREENS ── */
.screen {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  overflow-y: auto;
  background: var(--bg);
  transform: translateX(100%); opacity: 0;
  transition: transform 0.30s cubic-bezier(0.32,0,0.16,1), opacity 0.25s ease;
  pointer-events: none;
}
.screen.active   { transform: translateX(0); opacity: 1; pointer-events: all; }
.screen.slide-out { transform: translateX(-22%); opacity: 0; pointer-events: none; }

/* ── SPLASH ── */
.splash {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg); z-index: 9999; gap: 32px;
}
.splash-logo {
  opacity: 0;
  animation: splashFadeIn 0.5s 0.15s ease forwards;
}
@keyframes splashFadeIn { from{opacity:0;transform:scale(0.93)} to{opacity:1;transform:scale(1)} }
.splash-spinner {
  width: 18px; height: 18px;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.85s 0.5s linear infinite, fadeIn 0.3s 0.5s ease forwards;
}
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes fadeIn  { from{opacity:0} to{opacity:0.55} }

.hidden { display: none !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AUTH
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.auth-wrap {
  flex: 1; display: flex;
  align-items: center; justify-content: center;
  padding: 32px 24px; position: relative;
}
.auth-glow { display: none; }

.auth-box { width: 100%; max-width: 380px; }

.auth-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 6px;
}
.logo-icon {
  width: 40px; height: 40px; border-radius: 11px;
  overflow: hidden; object-fit: cover; flex-shrink: 0;
}
.logo-icon.sm { width: 28px; height: 28px; border-radius: 8px; }

h1 {
  font-family: 'Syne', sans-serif;
  font-size: 23px; font-weight: 800; letter-spacing: -0.3px;
  background: linear-gradient(150deg, #ffffff 45%, rgba(255,255,255,0.5));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700;
}

.auth-sub {
  text-align: center; font-size: 13px; color: var(--muted);
  margin-bottom: 32px; letter-spacing: 0.1px;
}

.auth-tabs {
  display: flex; background: var(--surface);
  border: 1px solid var(--border); border-radius: 11px;
  padding: 4px; gap: 4px; margin-bottom: 28px;
}
.auth-tab {
  flex: 1; padding: 10px; border: none; border-radius: 8px;
  background: none; color: var(--muted);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.18s;
}
.auth-tab.active {
  background: var(--surface2); color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 10px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.9px;
  text-transform: uppercase; margin-bottom: 8px;
}
.form-input {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: 11px;
  padding: 15px 18px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 15px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: rgba(77,133,254,0.42);
  box-shadow: 0 0 0 3px rgba(77,133,254,0.07);
}
.form-input::placeholder { color: var(--muted); opacity: 0.65; }

.input-wrap { position: relative; }
.input-wrap .form-input { padding-right: 48px; }
.input-eye {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: var(--muted); padding: 4px;
  opacity: 0.7; transition: opacity 0.15s;
}
.input-eye:hover { opacity: 1; }

.auth-forgot { text-align: right; margin-bottom: 20px; margin-top: -8px; }
.auth-forgot button {
  background: none; border: none; color: var(--accent);
  font-size: 13px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; opacity: 0.75;
  transition: opacity 0.15s;
}
.auth-forgot button:hover { opacity: 1; }

.btn-auth {
  width: 100%; padding: 16px;
  background: var(--accent); border: none; border-radius: 11px;
  color: white; font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.2px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-auth:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(77,133,254,0.22); }
.btn-auth:active { transform: translateY(0); box-shadow: none; }
.btn-auth:disabled { opacity: 0.38; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-back {
  width: 100%; padding: 12px; background: none; border: none;
  color: var(--muted); font-family: 'DM Sans', sans-serif;
  font-size: 14px; cursor: pointer; margin-top: 8px; transition: color 0.15s;
}
.btn-back:hover { color: var(--text); }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0; color: var(--muted); font-size: 12px; letter-spacing: 0.2px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.social-btns { display: flex; flex-direction: column; gap: 10px; }
.btn-social {
  width: 100%; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 11px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.18s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-social:hover { border-color: var(--border2); background: var(--surface2); }

.auth-msg {
  border-radius: 10px; padding: 12px 14px;
  font-size: 13px; margin-top: 14px;
  display: flex; align-items: center; gap: 8px; line-height: 1.5;
}
.auth-msg.success { background: rgba(14,168,114,0.08); border: 1px solid rgba(14,168,114,0.2); color: #5ddba8; }
.auth-msg.error   { background: rgba(240,64,96,0.08);  border: 1px solid rgba(240,64,96,0.2);  color: #f47090; }
.auth-msg.info    { background: rgba(77,133,254,0.08);  border: 1px solid rgba(77,133,254,0.2);  color: #85aeff; }

.auth-footer { text-align: center; margin-top: 28px; font-size: 12px; color: var(--muted); }
.reset-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }

/* ── VERIFY ── */
.verify-title { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.verify-desc  { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.verify-desc strong { color: var(--text); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOPBARS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  padding-top: max(14px, env(safe-area-inset-top));
  background: var(--bg); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.topbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: -0.2px;
}
.topbar-right { display: flex; align-items: center; gap: 8px; }

.user-chip {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700;
  cursor: pointer; color: var(--text);
}
.icon-btn {
  background: none; border: none; color: var(--muted);
  font-size: 20px; cursor: pointer; padding: 4px 6px;
  border-radius: 8px; transition: color 0.15s;
}
.icon-btn:hover { color: var(--text); }

/* ── ADMIN BADGE ── */
.admin-badge {
  background: rgba(240,64,96,0.1); border: 1px solid rgba(240,64,96,0.22);
  color: #f47090; font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; letter-spacing: 1px;
  font-family: 'DM Sans', sans-serif;
}

/* ── USER MENU ── */
.user-menu {
  position: fixed; top: 58px; right: 16px;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 14px; padding: 6px; min-width: 210px;
  z-index: 100; box-shadow: 0 20px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}
.user-menu-info { display: flex; align-items: center; gap: 10px; padding: 10px 10px 14px; }
.user-menu-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface3); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.user-menu-name  { font-size: 13px; font-weight: 600; }
.user-menu-email { font-size: 11px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.user-menu-divider { height: 1px; background: var(--border); margin: 4px 0; }
.user-menu-item {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--text); padding: 9px 10px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  cursor: pointer; border-radius: 8px; transition: background 0.12s;
  display: flex; align-items: center; gap: 10px;
}
.user-menu-item svg { flex-shrink: 0; opacity: 0.75; }
.user-menu-item:hover { background: var(--surface3); }
.user-menu-item.danger { color: #f47090; }

/* ── SUB-TOPBAR ── */
.sub-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  padding-top: max(14px, env(safe-area-inset-top));
  background: var(--bg); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.back-btn {
  background: none; border: none; color: var(--text);
  font-size: 26px; cursor: pointer; padding: 0 8px; line-height: 1;
  opacity: 0.6; transition: opacity 0.15s;
}
.back-btn:hover { opacity: 1; }
.sub-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.clear-btn {
  background: none; border: none; color: var(--danger);
  font-size: 13px; cursor: pointer; font-family: 'DM Sans', sans-serif;
  padding: 6px 10px; opacity: 0.7; transition: opacity 0.15s;
}
.clear-btn:hover { opacity: 1; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOME
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── LIQUID BACKGROUND ── */
.liquid-bg {
  position: fixed; inset: 0; overflow: hidden;
  z-index: 0; pointer-events: none;
}
.liquid-blob {
  position: absolute; border-radius: 50%;
  filter: blur(64px); opacity: 0.32; will-change: transform;
}
.liquid-blob-1 {
  width: 380px; height: 380px; top: -140px; left: -120px;
  background: radial-gradient(circle at 30% 30%, #4d85fe, rgba(77,133,254,0) 70%);
  animation: liquidFloat1 20s ease-in-out infinite;
}
.liquid-blob-2 {
  width: 340px; height: 340px; top: 18%; right: -150px;
  background: radial-gradient(circle at 60% 40%, #8b5cf6, rgba(139,92,246,0) 70%);
  animation: liquidFloat2 24s ease-in-out infinite;
}
.liquid-blob-3 {
  width: 300px; height: 300px; bottom: -120px; left: 12%;
  background: radial-gradient(circle at 50% 50%, #22d3ee, rgba(34,211,238,0) 70%);
  animation: liquidFloat3 28s ease-in-out infinite;
}
.liquid-grain { position: absolute; inset: 0; backdrop-filter: blur(0.3px); }
@keyframes liquidFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(50px,70px) scale(1.12); }
  66%     { transform: translate(-30px,25px) scale(0.94); }
}
@keyframes liquidFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-60px,50px) scale(1.1); }
}
@keyframes liquidFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-45px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .liquid-blob { animation: none !important; }
}

.home-content {
  padding: 28px 20px 52px;
  max-width: 480px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}

.home-greeting { margin-bottom: 32px; animation: fadeSlideUp 0.55s ease both; }
.greeting-label {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1.2px;
  display: flex; align-items: center; gap: 6px;
}
.greeting-label::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 6px rgba(14,168,114,0.6);
}
.greeting-name {
  font-family: 'Syne', sans-serif;
  font-size: 38px; font-weight: 800;
  margin-top: 4px; letter-spacing: -1.5px; line-height: 1;
  background: linear-gradient(135deg, var(--text) 45%, #9db8ff 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── STATUS CARD ── */
.status-card {
  background: linear-gradient(155deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: fadeSlideUp 0.55s 0.08s ease both;
}
.status-card-left { display: flex; align-items: center; gap: 12px; }
.pulse-ring {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--muted); flex-shrink: 0; transition: all 0.3s;
}
.pulse-ring.active {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(14,168,114,0.12);
  animation: pulseGreen 2.5s ease-in-out infinite;
}
@keyframes pulseGreen {
  0%,100% { box-shadow: 0 0 0 3px rgba(14,168,114,0.12); }
  50%      { box-shadow: 0 0 0 7px rgba(14,168,114,0.04); }
}
.status-label { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; }
.status-card-right { font-size: 12px; color: var(--muted); text-align: right; max-width: 160px; line-height: 1.4; }

/* ── NAV CARDS ── */
.nav-cards { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; animation: fadeSlideUp 0.55s 0.16s ease both; }
.nav-card {
  background: linear-gradient(155deg, rgba(255,255,255,0.032), rgba(255,255,255,0.008));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  color: var(--text); font-family: 'DM Sans', sans-serif; text-align: left;
}
.nav-card:hover {
  border-color: rgba(77,133,254,0.28); background: var(--surface2);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.nav-card-dashed { border-style: dashed; }
.nav-card-icon {
  font-size: 17px; flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; color: var(--accent);
  background: linear-gradient(155deg, rgba(77,133,254,0.16), rgba(77,133,254,0.03));
  border: 1px solid rgba(77,133,254,0.16);
}
.nav-card-icon svg { width: 18px; height: 18px; }
.nav-card-body { flex: 1; min-width: 0; }
.nav-card-title { font-size: 14px; font-weight: 500; }
.nav-card-sub   { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav-card-badge {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); opacity: 0; transition: opacity 0.3s; flex-shrink: 0;
}
.nav-card-badge.visible { opacity: 1; }
.nav-card-arrow { font-size: 16px; color: var(--muted); flex-shrink: 0; line-height: 1; opacity: 0.5; }

/* ── BTN START ── */
.btn-start {
  width: 100%; padding: 18px;
  background: linear-gradient(120deg, #4d85fe 0%, #6c5ce7 50%, #4d85fe 100%);
  background-size: 220% 220%;
  border: none; border-radius: 16px;
  color: white; font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s; letter-spacing: 0.3px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 28px rgba(77,133,254,0.24), inset 0 1px 0 rgba(255,255,255,0.16);
  animation: fadeSlideUp 0.55s 0.24s ease both, liquidShimmer 7s ease infinite;
}
.btn-start:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(77,133,254,0.3), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-start:active:not(:disabled) { transform: translateY(0); }
.btn-start:disabled { opacity: 0.22; cursor: not-allowed; animation: none; }
@keyframes liquidShimmer {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .home-greeting, .status-card, .nav-cards, .btn-start { animation: none !important; }
}

.btn-start-dot { width: 7px; height: 7px; background: rgba(255,255,255,0.35); border-radius: 50%; }
.btn-start:not(:disabled) .btn-start-dot {
  background: #ff4444; box-shadow: 0 0 6px rgba(255,68,68,0.7);
  animation: blink 1s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.15} }

.status-bar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 11px; padding: 12px 16px; margin-top: 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--muted); transition: all 0.3s; line-height: 1.4;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted); flex-shrink: 0; transition: all 0.3s;
}
.status-bar.loading .status-dot { background: var(--accent); animation: pulse 0.8s infinite; }
.status-bar.success .status-dot { background: var(--success); box-shadow: 0 0 8px rgba(14,168,114,0.5); }
.status-bar.success { border-color: rgba(14,168,114,0.2); color: #5ddba8; }
.status-bar.error   .status-dot { background: var(--danger); }
.status-bar.error   { border-color: rgba(240,64,96,0.2); color: #f47090; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.35;transform:scale(1.5)} }

/* ── GENERIC BUTTONS ── */
.btn-primary {
  width: 100%; padding: 15px;
  background: var(--accent); border: none; border-radius: 11px;
  color: white; font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(77,133,254,0.2); }

.btn-danger {
  width: 100%; padding: 14px;
  background: rgba(240,64,96,0.06); border: 1px solid rgba(240,64,96,0.18);
  border-radius: 11px; color: #f47090;
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.18s; margin-top: 8px;
}
.btn-danger:hover { background: rgba(240,64,96,0.11); }

/* ── SUB CONTENT ── */
.sub-content { padding: 24px 20px 52px; max-width: 480px; margin: 0 auto; width: 100%; }
.sub-desc    { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }

/* ── INFO BOX ── */
.info-box {
  background: rgba(77,133,254,0.04); border: 1px solid rgba(77,133,254,0.13);
  border-radius: 11px; padding: 13px 16px;
  font-size: 13px; color: #7aa5ff;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.55; margin-bottom: 8px;
}
.info-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   VOICE CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.voice-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.voice-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: 18px 20px;
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  text-align: left; width: 100%;
}
.voice-card:hover { border-color: var(--border2); background: var(--surface2); }
.voice-card.active-male   { border-color: rgba(77,133,254,0.5); background: rgba(77,133,254,0.04); }
.voice-card.active-female { border-color: rgba(224,96,168,0.5); background: rgba(224,96,168,0.04); }

.voice-card-avatar {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.voice-card-avatar.male   { background: rgba(77,133,254,0.09); }
.voice-card-avatar.female { background: rgba(224,96,168,0.09); }
.voice-card-body { flex: 1; }
.voice-card-name   { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; }
.voice-card-detail { font-size: 12px; color: var(--muted); margin-top: 3px; }
.voice-card-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface3); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: transparent; transition: all 0.18s; flex-shrink: 0;
}
.voice-card.active-male   .voice-card-check { background: var(--male);   border-color: var(--male);   color: white; }
.voice-card.active-female .voice-card-check { background: var(--female); border-color: var(--female); color: white; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LANGUAGE GRID
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.region-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.region-tab {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 12px;
  font-size: 12px; cursor: pointer; color: var(--muted);
  transition: all 0.15s; font-family: 'DM Sans', sans-serif; white-space: nowrap;
}
.region-tab:hover { border-color: var(--border2); color: var(--text); }
.region-tab.active { background: rgba(77,133,254,0.08); border-color: rgba(77,133,254,0.38); color: var(--accent); }

.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lang-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: 14px 8px 12px;
  cursor: pointer; transition: all 0.15s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 500; position: relative;
}
.lang-btn:hover { border-color: var(--border2); background: var(--surface2); }
.lang-btn.active { border-color: rgba(77,133,254,0.45); background: rgba(77,133,254,0.06); }
.lang-btn.active::after { content: '✓'; position: absolute; top: 5px; right: 7px; font-size: 9px; color: var(--accent); font-weight: 700; }
.lang-btn.hidden { display: none; }
.flag-img { width: 36px; height: 24px; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HISTORY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.history-list { display: flex; flex-direction: column; gap: 7px; }
.history-empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.history-empty-icon { font-size: 34px; margin-bottom: 16px; opacity: 0.5; }
.history-empty p { font-size: 15px; font-weight: 500; color: var(--text); opacity: 0.6; }
.history-empty-sub { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.history-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  animation: fadeSlide 0.22s ease;
}
@keyframes fadeSlide { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
.history-flag { font-size: 22px; }
.history-info { flex: 1; }
.history-lang { font-size: 14px; font-weight: 500; }
.history-time { font-size: 11px; color: var(--muted); margin-top: 2px; }
.history-voice {
  font-size: 10px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 8px; color: var(--muted);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SETTINGS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.settings-section { margin-bottom: 28px; }
.settings-label {
  font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.settings-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; overflow: hidden;
}
.settings-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
}
.settings-row-title { font-size: 14px; font-weight: 500; }
.settings-row-value { font-size: 13px; color: var(--muted); }
.settings-row-sub   { font-size: 12px; color: var(--muted); margin-top: 2px; }
.settings-divider   { height: 1px; background: var(--border); margin: 0 16px; }
.settings-action-btn {
  background: rgba(77,133,254,0.07); border: 1px solid rgba(77,133,254,0.18);
  border-radius: 7px; padding: 6px 13px;
  font-size: 12px; color: var(--accent); cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.15s; flex-shrink: 0;
}
.settings-action-btn:hover { background: rgba(77,133,254,0.13); }
.settings-action-btn:disabled { opacity: 0.38; cursor: not-allowed; }
.settings-input {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 12px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 13px; outline: none;
}
.settings-input:focus { border-color: rgba(77,133,254,0.38); }

/* ── PHONE ── */
.phone-value { font-size: 15px !important; font-weight: 600 !important; color: var(--text) !important; font-family: 'Syne', sans-serif; letter-spacing: 0.3px; }
.phone-input-row {
  display: flex; align-items: center;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; transition: border-color 0.2s;
}
.phone-input-row:focus-within { border-color: rgba(77,133,254,0.38); box-shadow: 0 0 0 3px rgba(77,133,254,0.06); }
.phone-prefix { padding: 12px 4px 12px 14px; font-size: 15px; color: var(--muted); user-select: none; }
.phone-field {
  flex: 1; background: transparent; border: none; border-radius: 0;
  padding: 12px 14px 12px 4px; font-size: 15px; color: var(--text);
  font-family: 'DM Sans', sans-serif; outline: none; box-shadow: none !important;
}
.phone-field::placeholder { color: var(--muted); opacity: 0.6; }
.phone-hint { font-size: 11px; color: var(--muted); margin-top: 7px; line-height: 1.4; }

.btn-save-phone {
  margin-top: 10px; width: 100%; padding: 11px 16px;
  background: var(--accent); border: none; border-radius: 10px;
  color: white; font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.btn-save-phone:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(77,133,254,0.2); }

.phone-save-msg { border-radius: 10px; padding: 11px 14px; font-size: 13px; margin-top: 10px; line-height: 1.5; }
.phone-save-msg.success { background: rgba(14,168,114,0.08); border: 1px solid rgba(14,168,114,0.2); color: #5ddba8; }
.phone-save-msg.error   { background: rgba(240,64,96,0.08);  border: 1px solid rgba(240,64,96,0.2);  color: #f47090; }

.phone-instructions {
  display: flex; gap: 12px;
  background: rgba(77,133,254,0.04); border: 1px solid rgba(77,133,254,0.12);
  border-radius: 13px; padding: 16px; margin-top: 16px;
}
.phone-instr-icon  { font-size: 22px; flex-shrink: 0; }
.phone-instr-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.phone-instr-list  { margin: 0; padding-left: 16px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.phone-instr-list strong { color: var(--text); font-weight: 600; }

/* ── OUTBOUND ── */
.outbound-hero { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; }
.outbound-hero-icon  { font-size: 26px; flex-shrink: 0; }
.outbound-hero-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.outbound-hero-sub   { font-size: 13px; color: var(--muted); line-height: 1.6; }
.outbound-config-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 12px 16px; }
.outbound-config-item { flex: 1; }
.outbound-config-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }
.outbound-config-val   { font-size: 14px; font-weight: 600; margin-top: 2px; display: block; }
.outbound-sep { color: var(--muted); font-size: 16px; opacity: 0.5; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ACTIVE CALL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.active-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  padding-top: max(16px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--border);
}

.active-live-pill {
  display: flex; align-items: center; gap: 7px;
  background: rgba(14,168,114,0.07); border: 1px solid rgba(14,168,114,0.18);
  border-radius: 20px; padding: 5px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700; color: #5ddba8; letter-spacing: 2px;
}
.active-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); animation: liveBlink 1.8s ease-in-out infinite;
}
@keyframes liveBlink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.active-duration {
  font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800;
  letter-spacing: -0.5px; font-variant-numeric: tabular-nums;
}

.active-content {
  flex: 1; overflow-y: auto;
  padding: 20px 20px 0;
  max-width: 480px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; gap: 14px;
}

.active-langs {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.active-lang-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 8px 16px;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
}
.active-lang-flag { font-size: 17px; }
.active-arrows    { font-size: 18px; color: var(--muted); opacity: 0.4; }

/* Wave Visualization */
.active-wave-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 20px; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.active-wave { display: flex; align-items: center; gap: 3px; height: 52px; }
.wave-bar {
  width: 3px; border-radius: 99px;
  background: var(--muted); height: 5px; transition: background 0.3s;
}

/* Animate when active (JS adds .active class) */
.active-wave.active .wave-bar {
  background: var(--accent);
  animation: waveAnim 1.0s ease-in-out infinite;
}
.active-wave.active .wave-bar:nth-child(1)  { animation-delay: 0.00s; }
.active-wave.active .wave-bar:nth-child(2)  { animation-delay: 0.09s; }
.active-wave.active .wave-bar:nth-child(3)  { animation-delay: 0.18s; }
.active-wave.active .wave-bar:nth-child(4)  { animation-delay: 0.27s; }
.active-wave.active .wave-bar:nth-child(5)  { animation-delay: 0.12s; }
.active-wave.active .wave-bar:nth-child(6)  { animation-delay: 0.03s; }
.active-wave.active .wave-bar:nth-child(7)  { animation-delay: 0.21s; }
.active-wave.active .wave-bar:nth-child(8)  { animation-delay: 0.30s; }
.active-wave.active .wave-bar:nth-child(9)  { animation-delay: 0.15s; }
.active-wave.active .wave-bar:nth-child(10) { animation-delay: 0.06s; }
.active-wave.active .wave-bar:nth-child(11) { animation-delay: 0.24s; }
.active-wave.active .wave-bar:nth-child(12) { animation-delay: 0.33s; }

@keyframes waveAnim {
  0%,100% { height:  4px; }
  15%      { height: 28px; }
  35%      { height: 12px; }
  55%      { height: 44px; }
  75%      { height: 18px; }
}

.active-wave-label { font-size: 12px; color: var(--muted); text-align: center; letter-spacing: 0.2px; }

/* Transcript */
.transcript-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  flex: 1; min-height: 160px; max-height: 220px;
  display: flex; flex-direction: column;
}
.transcript-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
}
.transcript-label { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.transcript-clear { background: none; border: none; font-size: 11px; color: var(--muted); cursor: pointer; font-family: 'DM Sans', sans-serif; opacity: 0.7; transition: opacity 0.15s; }
.transcript-clear:hover { opacity: 1; }

.transcript-feed {
  flex: 1; overflow-y: auto; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth;
}
.transcript-empty { font-size: 13px; color: var(--muted); text-align: center; padding: 20px 0; opacity: 0.6; }

.transcript-block { display: flex; flex-direction: column; gap: 2px; animation: fadeSlide 0.2s ease; }
.transcript-block.left  { align-items: flex-start; }
.transcript-block.right { align-items: flex-end; }
.transcript-who  { font-size: 10px; color: var(--muted); font-weight: 500; }
.transcript-text {
  font-size: 13px; color: var(--muted);
  background: var(--surface2); border-radius: 9px;
  padding: 6px 10px; max-width: 88%; line-height: 1.5;
  border: 1px solid var(--border); transition: color 0.2s;
}
.transcript-block.final .transcript-text { color: var(--text); border-color: var(--border2); }

/* Translation Box */
.translation-box {
  background: rgba(77,133,254,0.04); border: 1px solid rgba(77,133,254,0.16);
  border-radius: 13px; padding: 14px 16px; transition: all 0.3s;
}
.translation-box.flash { animation: translationFlash 0.4s ease; }
@keyframes translationFlash {
  0%   { border-color: rgba(77,133,254,0.55); background: rgba(77,133,254,0.12); }
  100% { border-color: rgba(77,133,254,0.16); background: rgba(77,133,254,0.04); }
}
.translation-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
.translation-from  { font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--accent); }
.translation-badge {
  font-size: 9px; background: rgba(77,133,254,0.1); border: 1px solid rgba(77,133,254,0.2);
  border-radius: 4px; padding: 2px 7px; color: var(--accent); font-weight: 700; letter-spacing: 0.5px;
}
.translation-text { font-size: 15px; color: var(--text); line-height: 1.6; font-weight: 500; }

/* Hangup */
.active-hangup-wrap {
  padding: 16px 20px 32px;
  background: linear-gradient(to top, var(--bg) 62%, transparent);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  max-width: 480px; margin: 0 auto; width: 100%;
}
.active-connection-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.conn-dot { width: 6px; height: 6px; border-radius: 50%; }
.conn-dot.connected    { background: var(--success); box-shadow: 0 0 5px rgba(14,168,114,0.5); }
.conn-dot.disconnected { background: var(--danger); animation: blink 0.8s infinite; }

.btn-hangup {
  width: 100%; padding: 16px;
  background: rgba(240,64,96,0.07); border: 1px solid rgba(240,64,96,0.22);
  border-radius: 13px; color: #f47090;
  font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-hangup:hover { background: rgba(240,64,96,0.13); border-color: rgba(240,64,96,0.4); }
.hangup-icon { font-size: 18px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PLANS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.billing-toggle-wrap {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 16px;
}
.billing-opt { font-size: 13px; color: var(--muted); }
.billing-opt.active { color: var(--text); font-weight: 500; }
.billing-save-badge {
  background: rgba(14,168,114,0.1); color: var(--success);
  font-size: 10px; padding: 1px 6px; border-radius: 4px; font-weight: 700;
}
.billing-toggle { position: relative; display: inline-block; width: 34px; height: 19px; }
.billing-toggle input { opacity: 0; width: 0; height: 0; }
.billing-slider { position: absolute; inset: 0; background: var(--surface2); border: 1px solid var(--border2); border-radius: 20px; cursor: pointer; transition: 0.2s; }
.billing-slider:before { content: ''; position: absolute; width: 13px; height: 13px; left: 2px; top: 2px; background: var(--muted); border-radius: 50%; transition: 0.2s; }
.billing-toggle input:checked + .billing-slider { background: rgba(77,133,254,0.14); border-color: var(--accent); }
.billing-toggle input:checked + .billing-slider:before { transform: translateX(15px); background: var(--accent); }

.plans-grid { display: flex; flex-direction: column; gap: 12px; }
.plan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px; position: relative; transition: border-color 0.2s;
}
.plan-card-popular { border-color: rgba(77,133,254,0.35); }
.plan-card-current { border-color: rgba(14,168,114,0.35); }

.plan-popular-badge {
  position: absolute; top: -10px; left: 20px;
  background: var(--accent); color: white;
  font-size: 10px; font-weight: 700; padding: 3px 11px;
  border-radius: 20px; font-family: 'Syne', sans-serif; letter-spacing: 0.3px;
}
.plan-current-badge {
  position: absolute; top: -10px; left: 20px;
  background: var(--success); color: white;
  font-size: 10px; font-weight: 700; padding: 3px 11px;
  border-radius: 20px; font-family: 'Syne', sans-serif; letter-spacing: 0.3px;
}

.plan-name  { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.2px; }
.plan-price-wrap { display: flex; align-items: baseline; gap: 2px; margin-bottom: 2px; }
.plan-price  { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.plan-period { font-size: 13px; color: var(--muted); }
.plan-annual-note { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.plan-mins   { font-size: 12px; color: var(--accent); margin-bottom: 14px; font-weight: 500; letter-spacing: 0.2px; }

.plan-features { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 7px; }
.plan-feature  { font-size: 13px; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; }
.plan-check    { color: var(--success); font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.plan-extra    { font-size: 11px; color: var(--muted); margin-bottom: 16px; }

.btn-plan-select {
  width: 100%; padding: 13px;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 10px; color: var(--text);
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.18s;
}
.btn-plan-select:hover { background: var(--surface3); }
.btn-plan-popular {
  background: var(--accent); border-color: transparent; color: white;
  box-shadow: 0 6px 20px rgba(77,133,254,0.2);
}
.btn-plan-popular:hover { box-shadow: 0 8px 24px rgba(77,133,254,0.3); transform: translateY(-1px); }
.btn-plan-manage {
  width: 100%; padding: 13px;
  background: rgba(14,168,114,0.07); border: 1px solid rgba(14,168,114,0.2);
  border-radius: 10px; color: #5ddba8;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.18s;
}
.btn-plan-manage:hover { background: rgba(14,168,114,0.12); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MINUTES + TEAM
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.minutes-bar-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
}
.minutes-bar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.minutes-bar-title { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }
.minutes-bar-label { font-size: 12px; font-weight: 600; color: var(--text); }
.minutes-bar-track { height: 3px; background: var(--surface2); border-radius: 99px; overflow: hidden; }
.minutes-bar-fill  { height: 100%; border-radius: 99px; background: var(--accent); transition: width 0.6s ease; }

.minutes-warning-banner {
  background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.18);
  border-radius: 11px; padding: 11px 14px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-size: 12px; color: #fbbf24; line-height: 1.4;
}

.nav-card-team { margin-bottom: 10px; }

.team-member-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.team-member-row:last-child { border-bottom: none; }
.team-member-row.pending { opacity: 0.45; }
.team-member-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text); flex-shrink: 0;
}
.team-member-info { flex: 1; min-width: 0; }
.team-member-name  { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.team-member-email { font-size: 11px; color: var(--muted); }
.team-owner-badge  { background: rgba(77,133,254,0.09); color: var(--accent); font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 20px; letter-spacing: 0.5px; }
.team-remove-btn   { background: rgba(240,64,96,0.06); border: 1px solid rgba(240,64,96,0.16); color: #f47090; font-size: 11px; padding: 4px 10px; border-radius: 7px; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: background 0.15s; }
.team-remove-btn:hover { background: rgba(240,64,96,0.12); }

.extra-bundles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.bundle-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: 18px 10px;
  text-align: center; cursor: pointer; transition: all 0.18s;
}
.bundle-card:hover { border-color: rgba(77,133,254,0.35); background: rgba(77,133,254,0.03); }
.bundle-minutes { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; margin-bottom: 5px; }
.bundle-price   { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 2px; }
.bundle-per-min { font-size: 10px; color: var(--muted); }

/* Danger button override for full-width context */
.btn-danger {
  width: 100%; padding: 14px;
  background: rgba(240,64,96,0.06); border: 1px solid rgba(240,64,96,0.18);
  border-radius: 11px; color: #f47090;
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.18s;
}
.btn-danger:hover { background: rgba(240,64,96,0.11); }
