/* ==========================================================================
   Taekwondo WT Matonat Team — dizayn tizimi
   Ranglar klub logosidan olingan: qirol ko'ki, oq, qizil va yashil aksentlar.
   ========================================================================== */
@import url("fonts.be536204fffc.css");   /* shriftlar loyihada — internet talab qilmaydi */

:root {
  /* Fon — logo ko'kining chuqurlashtirilgan tunggi varianti */
  --bg-primary: #060917;
  --bg-secondary: #0B1024;
  --bg-surface: #121838;
  --bg-surface-glass: rgba(18, 24, 56, 0.72);

  /* Asosiy brend rangi — logo halqasining qirol ko'ki */
  --brand: #2436A7;
  --brand-bright: #3D55DE;
  --brand-hover: #4A63EE;
  --brand-glow: rgba(61, 85, 222, 0.35);
  --brand-translucent: rgba(61, 85, 222, 0.12);

  /* Logodagi qizil (UA harflari, dobok) va yashil (A harfi) */
  --accent-red: #E23A2E;
  --accent-green: #16A34A;
  --gold: #F0C040;

  --text-primary: #FFFFFF;
  --text-secondary: #A6ADCB;
  --text-muted: #5C6488;
  --border-color: rgba(255, 255, 255, 0.08);

  --status-present: #10B981;
  --status-absent: #EF4444;
  --status-late: #F59E0B;
  --status-present-glass: rgba(16, 185, 129, 0.15);
  --status-absent-glass: rgba(239, 68, 68, 0.15);
  --status-late-glass: rgba(245, 158, 11, 0.15);

  --font-display: 'Montserrat', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 15px var(--brand-glow);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-surface); border-radius: var(--radius-sm); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-bright); }

/* ── Layout ── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.text-accent { color: var(--brand-bright); }
.text-red { color: var(--accent-red); }
.text-glow { text-shadow: 0 0 12px var(--brand-glow); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.muted { color: var(--text-secondary); font-size: .88rem; }
.small { font-size: .78rem; color: var(--text-muted); }
.flex { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 1.5rem; }

/* ── Karta ── */
.card-glass {
  background: linear-gradient(135deg, rgba(18, 24, 56, .75) 0%, rgba(11, 16, 36, .85) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}
.card-glass:hover { border-color: rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg); }
.card-glass.active-border:hover { border-color: var(--brand-bright); box-shadow: var(--shadow-glow); }

