/* ============================================================
   YaqinJoy — sahifalarga xos stillar (mockuplar 1:1)
   ============================================================ */

/* ════════ BOSH SAHIFA (3-mockup, light) ════════ */
.home-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 4px; }
.loc-pill { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; cursor: pointer; }
.loc-pill .ic-sm { color: var(--blue); }
.bell { position: relative; }
.bell .bubble {
  position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 800;
  border-radius: var(--r-full); display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid var(--bg);
}

.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 12px 16px 4px; }
.hero h1 { font-size: 27px; line-height: 1.16; }
.hero p { color: var(--text-2); font-size: 13.5px; margin-top: 9px; max-width: 250px; }
.hero-art { width: 96px; height: 96px; flex: none; opacity: 0.95; }

.search-bar {
  margin: 14px 16px 0; display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border-radius: var(--r-full);
  padding: 6px 6px 6px 18px; box-shadow: var(--shadow-card);
}
.search-bar input { flex: 1; border: 0; outline: 0; background: none; font-size: 14.5px; min-width: 0; }
.search-bar .ic-sm { color: var(--text-3); }
.search-fbtn {
  width: 42px; height: 42px; border-radius: var(--r-full);
  background: var(--blue); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center;
}

.home-cats { margin: 16px 16px 0; }

.banner {
  margin: 16px; background: var(--bg-navy); border-radius: var(--r-lg);
  padding: 16px; display: flex; align-items: center; gap: 12px;
  color: #fff; overflow: hidden; position: relative;
}
.banner-ic {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center; color: var(--yellow);
}
.banner h3 { font-size: 13.5px; line-height: 1.3; }
.banner p { font-size: 11.5px; opacity: 0.75; margin-top: 3px; }
.banner-btn {
  flex: none; display: flex; align-items: center; gap: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 8px 10px; border-radius: var(--r-md);
}

.section-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 10px; }
.section-head a { font-size: 13px; font-weight: 700; }

.home-list { display: flex; flex-direction: column; gap: 10px; padding: 4px 16px 8px; }

.bc-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.bc-cat { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.bc-meta { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); margin-top: 6px; flex-wrap: wrap; }
.bc-meta .open-t { color: var(--green); font-weight: 700; }
.bc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }

