:root {
  --bg: #eef5fb;
  --paper: #ffffff;
  --ink: #0f2b40;
  --muted: #5f7385;
  --line: #d8e5f2;
  --brand: #0d7c88;
  --brand-dark: #09535b;
  --accent: #ffb703;
  --ok: #218c5a;
  --bad: #ba3b3b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  background:
    radial-gradient(circle at 12% 10%, #ccecff 0%, transparent 32%),
    radial-gradient(circle at 86% 12%, #ffe5bf 0%, transparent 28%),
    linear-gradient(140deg, var(--bg), #f8fbff);
}
.diqqat{
  color: red;
  font-size: 13px;
}
.container { width: min(1140px, 92%); margin: 0 auto; }

.home-topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  flex-wrap: nowrap;
}

.home-topbar .home-social-btn,
.home-topbar .home-login-btn {
  flex: 0 0 auto;
}

.home-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  opacity: 0.92;
}

.home-social-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  opacity: 1;
}

.home-social-btn.telegram {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #fff;
}

.home-social-btn.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
  color: #fff;
}

.home-social-btn.phone {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}

.home-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0a3b5f, #0d7c88);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(13, 124, 136, 0.3);
  opacity: 0.92;
  white-space: nowrap;
  line-height: 1;
}

.home-login-btn i { font-size: 0.95rem; }

.home-login-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 18px rgba(13, 124, 136, 0.4);
  opacity: 1;
  color: #fff;
}

.telegram-announcement {
  margin: 16px 0 0;
  padding: 18px 20px;
  border: 1px solid #b9e2c4;
  border-radius: 16px;
  background: linear-gradient(135deg, #f2fbf4, #ffffff);
  color: #29485f;
  box-shadow: 0 8px 24px rgba(24, 86, 55, 0.08);
}
.telegram-announcement h2 {
  margin: 0 0 10px;
  color: #176b36;
  font-size: 1.1rem;
  font-weight: 800;
}
.telegram-announcement p { margin: 8px 0; line-height: 1.55; }
.telegram-announcement-emphasis { font-weight: 700; }
.telegram-announcement-label { margin-bottom: 2px !important; font-weight: 800; }
.telegram-announcement ol { margin: 2px 0 10px; padding-left: 24px; line-height: 1.65; }
.telegram-announcement-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #fff;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(34, 158, 217, 0.24);
}
.telegram-announcement-link:hover { color: #fff; filter: brightness(0.95); }

.hero {
  margin: 24px 0 18px;
  border-radius: 26px;
  color: #fff;
  padding: 28px;
  background: linear-gradient(125deg, #0a3b5f, #0d7c88 60%, #21b6a8);
  box-shadow: 0 18px 38px rgba(12, 44, 66, 0.25);
}

h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.45rem); line-height: 1.2; }
.lead { margin: 10px 0 0; color: rgba(255,255,255,.92); max-width: 760px; }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(16, 41, 64, 0.08);
  padding: 18px;
  margin-bottom: 16px;
}

.panel-title { margin: 0 0 6px; font-size: 1.08rem; }
.sub { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }

.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, .9fr) auto;
  gap: 10px;
  align-items: end;
}

.filters-primary {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: center;
}

.search-main {
  width: min(100%, 520px);
  min-width: 0;
}

.search-main.hidden {
  display: none;
}

.search-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 14px;
  background: linear-gradient(150deg, #edf7ff, #f8fbff);
  border: 1px solid #cfe3f2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.search-mode {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  background: transparent;
  color: #335772;
  font-weight: 800;
  font-size: .84rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: .18s ease;
}

.search-mode:hover {
  background: #ecf5fc;
  border-color: #c7deef;
}

