/* ═══════════════════════════════════════════════════════
   CONTINENTAL — Design System
   Dark-only · #121212 bg · #FEE600 gold
═══════════════════════════════════════════════════════ */

:root {
  /* Backgrounds */
  --bg:           #121212;
  --bg2:          #1e1e1e;
  --bg-card:      #252525;
  --bg-elevated:  #2d2d2d;
  --bg-input:     #2a2a2a;

  /* Text */
  --text:         #ffffff;
  --text2:        #cccccc;
  --text3:        #888888;
  --text4:        #555555;

  /* Accent */
  --gold:         #FEE600;
  --gold-dim:     rgba(254,230,0,.15);
  --gold-border:  rgba(254,230,0,.35);

  /* Status */
  --green:        #4CAF50;
  --green-dim:    rgba(76,175,80,.15);
  --red:          #F44336;
  --red-dim:      rgba(244,67,54,.15);
  --orange:       #FF9800;
  --orange-dim:   rgba(255,152,0,.15);
  --blue:         #2196F3;
  --blue-dim:     rgba(33,150,243,.15);

  /* Crypto */
  --usdt:         #26A17B;
  --btc:          #F7931A;
  --bnb:          #F3BA2F;

  /* Borders */
  --border:       rgba(255,255,255,.08);
  --border2:      rgba(255,255,255,.14);

  /* Layout */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-xs:    6px;
  --nav-h:        64px;
  --safe-bottom:  env(safe-area-inset-bottom, 0px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, textarea { font-family: inherit; outline: none; }
a { text-decoration: none; color: inherit; }

/* ── Page wrapper ── */
.page {
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px);
}

/* ── Logo / Header ── */
.app-logo {
  display: flex;
  justify-content: center;
  padding: 20px 0 8px;
}
.logo-img {
  width: 56px; height: 56px;
}

/* ── Section headers ── */
.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.page-subtitle {
  font-size: 13px;
  color: var(--text3);
  margin-top: 4px;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

/* ── Search page ── */
.search-section {
  padding: 0 16px 16px;
}
.search-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
}
.search-tab {
  flex: 1;
  padding: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text3);
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
}
.search-tab.active {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}
.search-box {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.search-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  padding: 10px 14px;
  transition: border-color .2s;
}
.search-input::placeholder { color: var(--text4); }
.search-input:focus { border-color: var(--gold-border); }
.search-btn {
  padding: 10px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.search-btn:hover { background: var(--gold-dim); color: var(--gold); border-color: var(--gold-border); }

/* ── Sort dropdown ── */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
}
.sort-label { font-size: 12px; color: var(--text3); }
.sort-dropdown {
  position: relative;
}
.sort-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 12px;
  color: var(--text2);
}
.sort-selector svg { transition: transform .2s; }
.sort-dropdown.active .sort-selector svg { transform: rotate(180deg); }
.sort-options {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: var(--bg-elevated);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  min-width: 150px;
  z-index: 10;
  overflow: hidden;
  display: none;
}
.sort-dropdown.active .sort-options { display: block; }
.sort-option {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text2);
  cursor: pointer;
  transition: background .15s;
}
.sort-option:hover { background: var(--border); }
.sort-option.active { color: var(--gold); }

/* ── User card ── */
.users-list { padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.user-card:hover, .user-card:active { background: var(--bg-elevated); border-color: var(--border2); }
.user-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  object-fit: cover;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-username { font-size: 12px; color: var(--text3); margin-top: 1px; }
.user-meta { text-align: right; flex-shrink: 0; }
.user-balance { font-size: 14px; font-weight: 600; color: var(--gold); display: block; }
.user-rating  { font-size: 12px; color: var(--text3); display: block; }
.user-deals   { font-size: 11px; color: var(--text4); display: block; }

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
}
.page-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text3);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.page-btn:hover { border-color: var(--border2); color: var(--text); }
.page-btn.active { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); font-weight: 700; }
.page-btn:disabled { opacity: .3; cursor: default; }

