/* ══════════════════════════════════════════════
   BAR.CSS — Full Venue Hub Page
   ══════════════════════════════════════════════ */

/* ── BAR PAGE HEADER ── */
.bar-page-hero {
  position: relative; border-radius: 20px; overflow: hidden;
  margin-bottom: 16px; padding: 24px 18px 18px;
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
}
.bar-page-emoji-wrap {
  font-size: 56px; margin-bottom: 12px; line-height: 1;
  filter: drop-shadow(0 0 20px rgba(180,79,255,0.4));
}
.bar-page-name {
  font-size: 24px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 4px;
}
.bar-page-meta-row {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px;
}
.bar-page-status-badge {
  padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 800;
}
.status-Packed  { background: rgba(255,45,120,0.15); color: var(--neon-pink); border: 1px solid rgba(255,45,120,0.3); }
.status-Busy    { background: rgba(245,158,11,0.15); color: var(--yellow);   border: 1px solid rgba(245,158,11,0.3); }
.status-Dead    { background: rgba(34,197,94,0.15);  color: var(--green);    border: 1px solid rgba(34,197,94,0.3); }
.status-NoData  { background: rgba(136,136,204,0.1); color: var(--text2);    border: 1px solid var(--border); }
.bar-page-address-row {
  font-size: 12px; color: var(--text2); font-weight: 600; margin-top: 4px;
}
.bar-page-hours {
  font-size: 11px; color: var(--text2); font-weight: 700;
}
.bar-page-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bar-page-tag {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 20px; padding: 3px 10px; font-size: 10px; font-weight: 700; color: var(--text2);
}

/* ── BAR PAGE SECTIONS ── */
.bar-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; margin-bottom: 12px;
}
.bar-section-title {
  font-size: 13px; font-weight: 800; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}

/* ── REPORT ROWS ── */
.bar-report-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.bar-report-row:last-child { border-bottom: none; }
.bar-report-icon  { font-size: 16px; flex-shrink: 0; }
.bar-report-status { font-weight: 700; flex: 1; }
.bar-report-time  { font-size: 11px; color: var(--text2); font-weight: 600; }

/* ── MISSION ROWS ── */
.bar-mission-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.bar-mission-row:last-child { border-bottom: none; }
.bar-mission-row:active { opacity: 0.7; }
.bar-mission-info { flex: 1; }
.bar-mission-name { font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.bar-mission-reward { font-size: 11px; color: var(--neon-green); font-weight: 700; }
.bar-mission-arrow { font-size: 18px; color: var(--text2); }

/* ── FRIEND ROWS ── */
.bar-friend-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.bar-friend-row:last-child { border-bottom: none; }
.bar-friend-av {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: white; flex-shrink: 0;
}
.bar-friend-name   { font-size: 13px; font-weight: 700; flex: 1; }
.bar-friend-status { font-size: 11px; color: var(--text2); font-weight: 600; }

/* ── BAR ACTION BUTTONS ── */
.bar-actions-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
}
.bar-action-btn {
  padding: 14px 10px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface2); color: var(--text); font-family: inherit;
  font-size: 12px; font-weight: 800; cursor: pointer; text-align: center;
  transition: all 0.15s;
}
.bar-action-btn:active { transform: scale(0.97); }
.bar-action-btn .ba-icon { font-size: 22px; display: block; margin-bottom: 5px; }
.bar-action-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--neon-pink));
  border-color: transparent; color: white;
  box-shadow: 0 0 14px rgba(180,79,255,0.25);
}

/* ── MISSION DETAIL MODAL ── */
.mission-detail-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: none; align-items: flex-end; justify-content: center; z-index: 5000;
}
.mission-detail-box {
  background: var(--surface); border-radius: 24px 24px 0 0;
  padding: 24px 20px; width: 100%; max-width: 480px;
  border-top: 1px solid var(--border);
}
.mission-detail-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.mission-detail-type-badge {
  font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px;
  background: rgba(180,79,255,0.15); color: var(--accent); border: 1px solid rgba(180,79,255,0.3);
}

/* ── UBER BUTTON ── */
.bar-uber-btn {
  width: 100%; padding: 14px 16px; margin-bottom: 14px;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  color: white; font-family: inherit; font-size: 14px; font-weight: 800;
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  transition: all 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.bar-uber-btn:active { transform: scale(0.98); }

/* ── BAR PAGE TABS ── */
.bar-tab-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  margin-bottom: 14px; overflow-x: auto; scrollbar-width: none;
}
.bar-tab {
  padding: 11px 18px; border: none; background: none;
  color: var(--text2); font-size: 13px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  border-bottom: 2px solid transparent; white-space: nowrap;
  transition: all 0.2s;
}
.bar-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.bar-tab-badge {
  background: rgba(255,215,0,0.2); color: var(--gold);
  border-radius: 10px; padding: 1px 6px;
  font-size: 10px; font-weight: 800; margin-left: 4px;
}
.bar-tab-panel { display: block; }

/* ── MENU ITEMS ── */
.bar-menu-item {
  display: flex; gap: 10px; padding: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 6px; cursor: pointer;
  transition: border-color 0.15s;
}
.bar-menu-item:active { border-color: rgba(255,215,0,0.3); }
.bar-menu-item.bmi-saved { border-color: rgba(255,215,0,0.35); background: rgba(255,215,0,0.04); }
.bmi-emoji { font-size: 22px; flex-shrink: 0; }
.bmi-info  { flex: 1; min-width: 0; }
.bmi-name  { font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.bmi-desc  { font-size: 11px; color: var(--text2); line-height: 1.4; }
.bmi-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.bmi-price { font-size: 13px; font-weight: 800; color: var(--green); }
.bmi-save-btn {
  background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.25);
  color: var(--gold); border-radius: 8px; padding: 4px 8px;
  font-size: 10px; font-weight: 800; font-family: inherit;
  cursor: pointer; white-space: nowrap; transition: all 0.15s;
}
.bmi-save-btn.saved { background: rgba(255,215,0,0.2); border-color: rgba(255,215,0,0.5); }
.bar-menu-cat {
  font-size: 10px; font-weight: 800; color: var(--text2);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin: 12px 0 8px; padding: 0;
}

/* ── NO MENU PLACEHOLDER ── */
.bar-no-menu {
  text-align: center; padding: 28px 16px;
}
.bar-no-menu-icon { font-size: 36px; margin-bottom: 10px; }
.bar-no-menu-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.bar-no-menu-sub { font-size: 12px; color: var(--text2); margin-bottom: 16px; line-height: 1.5; }
.bar-website-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  color: var(--text2); font-size: 13px; font-weight: 700;
  text-decoration: none; transition: all 0.15s;
}
.bar-website-link:active { background: rgba(255,255,255,0.06); color: white; }

/* ── INFO PANEL ── */
.bar-info-row {
  display: flex; gap: 12px; padding: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 8px; font-size: 13px;
}
.bar-info-icon { font-size: 18px; flex-shrink: 0; }
.bar-info-label { font-size: 11px; color: var(--text2); font-weight: 700; margin-bottom: 2px; }
.bar-info-value { font-size: 13px; font-weight: 700; }