/* ════════ XARITA (2-mockup, dark) ════════ */
.map-page { position: relative; height: 100dvh; overflow: hidden; background: var(--bg); }
#leaflet-map { position: absolute; inset: 0; z-index: 1; background: #0c1220; }
.map-ui-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  padding: 12px 16px 8px;
  background: linear-gradient(to bottom, rgba(10, 15, 30, 0.92) 30%, transparent);
  pointer-events: none;
}
.map-ui-top > * { pointer-events: auto; }
.map-loc-row { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.map-loc-row .lbl { font-size: 11px; color: var(--text-2); }
.map-loc-row .val { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.map-actions { display: flex; gap: 8px; }
.map-actions .icon-btn { background: var(--bg-card); color: var(--text); width: 38px; height: 38px; }

.map-search {
  margin-top: 10px; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--r-full);
  padding: 12px 16px; box-shadow: var(--shadow-float); color: #0f172a;
}
.map-search input { flex: 1; border: 0; outline: 0; font-size: 14.5px; background: none; color: #0f172a; min-width: 0; }
.map-search .ic-sm { color: #94a3b8; }

.map-cats { margin: 10px -16px 0; }

.search-area-btn {
  position: absolute; top: 178px; left: 50%; transform: translateX(-50%);
  z-index: 15; background: rgba(10, 15, 30, 0.88); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 9px 16px;
  border-radius: var(--r-full); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-float);
  display: none;
}
.search-area-btn.show { display: block; animation: fadeIn 0.2s ease; }

.map-fabs {
  position: absolute; right: 14px; bottom: 300px; z-index: 15;
  display: flex; flex-direction: column; gap: 10px;
}
.map-fabs .icon-btn { box-shadow: var(--shadow-float); }
.map-fabs .primary { background: var(--blue); color: #fff; }

.map-bottom {
  position: absolute; left: 0; right: 0; bottom: var(--nav-h); z-index: 20;
  padding-bottom: 6px;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.95) 55%, transparent);
}
.quick-chips { padding-top: 14px; }
.qchip {
  display: flex; align-items: center; gap: 9px; flex: none;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px 13px; cursor: pointer;
}
.qchip .qic {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.qchip .t { font-size: 12.5px; font-weight: 800; color: var(--text); white-space: nowrap; }
.qchip .s { font-size: 10.5px; color: var(--text-2); white-space: nowrap; }

.map-carousel { padding-bottom: 8px; }

/* Xarita markerlari */
.biz-marker { background: none !important; border: none !important; }
.bm-wrap { display: flex; flex-direction: column; align-items: center; transform: translateY(-4px); }
.bm-logo {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  background: linear-gradient(135deg, #1e2b52, #0f1b3d);
  color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bm-logo img { width: 100%; height: 100%; object-fit: cover; }
.bm-label {
  margin-top: 4px; text-align: center;
  background: rgba(10, 15, 30, 0.82); border-radius: 9px; padding: 4px 8px;
  backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  min-width: 74px;
}
.bm-label .n { color: #fff; font-size: 10.5px; font-weight: 800; white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.bm-label .m { color: #cbd5e1; font-size: 9.5px; font-weight: 600; }
.bm-label .o { font-size: 9.5px; font-weight: 800; }
.bm-label .o.open { color: #4ade80; }
.bm-label .o.closed { color: #f87171; }

.user-marker { background: none !important; border: none !important; }
.um-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.25), 0 2px 8px rgba(0,0,0,0.4);
}

/* ════════ BIZNES DETAL ════════ */
.detail-hero { position: relative; height: 240px; background: var(--bg-input); overflow: hidden; }
.detail-hero .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.detail-hero .ph svg { width: 60px; height: 60px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; padding: 14px 16px;
}
.detail-topbar .icon-btn { background: rgba(10, 15, 30, 0.5); color: #fff; backdrop-filter: blur(8px); box-shadow: none; }
.detail-card {
  margin: -26px 12px 0; position: relative; z-index: 6;
  background: var(--bg-card); border-radius: var(--r-xl);
  padding: 18px 16px; box-shadow: var(--shadow-card);
}
.detail-logo-row { display: flex; gap: 12px; align-items: center; }
.detail-name { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.detail-stats { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); font-weight: 600; }
.detail-actions { display: flex; gap: 10px; margin-top: 16px; }
.detail-actions .btn { flex: 1; padding: 12px; font-size: 13.5px; }
.dsection { margin: 12px 12px 0; background: var(--bg-card); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-card); }
.dsection h3 { margin-bottom: 12px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { color: var(--text-2); font-weight: 600; }
.hours-row.today .d, .hours-row.today .t { color: var(--blue); font-weight: 800; }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic-sm { color: var(--blue); }
.review-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: 0; }
.rate-stars { display: flex; gap: 8px; justify-content: center; margin: 10px 0 16px; }
.rate-stars button { color: var(--text-3); transition: transform 0.1s; }
.rate-stars button.on { color: var(--yellow); }
.rate-stars button:active { transform: scale(1.2); }
.rate-stars svg { width: 34px; height: 34px; }
.photo-strip { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.photo-strip img { width: 110px; height: 82px; border-radius: var(--r-sm); object-fit: cover; flex: none; }

/* ════════ BIZNES QO'SHISH (1-mockup, dark) ════════ */
.wiz-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.wiz-body { flex: 1; padding: 4px 16px 20px; overflow-y: auto; }
.wiz-footer { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); }

.intro-hero { padding: 10px 16px 0; }
.intro-hero h1 { font-size: 26px; line-height: 1.22; }
.benefits { display: flex; flex-direction: column; gap: 16px; padding: 22px 16px 8px; }
.benefit { display: flex; gap: 13px; align-items: flex-start; }
.benefit-ic {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.benefit h3 { font-size: 14.5px; }
.benefit p { font-size: 12.5px; color: var(--text-2); margin-top: 3px; }
.intro-art { text-align: center; padding: 18px 0 8px; }
.intro-art svg { width: 168px; height: 148px; }

.logo-upload-row { display: flex; gap: 14px; align-items: center; }
.logo-preview { width: 84px; height: 84px; font-size: 20px; }
.upload-box {
  flex: 1; height: 84px; border: 1.5px dashed var(--border);
  border-radius: var(--r-md); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  color: var(--text-2); font-size: 12px; font-weight: 600; cursor: pointer;
}
.upload-box:active { border-color: var(--blue); color: var(--blue); }

.wiz-map-wrap { position: relative; height: 250px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; background: #0c1220; }
#wiz-map { position: absolute; inset: 0; }
.wiz-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  z-index: 10; pointer-events: none; color: var(--blue);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.wiz-map-hint {
  position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 11;
  background: rgba(10, 15, 30, 0.85); color: #e2e8f0; font-size: 11.5px; font-weight: 600;
  padding: 8px 12px; border-radius: var(--r-sm); text-align: center; backdrop-filter: blur(6px);
}
.addr-row { display: flex; gap: 10px; }
.addr-row .input { flex: 1; }
.gps-btn {
  width: 51px; border-radius: var(--r-sm); flex: none;
  background: var(--bg-input); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}

.hours-editor { display: flex; flex-direction: column; }
.he-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.he-row:last-child { border-bottom: 0; }
.he-day { flex: 1; font-size: 14px; font-weight: 600; }
.he-times { display: flex; align-items: center; gap: 5px; }
.he-times input {
  width: 84px; padding: 8px 4px; text-align: center;
  background: var(--bg-input); border: 1.5px solid transparent; border-radius: 8px;
  font-size: 12px; font-weight: 700; color: var(--text); outline: none;
}
.he-times input::-webkit-calendar-picker-indicator { display: none; }
.he-day { font-size: 13px; }
.he-times input:focus { border-color: var(--blue); }
.he-times input:disabled { opacity: 0.35; }
.he-sep { color: var(--text-3); font-size: 12px; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-item { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-input); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; }
.pg-x {
  position: absolute; top: 7px; right: 7px; width: 26px; height: 26px;
  border-radius: 50%; background: rgba(10, 15, 30, 0.7); color: #fff;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.pg-add {
  aspect-ratio: 4/3; border: 1.5px dashed var(--border); border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--text-2); font-size: 12px; font-weight: 600; cursor: pointer;
}
.pg-add.wide { aspect-ratio: auto; padding: 18px; grid-column: 1 / -1; flex-direction: row; }

.review-card { background: var(--bg-card); border-radius: var(--r-lg); padding: 16px; margin-bottom: 12px; }
.review-card h3 { margin-bottom: 10px; }
.rv-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13.5px; color: var(--text-2); }
.rv-row .ic-sm { color: var(--blue); flex: none; }
.rv-row b { color: var(--text); }

.success-page { text-align: center; padding: 80px 30px 30px; }
.success-ic {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.success-ic svg { width: 40px; height: 40px; }

/* ════════ AUTH ════════ */
.auth-page { padding: 30px 22px; }
.auth-logo { text-align: center; margin-bottom: 26px; }
.auth-logo .mark {
  width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 12px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4);
}
.auth-tabs { display: flex; background: var(--bg-input); border-radius: var(--r-md); padding: 4px; margin-bottom: 22px; }
.auth-tabs button { flex: 1; padding: 11px; border-radius: 11px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.auth-tabs button.active { background: var(--bg-card); color: var(--text); box-shadow: var(--shadow-card); }

/* ════════ PROFIL ════════ */
.prof-head { display: flex; align-items: center; gap: 14px; padding: 20px 16px; }
.prof-ava { width: 60px; height: 60px; font-size: 22px; background: var(--blue); border-radius: 50%; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; }
.prof-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--bg-card); border-radius: var(--r-md);
  padding: 15px 16px; margin-bottom: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-card); text-align: left;
}
.prof-item .ic-sm { color: var(--blue); }
.lang-seg { display: flex; gap: 6px; }
.lang-seg button { padding: 7px 14px; border-radius: var(--r-full); background: var(--bg-input); font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.lang-seg button.active { background: var(--blue); color: #fff; }
.mybiz-status { margin-left: auto; }

/* ════════ ADMIN ════════ */
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 14px; }
.astat { background: var(--bg-card); border-radius: var(--r-md); padding: 13px; text-align: center; box-shadow: var(--shadow-card); }
.astat .v { font-size: 21px; font-weight: 800; color: var(--blue); }
.astat .l { font-size: 11px; color: var(--text-2); font-weight: 600; margin-top: 2px; }
.admin-tabs { padding: 0 16px 6px; }
.abiz { background: var(--bg-card); border-radius: var(--r-lg); padding: 15px; margin: 0 16px 12px; box-shadow: var(--shadow-card); }
.abiz-actions { display: flex; gap: 8px; margin-top: 12px; }
.abiz-actions .btn { flex: 1; }

/* Leaflet default o'lchov chizig'ini yashirish */
.leaflet-control-attribution { font-size: 9px !important; opacity: 0.6; }