/* ── Bottom navigation ── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + var(--safe-bottom));
  background: var(--bg2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  padding-top: 6px;
  padding-bottom: var(--safe-bottom);
  z-index: 100;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.nav-icon {
  width: 24px; height: 24px;
  color: var(--text4);
  transition: color .2s;
}
.nav-label {
  font-size: 10px;
  color: var(--text4);
  transition: color .2s;
  letter-spacing: .2px;
}
.nav-item.active .nav-icon,
.nav-item.active .nav-label { color: var(--gold); }
.nav-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 18px);
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.nav-badge[hidden] { display: none !important; }

/* ── Tabs (deals, help, notifications) ── */
.tabs-row {
  display: flex;
  gap: 0;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-row::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text3);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  cursor: pointer;
  background: none;
}
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── Deal cards ── */
.deals-list { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: border-color .2s;
}
.deal-card:hover { border-color: var(--border2); }
.deal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.deal-id { font-size: 11px; color: var(--text4); font-family: monospace; }
.deal-status { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.deal-status.waiting  { background: var(--orange-dim); color: var(--orange); }
.deal-status.active   { background: var(--blue-dim);   color: var(--blue); }
.deal-status.completed{ background: var(--green-dim);  color: var(--green); }
.deal-status.cancelled{ background: var(--red-dim);    color: var(--red); }
.deal-status.disputed { background: var(--gold-dim);   color: var(--gold); }
.deal-amount { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.deal-currency-usdt { color: var(--usdt); }
.deal-currency-btc  { color: var(--btc); }
.deal-currency-bnb  { color: var(--bnb); }
.deal-desc { font-size: 13px; color: var(--text3); margin-bottom: 10px; line-height: 1.4; }
.deal-parties { display: flex; gap: 8px; align-items: center; }
.deal-party { display: flex; align-items: center; gap: 6px; }
.deal-party img {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-elevated);
  object-fit: cover;
}
.deal-party-name { font-size: 12px; color: var(--text2); }
.deal-party-role { font-size: 10px; color: var(--text4); }
.deal-arrow { color: var(--text4); font-size: 14px; }
.deal-date { font-size: 11px; color: var(--text4); margin-top: 8px; }

/* ── Deal detail ── */
.deal-detail { padding: 16px; }
.deal-detail-amount { font-size: 32px; font-weight: 700; margin: 16px 0 8px; }
.deal-detail-desc {
  font-size: 14px; color: var(--text2);
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.parties-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}
.party-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.party-row:last-child { border-bottom: none; }
.party-row img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--bg-elevated); }
.party-row-info { flex: 1; }
.party-row-name { font-size: 14px; font-weight: 600; }
.party-row-role { font-size: 11px; color: var(--text4); }
.party-confirm { font-size: 11px; font-weight: 600; }
.party-confirm.yes { color: var(--green); }
.party-confirm.no  { color: var(--text4); }

/* ── Buttons ── */
.btn {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  transition: opacity .15s, transform .1s;
  cursor: pointer;
  border: none;
  width: 100%;
}
.btn:active { transform: scale(.98); opacity: .85; }
.btn-primary   { background: var(--gold);  color: #000; }
.btn-secondary { background: var(--bg-elevated); border: 1px solid var(--border2); color: var(--text2); }
.btn-danger    { background: var(--red-dim); border: 1px solid rgba(244,67,54,.3); color: var(--red); }
.btn-success   { background: var(--green-dim); border: 1px solid rgba(76,175,80,.3); color: var(--green); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btns-row { display: flex; gap: 8px; padding: 0 16px; margin-top: 8px; }

/* ── FAB ── */
.fab {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px);
  right: 16px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-size: 24px; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(254,230,0,.4);
  cursor: pointer;
  z-index: 50;
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }

/* ── Notifications ── */
.notif-list { padding: 8px 12px 0; display: flex; flex-direction: column; gap: 6px; }
.notif-item {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color .15s;
  cursor: pointer;
}
.notif-item.unread { border-left: 3px solid var(--gold); background: #1a1700; }
.notif-item.unread:hover { border-color: var(--gold-border); }
.notif-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.notif-icon.deal    { background: var(--blue-dim);   }
.notif-icon.money   { background: var(--green-dim);  }
.notif-icon.system  { background: var(--bg-elevated); }
.notif-icon.warning { background: var(--orange-dim); }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 14px; font-weight: 600; }
.notif-msg   { font-size: 12px; color: var(--text3); margin-top: 2px; line-height: 1.4; }
.notif-time  { font-size: 11px; color: var(--text4); margin-top: 4px; }

/* ── Profile page ── */
.profile-header {
  position: relative;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold-border);
  object-fit: cover;
  background: var(--bg-elevated);
  margin-bottom: 12px;
}
.profile-name { font-size: 20px; font-weight: 700; }
.profile-username { font-size: 13px; color: var(--text3); margin-top: 2px; }
.profile-desc {
  font-size: 13px; color: var(--text2);
  margin-top: 10px; line-height: 1.6;
  max-width: 320px;
}
.profile-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px;
  padding: 0 16px 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
}
.stat-val { font-size: 20px; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 11px; color: var(--text3); margin-top: 2px; }
.rating-stars { color: var(--gold); font-size: 18px; }