.search-mode.active {
  background: linear-gradient(135deg, #0d7c88, #1d97a3);
  color: #fff;
  border-color: #0d7c88;
}

.advanced-filters {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  align-items: end;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-height .26s ease, opacity .2s ease, transform .2s ease;
}

.advanced-filters.show {
  opacity: 1;
  max-height: none;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.location-time-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #cfe1f2;
  border-radius: 14px;
  background: linear-gradient(180deg, #f4faff, #ffffff);
}

.location-time-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.location-time-title {
  margin: 0;
  color: #2f516a;
  font-size: .86rem;
  font-weight: 800;
}

.location-time-clear {
  width: auto;
  padding: 8px 10px;
  font-size: .8rem;
}

.location-time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.time-chip {
  border: 1px solid #cfe1f2;
  border-radius: 999px;
  background: #fff;
  color: #2a516f;
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.time-chip:hover {
  background: #ebf6ff;
}

.time-chip.active {
  border-color: #0d7c88;
  background: linear-gradient(135deg, #0d7c88, #1ca1ad);
  color: #fff;
}

label { font-size: .8rem; color: #35546d; display: block; margin-bottom: 4px; font-weight: 700; }

select, input {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  border-radius: 11px;
  border: 1px solid #c6d9ea;
  background: #fbfdff;
  font-family: inherit;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 14px;
  background: linear-gradient(135deg, var(--accent), #ffd873);
  color: #233443;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ghost {
  background: #f1f7fc;
  border: 1px solid #cfe1f1;
  color: #32516b;
}

.amenity-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }

.chip {
  border: 1px solid #cde0f0;
  background: #f4faff;
  color: #2d536f;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: .8rem;
  cursor: pointer;
  user-select: none;
}

.chip.active { background: #dff2ff; border-color: #8ac8ef; color: #164d75; }

.layout {
  display: grid;
  grid-template-columns: 1.4fr .95fr;
  gap: 16px;
  margin-bottom: 30px;
}

.stadiums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: .2s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(14, 43, 67, 0.12); }
.card.selected { outline: 2px solid #78c5e8; }

.card-media {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #eef5fb;
  touch-action: pan-y;
}

.card-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.28s ease;
}

.card-slide {
  min-width: 100%;
  height: 100%;
}

.card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.card-slide img,
.card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(8, 27, 43, 0.58);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.card-slider-btn.prev { left: 10px; }
.card-slider-btn.next { right: 10px; }

.card-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.card-slider-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
  cursor: pointer;
}

.card-slider-dot.active {
  width: 22px;
  background: #fff;
}

/* Kartochka slot ro'yxati */
.card-slots {
  border-top: 1px solid var(--line);
}

.card-slots-header {
  background: #1560a8;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 0.02em;
}

.card-slot-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.83rem;
  font-weight: 600;
  border-bottom: 1px solid #f0f5fa;
  color: var(--ink);
}

.card-slot-row:last-child { border-bottom: none; }

.card-slot-sep { color: #b0c4d8; font-weight: 400; }

.card-slot-bosh { color: #1c8c57; font-weight: 700; }

.card-slot-taken { color: #8a4a1a; font-weight: 600; font-size: 0.8rem; }
.card img,
.modal-stadium-head img {
  cursor: zoom-in;
}
.body { padding: 10px; }
.name { margin: 0; font-size: .95rem; font-weight: 800; }
.meta { color: var(--muted); font-size: .81rem; margin: 4px 0; }
.meta.distance {
  color: #0d7c88;
  font-weight: 700;
}
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d7c88;
  text-decoration: none;
  margin-right: 4px;
}
.map-link:hover { color: #09535b; }
.price { font-size: .86rem; color: var(--brand-dark); font-weight: 800; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 0; }
.badge { font-size: .72rem; border: 1px solid #d5e8f6; background: #f3f9ff; color: #26587a; padding: 3px 7px; border-radius: 999px; }

.card-staff { margin: 6px 0; }
.card-staff .meta { margin: 0 0 3px; }
.staff-meta { font-weight: 600; color: var(--brand-dark); }
.staff-meta a { color: var(--brand); text-decoration: none; }
.staff-meta a:hover { text-decoration: underline; }
.staff-list { list-style: none; margin: 0; padding: 0; font-size: .8rem; color: var(--muted); }
.staff-list li { padding: 2px 0; }
.staff-list a { color: var(--brand); text-decoration: none; }
.staff-list a:hover { text-decoration: underline; }

.status { font-size: .77rem; font-weight: 700; }
.free { color: var(--ok); }
.busy { color: var(--bad); }

.queue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.full { grid-column: 1 / -1; }

.ticket {
  margin-top: 12px;
  border: 1px dashed #9cc4df;
  background: #f7fbff;
  border-radius: 14px;
  padding: 12px;
  display: none;
}

.ticket.show { display: block; }
.line { display: flex; justify-content: space-between; gap: 8px; font-size: .9rem; margin-bottom: 8px; }
.qno { font-size: 1.22rem; color: var(--ok); font-weight: 800; }

.results { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.results.warn { color: #8a5a00; font-weight: 700; }

.modal-stadium {
  border: 1px solid #d8e5f2;
  border-radius: 12px;
  padding: 12px;
  background: #f8fcff;
}

.modal-stadium-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  align-items: start;
}

.modal-stadium-head img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.modal-stadium-head h6 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
}

.modal-stadium-head p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .85rem;
}

#imagePreviewModal .modal-body {
  padding: 10px;
  background: #081017;
}

#imagePreviewImage {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 10px;
}

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .advanced-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .queue-grid { grid-template-columns: 1fr; }
  .modal-stadium-head { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .home-topbar {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .filters,
  .advanced-filters {
    grid-template-columns: 1fr;
  }

  .search-switch {
    width: 100%;
    justify-content: center;
  }

  .search-mode {
    flex: 1 1 170px;
    justify-content: center;
  }

  .btn,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .stadiums {
    grid-template-columns: 1fr;
  }
}

/* === SLOT MODAL === */
.slot-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  align-items: center;
  justify-content: center;
}
.slot-modal.show { display: flex; }

.slot-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 50, 0.55);
  backdrop-filter: blur(3px);
}

.slot-modal-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  width: min(440px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(10, 34, 60, 0.25);
}

.slot-modal-head {
  background: #1560a8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 18px 18px 0 0;
  font-weight: 700;
  font-size: 1rem;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 2;
  flex-shrink: 0;
}

.slot-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 8px;
  line-height: 1;
  opacity: 0.85;
}
.slot-modal-close:hover { opacity: 1; background: rgba(255,255,255,0.15); }

.slot-modal-date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #eaf2fb;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d5070;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  flex-shrink: 0;
}
.slot-modal-date-row input[type="date"] {
  border: 1px solid #cde0f1;
  border-radius: 9px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
}
.slot-date-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.slot-date-nav-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #cde0f1;
  border-radius: 8px;
  background: #f0f7ff;
  color: #2d5070;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.15s, border-color 0.15s;
}
.slot-date-nav-btn:hover {
  background: #dbeaf8;
  border-color: #a8c9e6;
}
.slot-weekday-label {
  margin-left: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a6b3c;
  white-space: nowrap;
}
#slotModalList { touch-action: pan-y; }

