/* ================== RESET ================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ================== VARIABLES GWOKA ================== */
:root {
  --bg: #faf6f0;
  --bg-secondary: #f2ebe0;
  --bg-tertiary: #e8ddd0;
  --text: #1f1208;
  --text-muted: #8b6e5a;
  --border: rgba(139, 90, 43, 0.15);
  --border-hover: rgba(139, 90, 43, 0.3);
  --accent: #8b4513;
  --accent-hover: #6b3410;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }

.header {
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__left { display: flex; align-items: center; }
.logo-text { font-size: 17px; font-weight: 600; letter-spacing: -0.3px; color: var(--text); }

.nav {
  display: flex; align-items: center; gap: 4px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-link {
  font-size: 13px; color: var(--text-muted);
  padding: 6px 12px; border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
  border-bottom: none; text-transform: none; letter-spacing: 0;
}
.nav-link:hover { background: var(--bg-secondary); color: var(--text); }
.nav-link.active { color: var(--text); font-weight: 500; }

.header__right { display: flex; align-items: center; gap: 8px; }

.kaaz-header-menu-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 0.5px solid var(--border);
  background: var(--bg-secondary); color: var(--text);
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.kaaz-header-menu-btn:hover { background: var(--bg-tertiary); }

.kaaz-menu-overlay { position: fixed; inset: 0; background: rgba(31,18,8,0.35); z-index: 9998; }
.kaaz-menu-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: var(--bg); border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 30px rgba(31,18,8,0.12);
  max-height: 80vh; overflow: auto; padding: 8px 16px 24px;
}
.kaaz-menu-handle { width: 36px; height: 4px; border-radius: 999px; background: var(--border-hover); margin: 8px auto 12px; }
.kaaz-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 12px; border-bottom: 0.5px solid var(--border); margin-bottom: 8px; }
.kaaz-menu-title { font-weight: 600; font-size: 15px; color: var(--text); }
.kaaz-menu-close { border: 0; background: transparent; font-size: 16px; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--text-muted); }
.kaaz-menu-close:hover { background: var(--bg-secondary); }
.kaaz-menu-section { margin-top: 8px; }
.kaaz-menu-section-title { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 12px 4px 6px; opacity: 0.7; }
.kaaz-menu-item { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-radius: var(--radius-md); color: var(--text); font-size: 14px; text-decoration: none; }
.kaaz-menu-item:hover { background: var(--bg-secondary); }
.kaaz-menu-button { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; font-family: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: none; transition: opacity 0.15s, background 0.15s, transform 0.12s;
  white-space: nowrap; font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--accent); color: #faf6f0; }