/* ── Help page ── */
.help-header { padding: 20px 16px 0; }
.help-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.help-tab {
  flex: 1; padding: 12px;
  font-size: 13px; font-weight: 500;
  color: var(--text3);
  border-bottom: 2px solid transparent;
  transition: all .2s;
  text-align: center;
  background: none; cursor: pointer;
}
.help-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.contacts-list { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.contact-card {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  align-items: center;
}
.contact-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
  flex-shrink: 0;
}
.contact-info { flex: 1; min-width: 0; }
.contact-name { font-size: 15px; font-weight: 600; }
.contact-role { font-size: 12px; color: var(--gold); margin-top: 2px; }
.contact-desc { font-size: 12px; color: var(--text3); margin-top: 4px; line-height: 1.4; }
.contact-tg {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(33,150,243,.12);
  border: 1px solid rgba(33,150,243,.25);
  border-radius: 20px;
  color: #60b4ff;
  font-size: 12px;
  font-weight: 500;
}

/* ── Create deal modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 200;
  display: flex; align-items: flex-end;
  backdrop-filter: blur(4px);
  transition: opacity .25s;
}
.modal-overlay[hidden] { opacity: 0; pointer-events: none; }
.modal-sheet {
  background: var(--bg2);
  border-radius: 20px 20px 0 0;
  padding: 20px 16px calc(var(--safe-bottom) + 20px);
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-drag { width: 36px; height: 4px; background: var(--border2); border-radius: 2px; margin: 0 auto 20px; }
.modal-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.form-field { margin-bottom: 14px; }
.form-label { font-size: 12px; color: var(--text3); margin-bottom: 6px; display: block; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  padding: 10px 14px;
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-border);
}
.form-textarea { resize: none; min-height: 80px; }
.form-select { appearance: none; }
.currency-row { display: flex; gap: 6px; }
.currency-btn {
  flex: 1; padding: 8px 4px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text3);
  font-size: 12px; font-weight: 600;
  transition: all .15s;
}
.currency-btn.active { border-color: var(--gold-border); color: var(--gold); background: var(--gold-dim); }
.currency-btn.usdt.active { border-color: rgba(38,161,123,.5); color: var(--usdt); background: rgba(38,161,123,.12); }
.currency-btn.btc.active  { border-color: rgba(247,147,26,.5); color: var(--btc); background: rgba(247,147,26,.12); }
.currency-btn.bnb.active  { border-color: rgba(243,186,47,.5); color: var(--bnb); background: rgba(243,186,47,.12); }

/* ── Empty state ── */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  padding: 48px 24px;
  text-align: center;
}
.empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.empty-title { font-size: 16px; font-weight: 600; color: var(--text2); }
.empty-desc  { font-size: 13px; color: var(--text4); margin-top: 6px; line-height: 1.5; }

/* ── Loading ── */
.loading {
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
}
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toasts ── */
.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px);
  left: 16px; right: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  z-index: 300;
  transition: transform .25s, opacity .25s;
  display: flex; align-items: center; gap: 10px;
}
.toast.success { border-color: rgba(76,175,80,.4); background: var(--green-dim); color: var(--green); }
.toast.error   { border-color: rgba(244,67,54,.4);  background: var(--red-dim);   color: var(--red); }
.toast[hidden] { display: none !important; }

/* ── Slide animations (help tabs) ── */
@keyframes slideOutLeft  { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(-24px); } }
@keyframes slideInRight  { from { opacity:0; transform:translateX(24px); } to { opacity:1; transform:translateX(0); } }
.slide-out-left { animation: slideOutLeft .25s ease forwards; }
.slide-in-right { animation: slideInRight .25s ease forwards; }

/* ── Admin ── */
.admin-deal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 8px;
}
.admin-actions { display: flex; gap: 8px; margin-top: 10px; }
.admin-actions .btn { width: auto; flex: 1; }

/* ── Reviews ── */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.review-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.review-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--bg-elevated); }
.review-name   { font-size: 13px; font-weight: 600; }
.review-stars  { margin-left: auto; color: var(--gold); font-size: 12px; }
.review-text   { font-size: 13px; color: var(--text3); line-height: 1.5; }

/* ── Utilities ── */
.text-gold   { color: var(--gold); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--text3); }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }

/* ── Profile page ── */
.profile-page .page { padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px); }
.profile-card { padding: 24px 16px 16px; display: flex; flex-direction: column; align-items: center; }
.profile-top  { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.profile-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 16px 0; width: 100%; }
.stat-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 6px; text-align: center; }
.stat-value { font-size: 16px; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 11px; color: var(--text3); margin-top: 2px; }
.admin-badge {
  display: inline-block; padding: 2px 10px;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid var(--gold-border); border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  margin-top: 6px;
}
.reviews-section { padding: 0 16px 16px; }
.section-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.review-info { flex: 1; min-width: 0; }
.review-author { font-size: 13px; font-weight: 600; }
.review-date   { font-size: 11px; color: var(--text4); margin-top: 1px; }
.review-comment { font-size: 13px; color: var(--text3); line-height: 1.5; margin-top: 4px; }
.avatar-upload-row { display: flex; align-items: center; gap: 12px; }
.avatar-preview { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-border); background: var(--bg-elevated); flex-shrink: 0; }