#slotStep1 {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

#slotStep2 {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.slot-loading {
  padding: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Slot qatorlari */
.sm-slot-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid #f0f6fb;
  font-size: 0.88rem;
  font-weight: 600;
}
.sm-slot-row:last-child { border-bottom: none; }
.sm-slot-sep { color: #b8cedd; font-weight: 400; }
.sm-slot-free { cursor: pointer; transition: background 0.13s; }
.sm-slot-free:hover { background: #e8f5ff; }
.sm-slot-bosh { color: #1a8c57; font-weight: 700; }
.sm-slot-band { color: #b54040; font-weight: 700; }
.sm-slot-taken { background: #f7eaea; }
.sm-slot-name { color: #7a4010; font-size: 0.83rem; }
.sm-slot-customer {
  margin-left: 8px;
  color: #7a4010;
  font-size: 0.82rem;
  font-weight: 600;
  flex: 1 1 100%;
  word-break: break-word;
}
.sm-slot-phone {
  color: #1560a8;
  text-decoration: none;
  border-bottom: 1px dashed #a4c0dc;
}
.sm-slot-phone:hover { color: #0c4377; border-bottom-color: #0c4377; }
.sm-slot-booked-wrap { border-bottom: 1px solid #f0f6fb; padding-bottom: 10px; }
.sm-slot-booked-wrap .sm-slot-row { border-bottom: 0; }
.sm-booking-cancel {
  display: block;
  width: calc(100% - 28px);
  min-height: 42px;
  margin: 4px 14px 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: #b93c42;
  color: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.sm-booking-cancel:hover { background: #9f2e35; }
.sm-booking-cancel:active { transform: scale(.99); }
.sm-booking-cancel:disabled { opacity: .6; cursor: wait; }
.sm-booking-cancel-note {
  margin: 7px 14px 2px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #fff7e5;
  color: #76500a;
  font-size: .8rem;
  line-height: 1.45;
}
.sm-booking-cancel-note.expired {
  background: #f1f2f4;
  color: #565b63;
}
.slot-booking-action-feedback {
  margin: 10px 14px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 600;
}
.slot-booking-action-feedback.ok { background: #d4f0e5; color: #1a5e35; }
.slot-booking-action-feedback.err { background: #fde8e8; color: #8b1c1c; }

/* 2-qadam forma */
.slot-selected-badge {
  margin: 14px 16px 0;
  background: #e3f0fd;
  border-radius: 9px;
  padding: 9px 13px;
  color: #0a3b5f;
}

.slot-selected-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.slot-selected-main #slotStep2Start,
.slot-selected-main #slotStep2End {
  font-weight: 800;
  color: #0a3b5f;
}

.slot-selected-main .slot-add-30-btn {
  margin-left: 4px;
}

.slot-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 16px 0;
}

.slot-field { display: grid; gap: 4px; }
.slot-field label { font-size: 0.78rem; font-weight: 700; color: #36556f; }
.slot-field input {
  border: 1px solid #caddf0;
  border-radius: 10px;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink);
}
.slot-field-full { grid-column: 1 / -1; }

.slot-alert {
  margin: 10px 16px 0;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 0.83rem;
  font-weight: 600;
}
.slot-alert.err { background: #fde8e8; color: #8b1c1c; }
.slot-alert.ok  { background: #d4f0e5; color: #1a5e35; }

.slot-form-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
}

.slot-success-msg {
  background: #d4f0e5;
  color: #1a5e35;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 1px solid #f0f6fb;
}

.card-times-btn {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}
.card-shared-football-btn {
  background: #edf8f0;
  border: 1px solid #b9e2c4;
  color: #176b36;
}
.card-shared-football-btn:hover { background: #e1f3e6; }

.shared-football-public-modal-card { overflow: hidden; }
.shared-football-public-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.shared-football-public-date-heading {
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d8e7f1;
  color: #29485f;
  font-size: 0.95rem;
}
.shared-football-public-feedback {
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
}
.shared-football-public-feedback[hidden] { display: none; }
.shared-football-public-feedback.ok { background: #e5f6eb; color: #176b36; }
.shared-football-public-feedback.err { background: #fdeaea; color: #9c2929; }
.shared-football-public-game {
  margin: 10px 12px;
  padding: 12px;
  border: 1px solid #d8e7f1;
  border-radius: 12px;
  background: #fbfdff;
}
.shared-football-public-game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.shared-football-public-places { font-size: 0.8rem; font-weight: 800; }
.shared-football-public-places.has-places { color: #188348; }
.shared-football-public-places.is-full { color: #535d66; }
.shared-football-public-count {
  margin: 7px 0 0;
  color: #607384;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}
.shared-football-public-participants { margin-top: 7px; }
.shared-football-public-participants-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #246b9b;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}
.shared-football-public-names {
  margin: 7px 0 0;
  padding-left: 22px;
  color: #607384;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}
.shared-football-public-names li + li { margin-top: 5px; }
.shared-football-public-action { width: 100%; margin-top: 10px; justify-content: center; }
.shared-football-public-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.shared-football-cancel-button {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  padding: 8px 10px;
  font-size: 0.82rem;
}
.shared-football-add-person-button {
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  justify-content: center;
  padding: 8px;
}
.shared-football-player-form {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e3edf4;
}
.shared-football-player-form label { display: grid; gap: 4px; color: #43586b; font-size: 0.82rem; font-weight: 700; }
.shared-football-player-form input {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #ccdae5;
  border-radius: 9px;
  font: inherit;
}
.shared-football-player-form small { color: #66798a; line-height: 1.4; }
.shared-football-join-warning {
  padding: 10px 12px;
  border: 1px solid #f0d18c;
  border-radius: 10px;
  background: #fff8e8;
  color: #70531b;
  font-size: 0.82rem;
  line-height: 1.45;
}
.shared-football-join-warning p { margin: 5px 0 0; }
.shared-football-player-form-actions { display: flex; gap: 8px; }
.shared-football-player-form-actions > button { flex: 1; justify-content: center; }
.shared-football-cancel-select {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d8e7f1;
  border-radius: 10px;
  background: #fff;
}
.shared-football-cancel-select > label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #43586b;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}
.shared-football-cancel-select input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: #188348;
}
.shared-football-cancel-select-actions { display: flex; gap: 8px; }
.shared-football-cancel-select-actions > button { flex: 1 1 0; justify-content: center; font-size: 0.78rem; }

.slot-end-row {
  display: flex;
  align-items: center;
  border: 1px solid #caddf0;
  border-radius: 10px;
  padding: 9px 11px;
  background: #fbfdff;
}
.slot-end-display {
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.slot-add-30-btn {
  flex: 0 0 auto;
  border: none;
  background: linear-gradient(135deg, #0d7c88, #1ca1ad);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 7px;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.slot-add-30-btn:hover { filter: brightness(1.05); }
.slot-add-30-btn:disabled {
  background: #b0bec5;
  color: #546e7a;
  cursor: not-allowed;
  opacity: 0.7;
  border: 1px solid #90a4ae;
}
.slot-sub-30-btn {
  flex: 0 0 auto;
  border: none;
  background: linear-gradient(135deg, #8898a8, #6b7d8e);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 7px;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.slot-sub-30-btn:hover { filter: brightness(1.05); }
.slot-sub-30-btn:disabled {
  background: #b0bec5;
  color: #546e7a;
  cursor: not-allowed;
  opacity: 0.7;
  border: 1px solid #90a4ae;
}

@media (max-width: 620px) {
  .slot-form-grid {
    grid-template-columns: 1fr;
  }
}

.slot-section {
  padding: 8px 16px 4px;
  border-top: 1px solid #f0f6fb;
}
.slot-section:first-of-type { border-top: none; }
.slot-section-title {
  margin: 4px 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #2d5070;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.doimiy-badge {
  display: inline-block;
  background: #e8f0f8;
  color: #4a6a85;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