/* ── Tugmalar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .75rem 1.5rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: .875rem;
  text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer; transition: var(--transition-normal);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background-color: var(--brand-bright); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { background-color: var(--brand-hover); box-shadow: 0 0 22px var(--brand-glow); transform: translateY(-1px); }
.btn-secondary { background-color: transparent; color: var(--text-primary); border-color: var(--border-color); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
.btn-red { background-color: var(--accent-red); color: #fff; }
.btn-red:hover { background-color: #F04A3D; transform: translateY(-1px); }
.btn-success { background-color: var(--status-present); color: #fff; }
.btn-success:hover { background-color: #0D9488; transform: translateY(-1px); }
.btn-danger { background-color: var(--status-absent); color: #fff; }
.btn-danger:hover { background-color: #DC2626; transform: translateY(-1px); }
.btn-warn { background-color: var(--status-late); color: #14161F; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn-sm { padding: .4rem .85rem; font-size: .72rem; }
.btn-xs { padding: .25rem .5rem; font-size: .7rem; text-transform: none; }
.btn-block { width: 100%; }

/* ── Formalar ── */
.form-group { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.form-label, label {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em;
}
.form-control {
  background-color: rgba(0, 0, 0, .35);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: .7rem .9rem; border-radius: var(--radius-sm);
  font-size: .9rem; width: 100%;
  transition: var(--transition-fast);
}
.form-control:focus { outline: none; border-color: var(--brand-bright); box-shadow: 0 0 0 2px var(--brand-glow); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control option { background: #121838; }
input[type="file"].form-control { padding: .4rem; }
input[type="date"].form-control, input[type="month"].form-control { color-scheme: dark; }
.form-help { font-size: .72rem; color: var(--text-muted); line-height: 1.5; }
.errorlist { list-style: none; color: var(--status-absent); font-size: .78rem; }
.score-range { padding: 0 !important; background: transparent !important; border: none !important; accent-color: var(--brand-bright); }

/* ── Xabar qutilari ── */
.msg-box {
  padding: .7rem 1rem; border-radius: var(--radius-sm);
  margin-bottom: 1rem; font-size: .84rem;
}
.msg-success { background: rgba(16, 185, 129, .12); border: 1px solid var(--status-present); color: var(--status-present); }
.msg-error { background: rgba(239, 68, 68, .12); border: 1px solid var(--status-absent); color: var(--status-absent); }
.msg-warning { background: rgba(245, 158, 11, .12); border: 1px solid var(--status-late); color: var(--status-late); }
.msg-info { background: var(--brand-translucent); border: 1px solid var(--brand-bright); color: #A9B7FF; }

/* ── Nishonlar ── */
.badge {
  display: inline-flex; align-items: center; padding: .2rem .65rem;
  border-radius: 9999px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.badge-present { background-color: var(--status-present-glass); color: var(--status-present); }
.badge-absent { background-color: var(--status-absent-glass); color: var(--status-absent); }
.badge-late { background-color: var(--status-late-glass); color: var(--status-late); }
.badge-brand { background-color: var(--brand-translucent); color: #A9B7FF; }

/* ── Jadvallar ── */
.table-container { overflow-x: auto; width: 100%; }
.custom-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 480px; }
.custom-table th {
  padding: .85rem 1rem; font-family: var(--font-display); font-weight: 600;
  color: var(--text-secondary); border-bottom: 1px solid var(--border-color);
  font-size: .75rem; text-transform: uppercase; white-space: nowrap;
}
.custom-table td {
  padding: .85rem 1rem; border-bottom: 1px solid var(--border-color);
  font-size: .9rem; vertical-align: middle;
}
.custom-table tr:last-child td { border-bottom: none; }
.custom-table tr:hover td { background-color: rgba(255, 255, 255, .025); }
.empty-row { text-align: center; color: var(--text-secondary); }

/* ── Animatsiyalar ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn .4s ease forwards; }
.animate-slide-up { animation: slideUp .45s cubic-bezier(.4, 0, .2, 1) forwards; }

/* ── Gridlar ── */
.grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }

/* ==========================================================================
   OMMAVIY SAYT
   ========================================================================== */
.public-layout { min-height: 100vh; display: flex; flex-direction: column; }

.public-header {
  position: sticky; top: 0; z-index: 200;
  background-color: rgba(6, 9, 23, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: .7rem 0;
}
.header-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.logo img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 2px; flex-shrink: 0; }
.logo-text { font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; letter-spacing: .04em; line-height: 1.1; }
.logo-text span { color: var(--brand-bright); }
.logo-sub { display: block; font-size: .6rem; font-weight: 600; color: var(--text-muted); letter-spacing: .18em; }

.nav-links { display: flex; gap: 1.25rem; }
.nav-link-btn {
  position: relative; background: none; border: none; color: var(--text-secondary);
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .05em; cursor: pointer;
  padding: .5rem .25rem; transition: var(--transition-fast); white-space: nowrap;
}
.nav-link-btn::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
  background-color: var(--brand-bright); transform: scaleX(0); transform-origin: right;
  transition: transform .25s ease-out;
}
.nav-link-btn:hover { color: var(--text-primary); }
.nav-link-btn:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link-btn.active { color: var(--text-primary); }
.nav-link-btn.active::after { transform: scaleX(1); box-shadow: 0 0 8px var(--brand-glow); }

.header-right { display: flex; align-items: center; gap: .75rem; }
.login-header-btn {
  padding: .45rem 1.25rem; font-size: .72rem; font-weight: 800;
  border: 1px solid var(--brand-bright); background: transparent;
  color: #fff; box-shadow: none;
}
.login-header-btn:hover { background: var(--brand-bright); box-shadow: 0 0 15px var(--brand-glow); }

.hamburger-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  width: 36px; height: 36px; border-radius: 6px;
}
.hamburger-btn:hover { background: rgba(255, 255, 255, .05); }
.ham-bar { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; display: block; transition: transform .3s ease, opacity .2s ease; }
#mobile-toggle { display: none; }
#mobile-toggle:checked ~ .mobile-menu { display: flex; }
#mobile-toggle:checked + .header-container .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mobile-toggle:checked + .header-container .ham-bar:nth-child(2) { opacity: 0; }
#mobile-toggle:checked + .header-container .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; width: 100%;
  flex-direction: column; gap: .25rem;
  background: rgba(8, 12, 30, .97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color); padding: 1rem 0; z-index: 150;
  box-shadow: var(--shadow-lg); animation: slideDown .3s ease forwards;
}
.mobile-nav-btn {
  background: none; border: none; color: var(--text-secondary);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  text-align: left; padding: .9rem 1.75rem; cursor: pointer;
  border-left: 3px solid transparent; transition: var(--transition-fast);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav-btn:hover, .mobile-nav-btn.active {
  color: var(--text-primary); background: var(--brand-translucent);
  border-left-color: var(--brand-bright);
}
.mobile-login-btn {
  margin: .75rem 1.5rem .25rem; padding: .85rem 1.5rem;
  border: 1px solid var(--brand-bright); border-radius: var(--radius-sm);
  background: var(--brand-translucent); justify-content: center;
}

/* ── Hero ── */
.public-main { flex: 1; padding-bottom: 4rem; }
.hero-banner {
  position: relative; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(6, 9, 23, .93) 0%, rgba(6, 9, 23, .78) 32%,
                    rgba(6, 9, 23, .3) 62%, rgba(36, 54, 167, .12) 100%),
    url("/static/img/hero.2d4ec258aa4b.jpg") no-repeat center center;
  background-size: cover;
  padding: 7rem 0 5.5rem;
  border-bottom: 1px solid var(--border-color);
}
.hero-tag {
  font-family: var(--font-display); font-weight: 800;
  color: var(--brand-bright); letter-spacing: .2em;
  margin-bottom: 1rem; font-size: .85rem;
}
.hero-title { font-size: 3.4rem; line-height: 1.08; margin-bottom: 1.5rem; }
.hero-description { max-width: 620px; color: var(--text-secondary); font-size: 1.08rem; margin-bottom: 2.5rem; line-height: 1.65; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-logo-badge {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: #fff; padding: 10px;
  box-shadow: 0 0 60px rgba(61, 85, 222, .45), 0 20px 60px rgba(0, 0, 0, .55);
  animation: fadeIn 1s ease .2s backwards;
}
.hero-logo-badge img { border-radius: 50%; }

.stats-bar-container { margin-top: -3rem; position: relative; z-index: 10; }
.stat-num { font-size: 2.1rem; font-weight: 900; font-family: var(--font-display); margin-bottom: .25rem; }
.stat-label { font-size: .82rem; color: var(--text-secondary); }

.pad-lg { padding: 2rem; }
.pad-xl { padding: 3rem; }

/* Klub haqida — kirish kartasi */
.about-intro-row { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.about-intro-logo {
  width: 150px; height: 150px; border-radius: 50%;
  background: #fff; padding: 6px; flex-shrink: 0;
}
.about-intro-text {
  flex: 1; min-width: 250px; font-size: 1.05rem;
  line-height: 1.75; color: var(--text-secondary);
}

.section { padding-block: 4rem; }
.section-title-sm { font-size: 1.7rem; }
.section-title { font-size: 2rem; margin-bottom: 1rem; font-family: var(--font-display); text-transform: uppercase; }
.section-desc { color: var(--text-secondary); max-width: 640px; margin: 0 auto 3rem; }
.values-section { padding-block: 5rem 3rem; }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.values-grid h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.values-grid p { color: var(--text-secondary); font-size: .9rem; line-height: 1.55; }

.group-badge {
  background-color: var(--brand-translucent); color: #A9B7FF;
  border: 1px solid var(--brand-glow); display: inline-block;
  padding: .25rem .75rem; border-radius: 4px; font-weight: 700;
  font-size: .72rem; font-family: var(--font-display);
}
.group-info-item { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: .88rem; }
.group-info-item strong { color: var(--text-secondary); }
.group-price { font-size: 1.55rem; font-weight: 800; font-family: var(--font-display); margin-top: 1.5rem; }

.student-card { transition: var(--transition-normal); padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; }
.student-card:hover { transform: translateY(-5px); border-color: var(--brand-bright); box-shadow: var(--shadow-glow); }
.student-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-bright); padding: 3px; background: var(--bg-secondary); margin-bottom: 1.25rem; }

.coach-card { display: flex; gap: 1.5rem; padding: 1.5rem; align-items: flex-start; }
.coach-card:hover { border-color: var(--brand-bright); box-shadow: var(--shadow-glow); }
.coach-card img { width: 110px; height: 110px; border-radius: 8px; object-fit: cover; border: 2px solid var(--brand-bright); flex-shrink: 0; }
.coach-card h4 { font-size: 1.25rem; }
.coach-card p { font-size: .88rem; color: var(--text-secondary); line-height: 1.5; }

.gallery-card { padding: .75rem; display: flex; flex-direction: column; gap: .75rem; overflow: hidden; }
.gallery-card .thumb { height: 200px; border-radius: 4px; overflow: hidden; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-normal); }
.gallery-card:hover img { transform: scale(1.05); }