/* ── Help page panels ── */
.help-panel { padding: 12px 16px; }
.help-panel:not(.active) { display: none; }
.help-intro { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.help-intro-icon { font-size: 28px; flex-shrink: 0; }
.help-intro-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.help-intro-desc  { font-size: 12px; color: var(--text3); line-height: 1.5; }
.contact-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg-elevated); flex-shrink: 0; }
.contact-username { font-size: 12px; color: var(--text4); margin-top: 1px; }
.contact-btn {
  display: inline-block; padding: 6px 14px;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid var(--gold-border); border-radius: 20px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; flex-shrink: 0;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px; cursor: pointer; gap: 8px;
  font-size: 14px; font-weight: 500;
}
.faq-arrow { color: var(--gold); font-size: 16px; transition: transform .2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 14px 14px;
  font-size: 13px; color: var(--text3);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.faq-item.open .faq-a { display: block; }

/* ── Notifications ── */
.notif-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 16px 8px; }
.btn-read-all { font-size: 12px; color: var(--gold); background: none; cursor: pointer; padding: 4px 10px; border: 1px solid var(--gold-border); border-radius: 20px; }
.filter-row { display: flex; gap: 6px; padding: 8px 16px 4px; overflow-x: auto; }
.filter-btn {
  flex-shrink: 0; padding: 6px 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; font-size: 12px; font-weight: 500;
  color: var(--text3); transition: all .15s;
}
.filter-btn.active { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }
.notif-list { padding: 8px 16px; }
.notif-card {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px;
  position: relative;
}
.notif-card.unread { border-color: var(--gold-border); background: var(--gold-dim); }
.notif-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.notif-body { flex: 1; min-width: 0; }
.notif-title   { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.notif-message { font-size: 13px; color: var(--text3); line-height: 1.4; }
.notif-time    { font-size: 11px; color: var(--text4); margin-top: 4px; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 4px; }

/* ── Deal card extras ── */
.deal-id    { font-size: 11px; color: var(--text4); font-family: monospace; }
.deal-desc  { font-size: 13px; color: var(--text3); margin: 4px 0 8px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-date  { font-size: 11px; color: var(--text4); }
.deal-parties { display: flex; gap: 8px; margin-bottom: 6px; }
.deal-party { display: flex; align-items: center; gap: 6px; }
.deal-party img { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-elevated); }
.deal-party-name { font-size: 12px; font-weight: 500; }
.deal-party-role { font-size: 11px; color: var(--text4); }
.deal-detail-amount { font-size: 28px; font-weight: 700; margin: 12px 0 8px; }
.party-confirm { font-size: 11px; padding: 3px 8px; border-radius: 20px; flex-shrink: 0; }
.party-confirm.yes { background: rgba(76,175,80,.15); color: var(--green); }
.party-confirm.no  { background: var(--bg-elevated); color: var(--text4); }

/* ── Admin panel ── */
.admin-tabs   { display: flex; border-bottom: 1px solid var(--border); padding: 0 16px; }
.admin-section { padding: 12px 16px; display: none; }
.admin-section.active { display: block; }
.admin-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; margin-bottom: 10px;
}
.admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.admin-card-parties { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text3); margin-top: 6px; }

/* ── Buttons extra ── */
.btn-success {
  background: rgba(76,175,80,.15); border: 1px solid rgba(76,175,80,.35);
  color: var(--green); border-radius: var(--radius-sm);
  padding: 10px 16px; font-size: 14px; font-weight: 600;
  width: 100%; text-align: center; cursor: pointer;
}
.btn-danger {
  background: rgba(244,67,54,.12); border: 1px solid rgba(244,67,54,.3);
  color: var(--red); border-radius: var(--radius-sm);
  padding: 10px 16px; font-size: 14px; font-weight: 600;
  width: 100%; text-align: center; cursor: pointer;
}

/* ── Deals tabs row ── */
.tabs-row { display: flex; border-bottom: 1px solid var(--border); padding: 0 16px; }
.tab-btn {
  flex: 1; padding: 10px 4px;
  font-size: 13px; font-weight: 500;
  color: var(--text3);
  border-bottom: 2px solid transparent;
  transition: all .2s; cursor: pointer; background: none;
}
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.deals-list { padding: 8px 16px; }