.btn-dark:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border: 0.5px solid var(--border-hover); color: var(--text); }
.btn-outline:hover { background: var(--bg-secondary); }
.btn-danger { background: #c0392b; color: #fff; }
.btn-muted { background: var(--bg-secondary); color: var(--text); border: none; }
.btn-muted:hover { background: var(--bg-tertiary); }

.search { padding: 20px 32px 0; }
.search__form {
  max-width: 960px; margin: 0 auto;
  background: #fff9f2; border: 0.5px solid var(--border);
  border-radius: var(--radius-pill);
  display: flex; align-items: stretch;
  box-shadow: 0 2px 20px rgba(139,69,19,0.06);
}
.search__field { flex: 1; padding: 14px 20px; border-right: 0.5px solid var(--border); cursor: pointer; transition: background 0.15s; min-width: 0; }
.search__field:last-of-type { border-right: none; }
.search__field:hover { background: var(--bg-secondary); }
.search__field:first-child { border-radius: var(--radius-pill) 0 0 var(--radius-pill); }
.search__label { font-size: 11px; font-weight: 600; color: var(--text); margin-bottom: 3px; letter-spacing: 0.02em; }
.search__input-wrap { display: flex; align-items: center; gap: 6px; }
.search__input-wrap input, .search__input-wrap select { border: none; outline: none; background: transparent; font-size: 14px; color: var(--text-muted); font-family: inherit; width: 100%; cursor: pointer; }
.search__btn { margin: 6px; background: var(--accent); color: #faf6f0; border: none; border-radius: var(--radius-pill); padding: 0 24px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.15s; flex-shrink: 0; font-family: inherit; }
.search__btn:hover { background: var(--accent-hover); }

.layout { max-width: 1200px; margin: 20px auto 40px; padding: 0 32px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 20px; }

.results { max-height: calc(100vh - 180px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 4px; }
.results::-webkit-scrollbar { width: 4px; }
.results::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 999px; }
.results-header { font-size: 13px; color: var(--text-muted); padding: 4px 0 8px; }

.result-card { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 14px; display: flex; gap: 14px; align-items: center; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.result-card:hover { border-color: var(--border-hover); box-shadow: 0 2px 16px rgba(139,69,19,0.08); }
.result-thumb { width: 64px; height: 64px; border-radius: var(--radius-md); object-fit: cover; background: var(--bg-secondary); flex-shrink: 0; }
.result-body { flex: 1; min-width: 0; }
.result-title { margin: 0 0 2px; font-size: 15px; font-weight: 500; color: var(--text); }
.result-sub { margin: 0 0 4px; font-size: 13px; color: var(--text-muted); }
.result-meta { margin: 0; font-size: 13px; color: var(--text); }
.result-btn { flex-shrink: 0; font-size: 13px; font-weight: 500; color: var(--accent); border: 0.5px solid var(--border-hover); border-radius: var(--radius-pill); padding: 7px 16px; background: #fff9f2; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.result-btn:hover { background: var(--bg-secondary); }
.result-actions { display: none; }

.map-wrap { background: var(--bg-secondary); border: 0.5px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; position: sticky; top: 76px; }
#map { width: 100%; height: calc(100vh - 200px); min-height: 400px; }
.leaflet-control-attribution { display: none !important; }
.map-pin { background: var(--accent); color: #faf6f0; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; cursor: pointer; border: 2px solid #faf6f0; box-shadow: 0 2px 8px rgba(139,69,19,0.25); }
.map-pin.active { background: #faf6f0; color: var(--accent); border-color: var(--accent); }

.container { max-width: 900px; margin: 0 auto; padding: 32px 32px 60px; }
.page-title { font-size: 26px; font-weight: 600; letter-spacing: -0.3px; margin: 0 0 24px; color: var(--text); }

.tabs { display: flex; border-bottom: 0.5px solid var(--border); margin-bottom: 24px; }
.tab-btn { font-size: 14px; font-weight: 500; color: var(--text-muted); padding: 10px 20px 10px 0; border: none; background: transparent; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -0.5px; transition: color 0.15s; font-family: inherit; outline: none; }
.tab-btn.active { color: var(--text); border-bottom-color: var(--accent); }

.sessions-list { display: flex; flex-direction: column; gap: 12px; }
.sessions-list[hidden] { display: none; }
.session-card { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.15s; }
.session-card:hover { border-color: var(--border-hover); }
.session-thumb { width: 56px; height: 56px; border-radius: var(--radius-md); object-fit: cover; background: var(--bg-secondary); flex-shrink: 0; }
.session-body { flex: 1; min-width: 0; }
.session-name { font-size: 15px; font-weight: 500; margin: 0 0 3px; color: var(--text); }
.session-style { font-size: 13px; color: var(--text-muted); margin: 0 0 8px; }
.session-date { font-size: 13px; color: var(--text); margin: 0 0 12px; }
.session-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state p { font-size: 15px; margin: 0 0 16px; }

.profile-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.profile-card { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; position: sticky; top: 76px; }
.profile-photo { width: 100%; height: 280px; object-fit: cover; display: block; background: var(--bg-secondary); }
.profile-card-body { padding: 18px; }
.profile-name { font-size: 20px; font-weight: 600; margin: 0 0 4px; color: var(--text); }
.profile-style { font-size: 14px; color: var(--text-muted); margin: 0 0 14px; }
.profile-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.profile-meta-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.profile-meta-row span:first-child { color: var(--text-muted); }
.profile-meta-row span:last-child { font-weight: 500; color: var(--text); }
.profile-divider { height: 0.5px; background: var(--border); margin: 14px 0; }
.profile-section-title { font-size: 17px; font-weight: 600; margin: 0 0 10px; color: var(--text); }
.profile-bio { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0 0 24px; }
.review-card { background: var(--bg-secondary); border-radius: var(--radius-md); padding: 14px; margin-bottom: 10px; }
.review-author { font-size: 13px; font-weight: 500; margin: 0 0 4px; color: var(--text); }
.review-text { font-size: 13px; color: var(--text-muted); margin: 0; }
.hint { font-size: 13px; color: var(--text-muted); }

.booking-form { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-xl); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.booking-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.summary-card { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-xl); padding: 20px; }
.summary-photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; max-height: 240px; display: block; background: var(--bg-secondary); margin-bottom: 14px; }
.summary-title { font-size: 17px; font-weight: 600; margin: 0 0 4px; color: var(--text); }
.summary-sub { font-size: 13px; color: var(--text-muted); margin: 0 0 4px; }
.summary-meta { font-size: 13px; color: var(--text); margin: 4px 0; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text); }
input, select, textarea { border: 0.5px solid var(--border); border-radius: var(--radius-md); padding: 10px 14px; font: inherit; font-size: 14px; color: var(--text); background: #fff9f2; outline: none; transition: border-color 0.15s; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
textarea { border-radius: var(--radius-md); resize: vertical; }
.dates { display: flex; align-items: center; gap: 8px; }
.dates input { flex: 1; }
.sep { color: var(--text-muted); font-size: 13px; }

.kaaz-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.kaaz-cal-month { font-size: 15px; font-weight: 600; color: var(--text); }
.kaaz-cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 6px; font-size: 11px; font-weight: 500; color: var(--text-muted); text-align: center; }
.kaaz-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.kaaz-cal-cell { height: 40px; border-radius: var(--radius-sm); border: 0.5px solid var(--border); background: #fff9f2; font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.12s, border-color 0.12s; color: var(--text); }
.kaaz-cal-cell.has { border-color: var(--border-hover); }
.kaaz-cal-cell.no { opacity: 0.3; cursor: not-allowed; }
.kaaz-cal-cell.selected { background: var(--accent); color: #faf6f0; border-color: var(--accent); }
.kaaz-cal-empty { border: none; background: transparent; }
.kaaz-slots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.kaaz-slot-pill { padding: 8px 16px; border-radius: var(--radius-pill); border: 0.5px solid var(--border-hover); background: #fff9f2; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.12s; color: var(--text); }
.kaaz-slot-pill.is-selected { background: var(--accent); color: #faf6f0; border-color: var(--accent); }

.kaaz-modal-overlay { position: fixed; inset: 0; background: rgba(31,18,8,0.4); z-index: 9998; }
.kaaz-modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(860px,calc(100vw - 32px)); max-height: min(88vh,800px); overflow: auto; background: var(--bg); border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(31,18,8,0.2); z-index: 9999; }
.kaaz-modal-head { position: sticky; top: 0; background: var(--bg); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.5px solid var(--border); }
.kaaz-modal-close { border: 0.5px solid var(--border); background: var(--bg); border-radius: var(--radius-sm); padding: 6px 12px; cursor: pointer; font-size: 14px; color: var(--text); }
.kaaz-modal-body { padding: 20px; }

.booking-layout { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
.booking-profile-card { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; position: sticky; top: 76px; }
.booking-profile-img { width: 100%; height: 240px; object-fit: cover; display: block; background: var(--bg-secondary); }
.booking-profile-body { padding: 16px; }
.booking-profile-name { font-size: 18px; font-weight: 600; margin: 0 0 4px; color: var(--text); }
.booking-profile-sub { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; }
.booking-profile-meta { font-size: 13px; color: var(--text); margin: 4px 0; }
.booking-panel .booking-card { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-xl); padding: 20px; }
.booking-card-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--text); }
.booking-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; align-items: flex-end; }
.kaaz-full { width: 100%; margin-top: 12px; }
.kaaz-textarea { width: 100%; border-radius: var(--radius-md); border: 0.5px solid var(--border); padding: 12px 14px; resize: vertical; font-size: 14px; font-family: inherit; background: #fff9f2; color: var(--text); }

.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { background: var(--bg-secondary); border-radius: var(--radius-md); padding: 14px 16px; }
.stat-title { font-size: 11px; font-weight: 500; color: var(--text-muted); margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { font-size: 22px; font-weight: 600; margin: 0; color: var(--text); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dashboard-card { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 18px; }
.dashboard-card h2 { font-size: 14px; font-weight: 600; margin: 0 0 12px; color: var(--text); }

#thread { display: flex; flex-direction: column; gap: 8px; background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 14px; }
.bubble-me, .bubble-them { max-width: 75%; padding: 10px 14px; border-radius: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.bubble-me { align-self: flex-end; background: var(--accent); color: #faf6f0; border-bottom-right-radius: 4px; }
.bubble-them { align-self: flex-start; background: #fff9f2; color: var(--text); border: 0.5px solid var(--border); border-bottom-left-radius: 4px; }
.bubble-header { font-size: 11px; font-weight: 600; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.04em; }
.bubble-text { white-space: pre-wrap; }
.bubble-meta { font-size: 11px; opacity: 0.5; text-align: right; }

.auth-wrap { max-width: 420px; margin: 80px auto; padding: 0 24px; }
.auth-card { background: #fff9f2; border: 0.5px solid var(--border); border-radius: var(--radius-xl); padding: 32px; }
.auth-title { font-size: 22px; font-weight: 600; margin: 0 0 6px; color: var(--text); }
.auth-sub { font-size: 14px; color: var(--text-muted); margin: 0 0 24px; }
.auth-error { margin-top: 10px; padding: 10px 14px; border-radius: var(--radius-md); background: #fde8e8; color: #c0392b; display: none; font-size: 13px; }
.auth-link { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 16px; }
.auth-link a { color: var(--accent); font-weight: 500; }

.pro-layout { display: grid; grid-template-columns: 200px 1fr; min-height: 100vh; }
.pro-sidebar { background: var(--bg-secondary); border-right: 0.5px solid var(--border); padding: 24px 14px; display: flex; flex-direction: column; gap: 4px; }
.pro-sidebar-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 0.5px solid var(--border); }
.pro-nav-item { width: 100%; text-align: left; background: none; border: none; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 13px; color: var(--text-muted); cursor: pointer; transition: background 0.12s; font-family: inherit; }
.pro-nav-item:hover { background: var(--bg-tertiary); color: var(--text); }
.pro-nav-item.active { background: #fff9f2; color: var(--accent); font-weight: 500; border: 0.5px solid var(--border); }
.pro-main { padding: 28px 32px; overflow-y: auto; background: var(--bg); }
.pro-section { display: none; }
.pro-section.active { display: block; }
.pro-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: var(--text); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 12px; margin-bottom: 28px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { text-align: left; padding: 8px 12px; border-bottom: 0.5px solid var(--border); color: var(--text-muted); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.data-table td { padding: 10px 12px; border-bottom: 0.5px solid var(--border); color: var(--text); vertical-align: top; }
.data-table tr:hover td { background: var(--bg-secondary); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-amber { background: #fef3e2; color: #854f0b; }
.badge-gray { background: var(--bg-secondary); color: var(--text-muted); }
.loading { color: var(--text-muted); font-size: 14px; padding: 20px 0; }
.logout-btn { margin-top: auto; padding-top: 16px; border-top: 0.5px solid var(--border); }

.pro-wrap { max-width: 420px; margin: 80px auto; padding: 0 16px; }
.pro-card { background: #fff9f2; border-radius: var(--radius-xl); border: 0.5px solid var(--border); padding: 28px 24px; }
.pro-error { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-md); background: #fde8e8; color: #c0392b; display: none; font-size: 14px; }

/* ================== AVATAR & DROPDOWN ================== */
.kaaz-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #faf6f0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; font-family: inherit;
  transition: opacity 0.15s, transform 0.12s;
  flex-shrink: 0; position: relative;
}
.kaaz-avatar:hover { opacity: 0.85; transform: scale(1.05); }
.kaaz-avatar.guest { background: var(--bg-tertiary); color: var(--text-muted); border: 0.5px solid var(--border); }

.kaaz-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--bg); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); min-width: 220px;
  box-shadow: 0 8px 30px rgba(31,18,8,0.12);
  z-index: 9999; overflow: hidden;
  animation: kaaz-dd-in 0.18s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.kaaz-dropdown-wrap { position: relative; }
@keyframes kaaz-dd-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.kaaz-dd-header {
  padding: 14px 16px 12px;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg-secondary);
}
.kaaz-dd-name { font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 2px; }
.kaaz-dd-role {
  font-size: 11px; font-weight: 500; padding: 2px 8px;
  border-radius: 99px; display: inline-block; margin-top: 4px;
}
.kaaz-dd-role.partner { background: #E1F5EE; color: #085041; }
.kaaz-dd-role.artist  { background: #faeeda; color: #633806; }
.kaaz-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; font-size: 13px; color: var(--text);
  text-decoration: none; cursor: pointer; background: none;
  border: none; width: 100%; font-family: inherit; text-align: left;
  transition: background 0.12s;
}
.kaaz-dd-item:hover { background: var(--bg-secondary); }
.kaaz-dd-item.danger { color: #c0392b; }
.kaaz-dd-item.danger:hover { background: #fde8e8; }
.kaaz-dd-sep { height: 0.5px; background: var(--border); margin: 4px 0; }

/* ================== CONFIRM MODAL ================== */
.kaaz-confirm-overlay {
  position: fixed; inset: 0; background: rgba(31,18,8,0.45);
  z-index: 99998; display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.kaaz-confirm-box {
  background: var(--bg); border-radius: var(--radius-xl);
  padding: 24px; max-width: 340px; width: 100%;
  box-shadow: 0 12px 40px rgba(31,18,8,0.2);
}
.kaaz-confirm-msg {
  font-size: 15px; font-weight: 500; color: var(--text);
  margin: 0 0 18px; line-height: 1.4;
}
.kaaz-confirm-btns {
  display: flex; gap: 8px; justify-content: flex-end;
}

/* ================== TOAST ================== */
.kaaz-toast-wrap {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 99999; display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.kaaz-toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; font-family: inherit;
  background: var(--text); color: var(--bg);
  box-shadow: 0 4px 20px rgba(31,18,8,0.18);
  pointer-events: auto; white-space: nowrap;
  animation: kaaz-toast-in 0.25s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.kaaz-toast.kaaz-toast-out {
  animation: kaaz-toast-out 0.2s ease forwards;
}
.kaaz-toast.success { background: #0e5c3f; color: #e6f4ee; }
.kaaz-toast.error   { background: #8b1a1a; color: #fde8e8; }
.kaaz-toast.info    { background: var(--accent); color: #faf6f0; }
.kaaz-toast-icon    { font-size: 15px; flex-shrink: 0; }

@keyframes kaaz-toast-in {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes kaaz-toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(8px) scale(0.95); }
}

.footer { padding: 24px 32px; text-align: center; font-size: 12px; color: var(--text-muted); border-top: 0.5px solid var(--border); }

@media (max-width: 900px) {
  .header { padding: 0 16px; }
  .nav { position: static; transform: none; display: none; }
  .search { padding: 16px 16px 0; }
  .search__form { flex-direction: column; border-radius: var(--radius-xl); }
  .search__field { border-right: none; border-bottom: 0.5px solid var(--border); }
  .search__field:last-of-type { border-bottom: none; }
  .search__field:first-child { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .search__btn { margin: 10px; border-radius: var(--radius-pill); padding: 12px; }
  .layout { grid-template-columns: 1fr; padding: 0 16px; }
  .map-wrap { position: static; }
  #map { height: 280px; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-profile-card { position: static; }
  .booking-grid { grid-template-columns: 1fr; }
  .container { padding: 20px 16px 40px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .pro-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-title { font-size: 22px; }
  .footer { padding: 20px 16px; }

  /* Boutons plus grands sur mobile */
  .btn { padding: 11px 20px; font-size: 15px; }

  /* Cards résultats empilées */
  .result-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .result-thumb { width: 100%; height: 160px; border-radius: var(--radius-md); }
  .result-btn { width: 100%; text-align: center; }

  /* Sessions cards */
  .session-card { flex-direction: column; }
  .session-thumb { width: 100%; height: 140px; border-radius: var(--radius-md); }
  .session-actions { flex-direction: column; }
  .session-actions .btn { width: 100%; }

  /* Booking form */
  .booking-row { flex-direction: column; }
  .booking-row .field { width: 100%; }

  /* Stats grid 2 colonnes sur mobile */
  .dashboard-stats { grid-template-columns: 1fr 1fr; }

  /* Auth pages */
  .auth-wrap { margin: 40px auto; }
  .auth-card { padding: 24px 20px; }

  /* Messagerie */
  .bubble-me, .bubble-them { max-width: 90%; }

  /* Connect banner */
  .connect-banner { padding: 14px; }
  .connect-banner .btn { width: 100%; margin-top: 8px; }
}