.ach-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; align-items: center; }
.ach-img { border-radius: var(--radius-md); overflow: hidden; height: 280px; }
.ach-img img { width: 100%; height: 100%; object-fit: cover; }
.medal-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .35rem .75rem; border-radius: 4px; font-weight: 700; font-size: .78rem; }
.medal-badge.gold { background: rgba(240, 192, 64, .12); border: 1px solid var(--gold); color: var(--gold); }
.medal-badge.silver { background: rgba(156, 163, 175, .12); border: 1px solid #9CA3AF; color: #D1D5DB; }
.medal-badge.bronze { background: rgba(180, 83, 9, .12); border: 1px solid #B45309; color: #D97706; }

/* Kontakt */
.contact-top-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; margin-bottom: 2rem; }
.contact-detail-item { display: flex; gap: 1rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.contact-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.contact-value { font-size: .93rem; font-weight: 500; }
.contact-link:hover { color: var(--brand-bright); }
.social-cards-grid { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-card {
  display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem;
  border-radius: 8px; border: 1px solid var(--border-color);
  font-size: .82rem; font-weight: 700; transition: all .2s ease;
  color: var(--text-secondary); background: rgba(255, 255, 255, .03);
}
.social-card:hover { transform: translateY(-2px); color: #fff; }
.social-card.tg:hover { background: rgba(36, 161, 222, .15); border-color: #24A1DE; }
.social-card.ig:hover { background: rgba(225, 48, 108, .15); border-color: #E1306C; }
.social-card.yt:hover { background: rgba(255, 0, 0, .15); border-color: #FF0000; }
.map-frame-wrap { height: 340px; border-radius: var(--radius-md); overflow: hidden; }
.map-frame-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Login sahifasi */
.section-login {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 200px); padding: 3rem 1rem;
  background: radial-gradient(circle at 15% 20%, rgba(61, 85, 222, .1) 0%, rgba(6, 9, 23, 0) 70%);
}
.login-card {
  width: 100%; max-width: 440px; padding: 2.5rem 2.25rem;
  border-radius: var(--radius-lg); position: relative;
  animation: slideDown .4s cubic-bezier(.16, 1, .3, 1) forwards;
}
.login-logo { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: 1.5rem; }
.login-logo img { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 2px; }
.login-header-text { text-align: center; margin-bottom: 2rem; }
.login-header-text h3 { font-size: 1.7rem; margin-bottom: .35rem; }
.login-help { margin-top: 2rem; border-top: 1px solid var(--border-color); padding-top: 1rem; }
.login-help summary { font-size: .75rem; color: var(--text-muted); cursor: pointer; text-align: center; list-style: none; }
.login-help summary::-webkit-details-marker { display: none; }
.login-help-content { margin-top: .75rem; padding: .75rem; background: rgba(0, 0, 0, .25); border: 1px solid var(--border-color); border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: .35rem; }
.help-role-row { display: flex; justify-content: space-between; font-size: .75rem; }
.help-role-row strong { color: var(--text-secondary); }
.help-role-row code { font-family: monospace; color: var(--text-muted); }

/* Futer */
.public-footer {
  border-top: 1px solid var(--border-color); padding: 2.5rem 1rem;
  text-align: center; color: var(--text-muted); font-size: .85rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.footer-social { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 3px; }

/* ==========================================================================
   PANEL (admin / murabbiy / ota-ona)
   ========================================================================== */
.panel-layout { min-height: 100vh; display: flex; flex-direction: column; }

.panel-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 12, 30, .94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.25rem; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-shrink: 0;
}
.panel-header-left { display: flex; align-items: center; gap: .75rem; }
.panel-header-left img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 1px; flex-shrink: 0; }
.panel-header-left > a { display: flex; flex-shrink: 0; }
.panel-header-brand h1 { font-size: 1.05rem; line-height: 1.2; }
.panel-header-brand p { font-size: .72rem; color: var(--text-secondary); margin-top: .1rem; }

.panel-tabnav {
  position: sticky; top: var(--header-h); z-index: 90;
  background: rgba(8, 12, 30, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  display: flex; gap: .35rem; padding: .6rem 1.25rem;
  overflow-x: auto; scrollbar-width: none; flex-shrink: 0;
}
.panel-tabnav::-webkit-scrollbar { display: none; }
.panel-tab-btn {
  background: none; border: 1px solid transparent; color: var(--text-secondary);
  font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
  padding: .45rem .9rem; border-radius: var(--radius-sm);
  transition: var(--transition-fast); white-space: nowrap;
  display: flex; align-items: center; gap: .35rem;
}
.panel-tab-btn:hover { color: var(--text-primary); background: rgba(255, 255, 255, .05); }
.panel-tab-btn.active { background: var(--brand-bright); color: #fff; box-shadow: 0 0 10px var(--brand-glow); }
.panel-tab-badge {
  background: var(--accent-red); color: #fff; border-radius: 9999px;
  padding: .05rem .4rem; font-size: .65rem; font-weight: 800;
  min-width: 18px; text-align: center;
}
.panel-tab-btn.active .panel-tab-badge { background: rgba(255, 255, 255, .3); }

.panel-subbar {
  position: sticky; top: var(--header-h); z-index: 85;
  padding: .55rem 1.25rem; border-bottom: 1px solid var(--border-color);
  background: rgba(8, 12, 30, .94);
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.panel-subbar + .panel-tabnav { top: calc(var(--header-h) + 44px); }
.panel-subbar select { width: auto; min-width: 170px; padding: .3rem .6rem; font-size: .82rem; }

.panel-content { flex: 1; padding: 1.5rem 1.25rem 5rem; max-width: 1440px; width: 100%; margin: 0 auto; }

.progress-outer { width: 100%; height: 8px; background: rgba(255, 255, 255, .06); border-radius: 999px; overflow: hidden; }
.progress-inner { height: 100%; border-radius: 999px; transition: width .8s ease; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-bright) 100%); }
.skill-bar-outer { width: 100%; height: 10px; background: rgba(255, 255, 255, .07); border-radius: 999px; overflow: hidden; }
.skill-bar-inner { height: 100%; border-radius: 999px; transition: width 1s ease-in-out; }

.alert-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem .85rem; border: 1px solid rgba(239, 68, 68, .4);
  border-radius: var(--radius-sm); background: rgba(239, 68, 68, .07);
}
.info-row { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: .88rem; }
.info-row strong { color: var(--text-secondary); }

.avatar-sm { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--brand-bright); }
.stat-card-l { border-left: 4px solid var(--brand-bright); }
.stat-card-l.gold { border-left-color: var(--status-late); }
.stat-card-l.green { border-left-color: var(--status-present); }
.stat-card-l.blue { border-left-color: #3B82F6; }
.stat-card-l.red { border-left-color: var(--accent-red); }

.rec-box {
  margin: .5rem 0 1.25rem; padding: .75rem 1rem;
  border: 1px solid rgba(16, 185, 129, .3);
  background: rgba(16, 185, 129, .05); border-radius: var(--radius-sm);
}

/* Cheklar */
.receipt-card {
  background: rgba(255, 255, 255, .02); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.receipt-card.pending { border-color: rgba(245, 158, 11, .4); }
.receipt-card.approved { border-color: rgba(16, 185, 129, .3); background: rgba(16, 185, 129, .03); }
.receipt-card.rejected { border-color: rgba(239, 68, 68, .3); background: rgba(239, 68, 68, .03); }
.receipt-card-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: .5rem; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.receipt-chip { font-size: .68rem; font-weight: 800; padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; }
.receipt-chip.pending { background: rgba(245, 158, 11, .15); color: #F59E0B; }
.receipt-chip.approved { background: rgba(16, 185, 129, .15); color: #10B981; }
.receipt-chip.rejected { background: rgba(239, 68, 68, .15); color: #EF4444; }
.receipt-thumb { margin: .5rem 0; border-radius: 8px; overflow: hidden; background: rgba(0, 0, 0, .3); text-align: center; }
.receipt-thumb img { max-height: 160px; object-fit: contain; }
.receipt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }

.receipt-bubble { border-radius: 10px; padding: .55rem .85rem; max-width: 92%; display: flex; flex-direction: column; gap: .2rem; }
.receipt-bubble.sent { background: var(--brand-translucent); border: 1px solid var(--brand-glow); align-self: flex-end; }
.receipt-bubble.received { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); align-self: flex-start; }
.receipt-bubble-text { font-size: .82rem; line-height: 1.5; }
.receipt-bubble-time { font-size: .65rem; color: var(--text-muted); }

/* To'lov holati banneri */
.pay-status-banner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-radius: var(--radius-md); gap: 1rem; flex-wrap: wrap; }
.pay-status-banner.unpaid { background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .35); color: #FCA5A5; }
.pay-status-banner.paid { background: rgba(16, 185, 129, .08); border: 1px solid rgba(16, 185, 129, .35); color: #6EE7B7; }
.pay-status-badge { padding: .3rem .85rem; border-radius: 999px; font-size: .72rem; font-weight: 800; font-family: var(--font-display); }
.unpaid-badge { background: rgba(239, 68, 68, .2); color: #EF4444; }
.paid-badge { background: rgba(16, 185, 129, .2); color: #10B981; }

/* Bank kartasi — klub logosining ko'k gradienti */
.bank-card-visual {
  background: linear-gradient(135deg, #16205A 0%, #24369F 45%, #3D55DE 100%);
  border-radius: 16px; padding: 1.25rem 1.5rem; color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08);
  position: relative; overflow: hidden; min-height: 190px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bank-card-visual::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); pointer-events: none;
}
.bank-card-visual::after {
  content: ''; position: absolute; bottom: -60px; left: -20px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(226, 58, 46, .12); pointer-events: none;
}
.bank-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.bank-card-bank { font-size: .7rem; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.bank-card-chip { width: 36px; height: 28px; background: linear-gradient(135deg, #D4A855, #F0C875 50%, #C8943F); border-radius: 5px; }
.bank-card-number { font-size: 1.15rem; letter-spacing: .18em; font-family: 'Courier New', monospace; font-weight: 600; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.bank-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 1; }
.bank-card-label { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: .2rem; }
.bank-card-holder { font-size: .85rem; font-weight: 700; letter-spacing: .05em; }
.bank-card-amount { font-size: 1rem; font-weight: 800; color: var(--gold); }

.file-drop {
  border: 2px dashed rgba(255, 255, 255, .14); border-radius: var(--radius-sm);
  padding: 1.5rem; text-align: center; transition: all .2s ease;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .5rem; min-height: 100px; cursor: pointer;
}
.file-drop:hover { border-color: var(--brand-bright); background: var(--brand-translucent); }

.donut-wrap { position: relative; width: 130px; height: 130px; }
.donut-wrap svg { transform: rotate(-90deg); }
.donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; max-height: 260px; overflow-y: auto; }
.gallery-thumb { position: relative; border-radius: 4px; overflow: hidden; height: 80px; border: 1px solid var(--border-color); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb form { position: absolute; top: 2px; right: 2px; }
.gallery-thumb .cap { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, .75); font-size: .6rem; padding: 1px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.scroll-y { max-height: 550px; overflow-y: auto; }

/* ── Responsiv ── */
@media (max-width: 900px) {
  .nav-links, .login-header-btn { display: none; }
  .hamburger-btn { display: flex; }
  .grid-cols-4, .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-2, .split-grid, .contact-top-grid, .ach-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-banner { padding: 4rem 0 3.5rem; }
  .hero-logo-badge { display: none; }
  .stats-bar-container { margin-top: 1rem; }
  .coach-card { flex-direction: column; }
  .ach-img { height: 200px; }
  .map-frame-wrap { height: 250px; }
  .panel-content { padding: 1rem 1rem 5rem; }
}
@media (max-width: 560px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .card-glass { padding: 1rem; }
  .container { padding: 0 1rem; }
  .logo-text { font-size: 1rem; }
}

/* ==========================================================================
   MOBIL QATLAM
   Telefonlarda jadvallar kartaga aylanadi, sarlavhalar ixchamlashadi,
   bosish maydonlari kattalashadi.
   ========================================================================== */

/* ── Hero: tik ekranda rasm tepada, matn qorong'i fonda ── */
@media (max-width: 900px) {
  /* Telefonda alohida vertikal kadr — rasm tepada, matn pastda toza fonda */
  .hero-banner {
    background:
      linear-gradient(180deg, rgba(6, 9, 23, .12) 0%, rgba(6, 9, 23, .30) 34%,
                      rgba(6, 9, 23, .88) 62%, var(--bg-primary) 78%,
                      var(--bg-primary) 100%),
      url("/static/img/hero-mobile.0a26f2640b7c.jpg") no-repeat center top;
    background-size: 100% auto;
    padding: 13rem 0 2.5rem;
  }
  .hero-description { font-size: .98rem; margin-bottom: 1.75rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ── Statistika kartalari telefonda 2 ustun ── */
@media (max-width: 700px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: .75rem !important; }
  .stat-grid .card-glass { padding: .9rem .75rem; }
  .stat-grid .stat-num { font-size: 1.25rem !important; line-height: 1.25; }
  .stat-grid .stat-label { font-size: .68rem; line-height: 1.35; }
}
@media (max-width: 380px) {
  .stat-grid { grid-template-columns: 1fr !important; }
}

/* ── Panel sarlavhasi va tablari ── */
@media (max-width: 700px) {
  .panel-header { padding: 0 .85rem; gap: .5rem; height: 54px; }
  .panel-header-left { gap: .5rem; min-width: 0; }
  .panel-header-left img { width: 30px; height: 30px; }
  .panel-header-brand { min-width: 0; }
  .panel-header-brand h1 {
    font-size: .8rem; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .panel-header-brand p {
    font-size: .65rem; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .panel-header .btn { padding: .4rem .7rem; font-size: .65rem; }
  .hide-mobile { display: none !important; }

  .panel-tabnav { padding: .5rem .85rem; top: 54px; }
  .panel-tab-btn { padding: .5rem .8rem; font-size: .7rem; }
  .panel-subbar { top: 54px; padding: .5rem .85rem; }
  .panel-subbar + .panel-tabnav { top: calc(54px + 42px); }
  .panel-content { padding: 1rem 1rem 4rem; }
}

/* ── Jadvallar telefonda kartaga aylanadi ── */
@media (max-width: 700px) {
  .table-stack .table-container { overflow-x: visible; }
  .table-stack .custom-table { min-width: 0; display: block; }
  .table-stack thead { display: none; }
  .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }

  .table-stack tr {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    padding: .35rem .9rem;
    margin-bottom: .75rem;
  }
  .table-stack tr:hover td { background: none; }

  /* Grid: chapda yorliq, o'ngda qiymat(lar) ustma-ust joylashadi */
  .table-stack td {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: .55rem 0;
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: center;
    gap: .25rem .85rem;
    text-align: right;
    font-size: .88rem;
  }
  .table-stack td > * { grid-column: 2; justify-self: end; }
  .table-stack td:last-child { border-bottom: none; }

  .table-stack td::before {
    content: attr(data-label);
    grid-column: 1;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: left;
    align-self: center;
  }
  .table-stack td:not([data-label])::before { content: none; }

  /* Sarlavha yacheykasi — keng va chapga tekislangan */
  .table-stack td[data-label][data-primary],
  .table-stack td[data-wide] {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
    gap: .3rem;
    padding-top: .7rem;
  }
  .table-stack td[data-primary] > *,
  .table-stack td[data-wide] > * { grid-column: 1; justify-self: stretch; }
  .table-stack td[data-primary]::before,
  .table-stack td[data-wide]::before { grid-column: 1; }

  /* Bo'sh holat qatori */
  .table-stack td[colspan] { display: block; text-align: center; }
  .table-stack td[colspan]::before { content: none; }

  /* Amallar tugmalari o'ngda, kattaroq */
  .table-stack td .flex { justify-content: flex-end; }
  .table-stack .btn-xs { padding: .45rem .7rem; font-size: .78rem; }

  /* Keng yacheyka (masalan davomat tugmalari) — butun kenglikni egallaydi */
  .table-stack td[data-wide] .flex {
    justify-content: stretch !important; flex-wrap: wrap; gap: .4rem;
  }
  .table-stack td[data-wide] .btn { flex: 1 1 30%; padding: .55rem .4rem; font-size: .7rem; }

  /* Ichki scroll telefonda keraksiz — sahifaning o'zi siljiydi */
  .scroll-y { max-height: none !important; overflow-y: visible !important; }
}

/* ── Bosish maydonlari va formalar ── */
@media (max-width: 700px) {
  .btn { padding: .7rem 1.1rem; }
  .btn-sm { padding: .5rem .9rem; font-size: .72rem; }
  .form-control { font-size: 16px; }          /* iOS da avtomatik zoomni oldini oladi */
  .card-glass { padding: 1rem; }
  .pad-lg { padding: 1.25rem; }
  .pad-xl { padding: 2rem 1.25rem; }
  .section, .section-about, .section-groups { padding-block: 2.5rem; }
  .section-title { font-size: 1.45rem; margin-bottom: 1rem; line-height: 1.25; }
  .section-title-sm { font-size: 1.3rem; }

  /* Telefonda ustma-ust joylashganda 1.5rem oraliq juda katta */
  .gap-3 { gap: 1.25rem; }
  .grid-cols-2, .grid-cols-3, .grid-cols-4, .split-grid { gap: 1rem; }

  .about-intro-row { flex-direction: column; align-items: center; gap: 1.25rem; }
  .about-intro-logo { width: 120px; height: 120px; }
  .about-intro-text { min-width: 0; width: 100%; font-size: .98rem; line-height: 1.7; }
  .section-desc { margin-bottom: 2rem; }
  .values-section { padding-block: 3rem 2rem; }
}

/* ── Cheklar va bank kartasi ── */
@media (max-width: 700px) {
  .receipt-grid { grid-template-columns: 1fr; }
  .bank-card-visual { padding: 1.1rem 1.2rem; min-height: 170px; }
  .bank-card-number { font-size: .98rem; letter-spacing: .12em; }
  .bank-card-holder { font-size: .78rem; }
  .bank-card-amount { font-size: .9rem; }
  .pay-status-banner { flex-direction: column; align-items: flex-start; }
}

/* ── Login va ommaviy sahifa ── */
@media (max-width: 560px) {
  .login-card { padding: 2rem 1.25rem; }
  .login-header-text h3 { font-size: 1.45rem; }
  .public-footer { padding: 2rem 1rem; }
  .coach-card { gap: 1rem; padding: 1.25rem; }
  .coach-card img { width: 90px; height: 90px; }
  .coach-card h4 { font-size: 1.1rem; }
  .gallery-card .thumb { height: 170px; }
}

/* ==========================================================================
   FILIALLAR — interaktiv xarita va ro'yxat
   ========================================================================== */
.loc-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; align-items: start; }

.loc-map-wrap { padding: .75rem; position: relative; }
#loc-map {
  height: 520px; border-radius: var(--radius-md);
  background: var(--bg-secondary); overflow: hidden;
}
.loc-locate-btn {
  position: absolute; left: 1.5rem; bottom: 3rem; z-index: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5), var(--shadow-glow);
}
.loc-map-hint {
  padding: .6rem .25rem 0; text-align: center;
  color: var(--text-secondary);
}

/* MapLibre'ni sayt dizayniga moslash */
.maplibregl-map { font-family: var(--font-body); }
.maplibregl-canvas { outline: none; }
.maplibregl-ctrl-group {
  background: var(--bg-surface) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: var(--shadow-md) !important;
}
.maplibregl-ctrl-group button + button { border-top-color: rgba(255, 255, 255, .1) !important; }
.maplibregl-ctrl-group button span { filter: invert(1) brightness(1.6); }
.maplibregl-ctrl-group button:hover { background: var(--brand) !important; }

.maplibregl-popup-content {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .85rem 1rem;
  font-size: .85rem;
  line-height: 1.6;
}
.maplibregl-popup-content a { color: var(--brand-bright); font-weight: 600; }
.maplibregl-popup-close-button { color: var(--text-secondary); font-size: 1.1rem; padding: 0 .35rem; }
.maplibregl-popup-close-button:hover { background: none; color: #fff; }
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--bg-surface); }
.maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: var(--bg-surface); }
.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: var(--bg-surface); }
.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: var(--bg-surface); }

.maplibregl-ctrl-attrib {
  background: rgba(6, 9, 23, .8) !important;
  color: var(--text-muted) !important;
  font-size: .62rem !important;
}
.maplibregl-ctrl-attrib a { color: var(--text-secondary) !important; }

/* Foydalanuvchi joylashuvi */
.user-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: #16A34A; border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, .28), 0 2px 8px rgba(0, 0, 0, .6);
}

.loc-pin {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50% 50% 50% 6px;
  transform: rotate(-45deg);
  background: var(--pin, var(--brand-bright));
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .55);
  font-size: 1rem;
  transition: transform .2s ease;
}
.loc-pin { line-height: 1; cursor: pointer; }
.loc-pin-wrap:hover .loc-pin { transform: rotate(-45deg) scale(1.12); }

/* ── Filial kartalari ── */
.loc-list { display: flex; flex-direction: column; gap: 1rem; max-height: 560px; overflow-y: auto; padding-right: .25rem; }
.loc-card { padding: 1.1rem 1.25rem; transition: var(--transition-normal); }
.loc-card.is-active { border-color: var(--brand-bright); box-shadow: var(--shadow-glow); }
.loc-card.is-nearest { border-color: var(--status-present); }
.loc-card.is-nearest .loc-distance { background: rgba(16, 185, 129, .18); color: var(--status-present); }

.loc-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; }
.loc-card-head h3 { font-size: 1.05rem; }
.loc-distance {
  background: var(--brand-translucent); color: #A9B7FF;
  padding: .25rem .7rem; border-radius: 9999px;
  font-size: .75rem; font-weight: 800; white-space: nowrap;
}

.loc-row { display: flex; gap: .55rem; align-items: flex-start; font-size: .86rem; color: var(--text-secondary); padding: .18rem 0; }
.loc-row span, .loc-row a { flex: 1; }

.loc-groups { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.loc-groups .badge { text-transform: none; letter-spacing: 0; font-size: .68rem; }

.loc-coaches { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.loc-coach { display: flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--text-secondary); }
.loc-coach img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--brand-bright); }

.loc-actions { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.loc-actions .btn { flex: 1 1 auto; }

@media (max-width: 900px) {
  .loc-layout { grid-template-columns: 1fr; }
  #loc-map { height: 360px; }
  #contact-map { height: 280px; }
  .loc-list { max-height: none; overflow: visible; }
  .loc-locate-btn { left: 1rem; right: 1rem; bottom: 2.5rem; }
}
@media (max-width: 560px) {
  .loc-actions { flex-direction: column; }
  .loc-actions .btn { width: 100%; }
  .loc-card-head h3 { font-size: 1rem; }
}

#pick-map { height: 320px; border-radius: var(--radius-md); background: var(--bg-secondary); overflow: hidden; }
#contact-map { height: 340px; border-radius: var(--radius-md); background: var(--bg-secondary); overflow: hidden; }

/* Xarita yuklanmagandagi zaxira ko'rinish (internet yo'q) */
.map-offline {
  position: absolute; inset: 0; z-index: 600;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(11, 16, 36, .96), rgba(6, 9, 23, .98));
  border-radius: var(--radius-md);
}
.map-offline-inner {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center; padding: 1.5rem; max-width: 300px;
}
.map-offline-inner strong { font-family: var(--font-display); font-size: .95rem; }
.map-offline-inner span { font-size: .8rem; color: var(--text-secondary); line-height: 1.5; }
#loc-map, #contact-map, #pick-map { position: relative; }
