/* ============================================================
   DREAMWELL ADMIN — Design System
   ============================================================ */

:root {
  --adm-sidebar-bg:      #0d2137;
  --adm-sidebar-hover:   #1a3350;
  --adm-sidebar-active:  #16a34a;
  --adm-sidebar-text:    #94a3b8;
  --adm-sidebar-title:   #475569;
  --adm-sidebar-width:   260px;
  --adm-accent:          #16a34a;
  --adm-accent-light:    #dcfce7;
  --adm-accent-dark:     #15803d;
  --adm-bg:              #f0f4f8;
  --adm-surface:         #ffffff;
  --adm-border:          #e2e8f0;
  --adm-text:            #0f172a;
  --adm-muted:           #64748b;
  --adm-danger:          #ef4444;
  --adm-warning:         #f59e0b;
  --adm-info:            #3b82f6;
  --adm-radius:          12px;
  --adm-shadow:          0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --adm-shadow-md:       0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --adm-shadow-lg:       0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
  --adm-transition:      0.2s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
.adm-root *, .adm-root *::before, .adm-root *::after { box-sizing: border-box; }
.adm-root {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--adm-bg);
  color: var(--adm-text);
  min-height: 100vh;
  display: flex;
  font-size: 14px;
  line-height: 1.5;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.adm-sidebar {
  width: var(--adm-sidebar-width);
  background: var(--adm-sidebar-bg);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 300;
  overflow-y: auto;
  overflow-x: hidden;
  transition: width var(--adm-transition), transform var(--adm-transition);
}
.adm-sidebar::-webkit-scrollbar { width: 4px; }
.adm-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.adm-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  min-height: 72px;
  flex-shrink: 0;
}
.adm-sidebar__brand-icon {
  width: 40px; height: 40px;
  background: var(--adm-accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff;
  flex-shrink: 0; letter-spacing: -0.5px;
}
.adm-sidebar__brand-info {}
.adm-sidebar__brand-name {
  font-size: 15px; font-weight: 700; color: #fff; line-height: 1.2;
}
.adm-sidebar__brand-role {
  font-size: 11px; color: var(--adm-sidebar-text); text-transform: uppercase; letter-spacing: .08em;
}

.adm-sidebar__nav {
  flex: 1;
  padding: 12px 0;
}

.adm-nav-section {
  padding: 16px 20px 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--adm-sidebar-title);
}

.adm-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: var(--adm-sidebar-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--adm-transition);
  cursor: pointer;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  position: relative;
}
.adm-nav-item:hover {
  background: rgba(255,255,255,.05);
  color: #fff;
}
.adm-nav-item.active {
  background: rgba(22,163,74,.15);
  color: #fff;
  border-left-color: var(--adm-accent);
}
.adm-nav-item__icon {
  width: 18px; text-align: center; font-size: 14px; flex-shrink: 0;
  opacity: .8;
}
.adm-nav-item.active .adm-nav-item__icon { opacity: 1; }
.adm-nav-item__label { flex: 1; }
.adm-nav-item__badge {
  background: var(--adm-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}
.adm-nav-item__chevron {
  font-size: 10px;
  transition: transform var(--adm-transition);
  opacity: .5;
}
.adm-nav-item--open .adm-nav-item__chevron { transform: rotate(90deg); }

.adm-nav-sub {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0,0,0,.15);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.adm-nav-sub.open { max-height: 300px; }
.adm-nav-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 48px;
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  transition: all var(--adm-transition);
  border-left: 3px solid transparent;
}
.adm-nav-sub-item:hover { color: #cbd5e1; }
.adm-nav-sub-item.active { color: var(--adm-accent); border-left-color: var(--adm-accent); background: rgba(22,163,74,.08); }

.adm-sidebar__footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.adm-sidebar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--adm-transition);
}
.adm-sidebar__user:hover { background: rgba(255,255,255,.06); }
.adm-user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--adm-accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.adm-user-info { flex: 1; min-width: 0; }
.adm-user-name { font-size: 13px; font-weight: 600; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-user-role { font-size: 11px; color: #64748b; text-transform: capitalize; }
.adm-user-logout { color: #64748b; font-size: 13px; }
.adm-user-logout:hover { color: #ef4444; }

/* ── Main ─────────────────────────────────────────────────── */
.adm-main {
  flex: 1;
  margin-left: var(--adm-sidebar-width);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: margin-left var(--adm-transition);
}
.adm-root.sidebar-collapsed .adm-sidebar { width: 64px; }
.adm-root.sidebar-collapsed .adm-main { margin-left: 64px; }
.adm-root.sidebar-collapsed .adm-sidebar__brand-info,
.adm-root.sidebar-collapsed .adm-nav-item__label,
.adm-root.sidebar-collapsed .adm-nav-item__badge,
.adm-root.sidebar-collapsed .adm-nav-item__chevron,
.adm-root.sidebar-collapsed .adm-nav-section,
.adm-root.sidebar-collapsed .adm-user-info,
.adm-root.sidebar-collapsed .adm-user-logout,
.adm-root.sidebar-collapsed .adm-sidebar__brand-role { display: none; }
.adm-root.sidebar-collapsed .adm-sidebar__brand { justify-content: center; padding: 20px 12px; }
.adm-root.sidebar-collapsed .adm-nav-item { padding: 10px; justify-content: center; }
.adm-root.sidebar-collapsed .adm-nav-item__icon { width: auto; font-size: 16px; }
.adm-root.sidebar-collapsed .adm-sidebar__user { justify-content: center; padding: 8px; }
.adm-root.sidebar-collapsed .adm-nav-sub { display: none; }

/* ── Topbar ───────────────────────────────────────────────── */
.adm-topbar {
  height: 64px;
  background: var(--adm-surface);
  border-bottom: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--adm-shadow);
}
.adm-topbar__toggle {
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--adm-muted);
  font-size: 16px;
  transition: all var(--adm-transition);
  flex-shrink: 0;
}
.adm-topbar__toggle:hover { background: var(--adm-bg); color: var(--adm-text); }

.adm-topbar__breadcrumb {
  font-size: 18px; font-weight: 700; color: var(--adm-text);
  flex-shrink: 0;
}

.adm-topbar__search {
  flex: 1;
  max-width: 360px;
  margin-left: auto;
  position: relative;
}
.adm-topbar__search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  background: var(--adm-bg);
  border: 1.5px solid var(--adm-border);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--adm-text);
  transition: all var(--adm-transition);
  outline: none;
}
.adm-topbar__search input:focus { border-color: var(--adm-accent); background: #fff; }
.adm-topbar__search i {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--adm-muted); font-size: 13px;
}

.adm-topbar__right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.adm-topbar__btn {
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--adm-muted); font-size: 15px;
  position: relative; transition: all var(--adm-transition);
}
.adm-topbar__btn:hover { background: var(--adm-bg); color: var(--adm-text); }
.adm-topbar__btn-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--adm-danger); border-radius: 50%;
  border: 2px solid #fff;
}
.adm-topbar__user {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 8px 4px 4px;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--adm-transition);
}
.adm-topbar__user:hover { background: var(--adm-bg); }
.adm-topbar__user-info { text-align: right; }
.adm-topbar__user-name { font-size: 13.5px; font-weight: 600; color: var(--adm-text); line-height: 1.2; }
.adm-topbar__user-role { font-size: 11px; color: var(--adm-muted); text-transform: capitalize; }

/* ── Page Content ─────────────────────────────────────────── */
.adm-content {
  padding: 28px;
  flex: 1;
  min-height: 0;
}

/* ── Stats Cards ──────────────────────────────────────────── */
.adm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.adm-stat-card {
  background: var(--adm-surface);
  border-radius: var(--adm-radius);
  padding: 22px 20px;
  box-shadow: var(--adm-shadow);
  border: 1px solid var(--adm-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--adm-transition), transform var(--adm-transition);
}
.adm-stat-card:hover { box-shadow: var(--adm-shadow-md); transform: translateY(-1px); }
.adm-stat-card__header { display: flex; align-items: flex-start; justify-content: space-between; }
.adm-stat-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.adm-stat-card__icon--blue   { background: #eff6ff; color: #3b82f6; }
.adm-stat-card__icon--green  { background: #f0fdf4; color: #16a34a; }
.adm-stat-card__icon--orange { background: #fff7ed; color: #f59e0b; }
.adm-stat-card__icon--red    { background: #fef2f2; color: #ef4444; }
.adm-stat-card__icon--teal   { background: #f0fdfa; color: #14b8a6; }
.adm-stat-card__icon--purple { background: #faf5ff; color: #a855f7; }

.adm-stat-card__label {
  font-size: 12.5px; color: var(--adm-muted); font-weight: 500; margin-bottom: 4px;
}
.adm-stat-card__value {
  font-size: 26px; font-weight: 800; color: var(--adm-text); line-height: 1; letter-spacing: -0.5px;
}
.adm-stat-card__trend {
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}
.adm-stat-card__trend--up   { color: #16a34a; }
.adm-stat-card__trend--down { color: var(--adm-danger); }
.adm-stat-card__sub { font-size: 11.5px; color: var(--adm-muted); }

/* ── Cards / Panels ───────────────────────────────────────── */
.adm-card {
  background: var(--adm-surface);
  border-radius: var(--adm-radius);
  border: 1px solid var(--adm-border);
  box-shadow: var(--adm-shadow);
  overflow: hidden;
}
.adm-card__header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--adm-border);
  display: flex; align-items: center; justify-content: space-between;
}
.adm-card__title { font-size: 15px; font-weight: 700; color: var(--adm-text); }
.adm-card__action {
  font-size: 12.5px; color: var(--adm-accent); font-weight: 600;
  text-decoration: none; cursor: pointer; background: none; border: none;
  transition: opacity var(--adm-transition);
}
.adm-card__action:hover { opacity: .8; }
.adm-card__body { padding: 20px; }

/* ── Tables ───────────────────────────────────────────────── */
.adm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.adm-table th {
  padding: 10px 16px; text-align: left;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--adm-muted);
  background: #f8fafc; border-bottom: 1px solid var(--adm-border);
  white-space: nowrap;
}
.adm-table td {
  padding: 13px 16px; border-bottom: 1px solid #f1f5f9;
  vertical-align: middle; color: var(--adm-text);
}
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: #fafbfc; }
.adm-table__thumb {
  width: 52px; height: 40px; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
}
.adm-table__prop-cell { display: flex; align-items: center; gap: 12px; }
.adm-table__prop-title { font-weight: 600; font-size: 13.5px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-table__prop-sub   { font-size: 12px; color: var(--adm-muted); margin-top: 1px; }

/* ── Badges ───────────────────────────────────────────────── */
.adm-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.adm-badge--green  { background: #dcfce7; color: #16a34a; }
.adm-badge--blue   { background: #dbeafe; color: #2563eb; }
.adm-badge--orange { background: #fef3c7; color: #d97706; }
.adm-badge--red    { background: #fee2e2; color: #dc2626; }
.adm-badge--gray   { background: #f1f5f9; color: #64748b; }
.adm-badge--purple { background: #f3e8ff; color: #9333ea; }

/* ── Buttons ──────────────────────────────────────────────── */
.adm-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 8px; border: none;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: all var(--adm-transition); text-decoration: none;
  white-space: nowrap; font-family: inherit;
}
.adm-btn--primary { background: var(--adm-accent); color: #fff; }
.adm-btn--primary:hover { background: var(--adm-accent-dark); }
.adm-btn--outline { background: transparent; border: 1.5px solid var(--adm-border); color: var(--adm-text); }
.adm-btn--outline:hover { border-color: var(--adm-accent); color: var(--adm-accent); }
.adm-btn--danger { background: var(--adm-danger); color: #fff; }
.adm-btn--danger:hover { background: #dc2626; }
.adm-btn--sm { padding: 5px 12px; font-size: 12.5px; }
.adm-btn--icon {
  width: 32px; height: 32px; padding: 0; justify-content: center;
  border-radius: 7px;
}

/* ── Forms ────────────────────────────────────────────────── */
.adm-form-group { display: flex; flex-direction: column; gap: 5px; }
.adm-form-label { font-size: 13px; font-weight: 600; color: var(--adm-text); }
.adm-form-control {
  padding: 9px 13px;
  border: 1.5px solid var(--adm-border);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--adm-text);
  background: var(--adm-surface);
  transition: all var(--adm-transition);
  outline: none;
}
.adm-form-control:focus { border-color: var(--adm-accent); box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
.adm-form-control::placeholder { color: #94a3b8; }
select.adm-form-control { cursor: pointer; }
textarea.adm-form-control { resize: vertical; min-height: 100px; }

/* ── Avatar ───────────────────────────────────────────────── */
.adm-avatar {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0; color: #fff;
}
.adm-avatar--sm  { width: 32px; height: 32px; font-size: 12px; }
.adm-avatar--md  { width: 40px; height: 40px; font-size: 15px; }
.adm-avatar--lg  { width: 56px; height: 56px; font-size: 20px; }
.adm-avatar--xl  { width: 80px; height: 80px; font-size: 28px; }

/* ── Modal ────────────────────────────────────────────────── */
.adm-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 16px;
}
.adm-modal {
  background: var(--adm-surface);
  border-radius: 16px;
  width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}
.adm-modal--sm { max-width: 420px; }
.adm-modal__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--adm-border);
  display: flex; align-items: center; justify-content: space-between;
}
.adm-modal__title { font-size: 16px; font-weight: 700; }
.adm-modal__close {
  width: 32px; height: 32px; background: none; border: none; cursor: pointer;
  border-radius: 7px; color: var(--adm-muted); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--adm-transition);
}
.adm-modal__close:hover { background: var(--adm-bg); color: var(--adm-text); }
.adm-modal__body { padding: 24px; }
.adm-modal__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--adm-border);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ── Toast ────────────────────────────────────────────────── */
.adm-toast-wrap {
  position: fixed; top: 20px; right: 20px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
  min-width: 300px; max-width: 400px;
}
.adm-toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  border-left: 4px solid transparent;
}
.adm-toast--success { border-left-color: #16a34a; }
.adm-toast--error   { border-left-color: #ef4444; }
.adm-toast--warning { border-left-color: #f59e0b; }
.adm-toast--info    { border-left-color: #3b82f6; }
.adm-toast__icon { font-size: 16px; flex-shrink: 0; }
.adm-toast--success .adm-toast__icon { color: #16a34a; }
.adm-toast--error   .adm-toast__icon { color: #ef4444; }
.adm-toast--warning .adm-toast__icon { color: #f59e0b; }
.adm-toast--info    .adm-toast__icon { color: #3b82f6; }
.adm-toast__msg { flex: 1; font-size: 13.5px; font-weight: 500; color: #0f172a; }
.adm-toast__close { background: none; border: none; cursor: pointer; color: #94a3b8; font-size: 12px; }

/* ── Misc ─────────────────────────────────────────────────── */
.adm-divider { height: 1px; background: var(--adm-border); margin: 16px 0; }
.adm-empty { text-align: center; padding: 40px; color: var(--adm-muted); }
.adm-empty i { font-size: 2.5rem; display: block; margin-bottom: 12px; opacity: .4; }
.adm-empty p { font-size: 14px; margin: 0; }

.adm-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 250;
  display: none;
}
.adm-overlay.show { display: block; }

/* ── Animations ───────────────────────────────────────────── */
.adm-fade-enter-active, .adm-fade-leave-active { transition: opacity .2s ease; }
.adm-fade-enter-from, .adm-fade-leave-to { opacity: 0; }
.adm-slide-up-enter-active, .adm-slide-up-leave-active { transition: all .25s ease; }
.adm-slide-up-enter-from { opacity: 0; transform: translateY(10px); }
.adm-slide-up-leave-to   { opacity: 0; transform: translateY(-10px); }
.adm-modal-enter-active, .adm-modal-leave-active { transition: all .25s ease; }
.adm-modal-enter-from, .adm-modal-leave-to { opacity: 0; }
.adm-modal-enter-from .adm-modal, .adm-modal-leave-to .adm-modal { transform: scale(.96); }
.adm-toast-enter-active { animation: adm-slide-in .3s ease; }
.adm-toast-leave-active { animation: adm-slide-in .2s ease reverse; }
@keyframes adm-slide-in { from { opacity:0; transform:translateX(100%); } to { opacity:1; transform:translateX(0); } }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .adm-sidebar { transform: translateX(-100%); }
  .adm-sidebar.mobile-open { transform: translateX(0); }
  .adm-main { margin-left: 0 !important; }
  .adm-overlay.show { display: block; }
}
@media (max-width: 768px) {
  .adm-content { padding: 16px; }
  .adm-stats-grid { grid-template-columns: 1fr 1fr; }
  .adm-topbar__search { display: none; }
  .adm-topbar__user-info { display: none; }
}
@media (max-width: 480px) {
  .adm-stats-grid { grid-template-columns: 1fr; }
}

/* ══ HERO HOMEPAGE - Style Premium (Bayut/Rightmove inspired) ══════════════ */

/* Hero plein écran avec overlay gradien professionnel */
.cs_hero.cs_style_2 {
  padding: 0 !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover !important;
  background-position: center 30% !important;
}

/* Overlay dégradé premium - plus lisible que l'original */
.cs_hero.cs_style_2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 40, 0.82) 0%,
    rgba(10, 20, 40, 0.60) 50%,
    rgba(10, 20, 40, 0.40) 100%
  );
  z-index: 0;
}

.cs_hero.cs_style_2 .container {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 80px;
}

/* Titre hero - centré, grand, impactant */
.cs_hero.cs_style_2 .cs_hero_text {
  max-width: 900px !important;
  margin: 0 auto;
  text-align: center;
}

.cs_hero.cs_style_2 .cs_hero_title {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 18px !important;
}

.cs_hero.cs_style_2 .cs_hero_text > p {
  color: rgba(255,255,255,0.88) !important;
  font-size: 1.25rem !important;
  font-weight: 400;
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* Espacement avant le formulaire */
.cs_hero.cs_style_2 .cs_height_122 {
  height: 40px !important;
}

/* Formulaire de recherche - glassmorphism premium */
.cs_hero.cs_style_2 .cs_tabs.cs_style_1 {
  max-width: 860px;
  margin: 0 auto !important;
}

/* Tabs Buy/Rent/Co-Living */
.cs_hero.cs_style_2 .cs_tab_links.cs_style_1.cs_type_1 {
  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(10px);
  border-radius: 12px 12px 0 0 !important;
  border-bottom: none !important;
  padding: 6px !important;
  gap: 4px !important;
  display: flex !important;
  width: fit-content !important;
  margin-bottom: -2px !important;
}

.cs_hero.cs_style_2 .cs_tab_links.cs_style_1.cs_type_1 li a {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 10px 28px !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
}

.cs_hero.cs_style_2 .cs_tab_links.cs_style_1.cs_type_1 li.active a,
.cs_hero.cs_style_2 .cs_tab_links.cs_style_1.cs_type_1 li a:hover {
  background: #ffffff !important;
  color: var(--cs-accent-color, #22c55e) !important;
}

/* Corps du formulaire */
.cs_hero.cs_style_2 .cs_tab_body.cs_white_bg {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px);
  border-radius: 0 16px 16px 16px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25) !important;
  padding: 28px 28px 24px !important;
}

/* Ligne décorative sous le héro - badge stats */
.cs_hero.cs_style_2 .cs_hero_bottom_stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 28px;
}

.cs_hero_stat {
  text-align: center;
  color: rgba(255,255,255,0.9);
}

.cs_hero_stat_num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.cs_hero_stat_label {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 991px) {
  .cs_hero.cs_style_2 {
    min-height: auto;
  }
  .cs_hero.cs_style_2 .container {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .cs_hero.cs_style_2 .cs_hero_bottom_stats {
    gap: 20px;
    flex-wrap: wrap;
  }
}
/* ════════════════════════════════════════════════════════════════════════════ */

/* ══ HEADER TRANSPARENT (homepage hero fullscreen) ══════════════════════════ */

/* Sur la homepage avec hero plein écran, le header est transparent */
.cs_site_header.cs_style_1:not(.cs_sticky_active):not(.cs_type_2) {
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 100%);
}

/* Quand sticky activé → fond blanc propre */
.cs_site_header.cs_style_1.cs_sticky_active {
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}

/* Logo blanc sur header transparent */
.cs_site_header.cs_style_1:not(.cs_sticky_active).cs_type_1 .cs_site_branding img {
  filter: brightness(0) invert(1);
}

/* Boutons header sur fond transparent */
.cs_site_header.cs_style_1:not(.cs_sticky_active).cs_type_1 .cs_btn.cs_style_1 {
  border-color: rgba(255,255,255,0.7) !important;
  color: #ffffff !important;
}

.cs_site_header.cs_style_1:not(.cs_sticky_active).cs_type_1 .cs_btn.cs_accent_bg {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #ffffff !important;
}


/* Remplacer le focus bleu Bootstrap par le vert Dreamwell */
.form-control:focus,
.form-select:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0.25);
}

/* ════════════════════════════════════════════════════════════════════════════ */

/* ══ ESPACE CLIENT - Styles globaux ════════════════════════════════════════ */

/* Page header */
.cl-page-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:12px }
.cl-page-title  { font-size:22px;font-weight:800;color:#0f172a;margin:0 0 4px }
.cl-page-sub    { color:#64748b;margin:0;font-size:14px }

/* Cartes */
.cl-card { background:#fff;border-radius:14px;box-shadow:0 1px 6px rgba(0,0,0,.06);border:1px solid #f0f2f5;margin-bottom:0 }
.cl-card__header { display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #f1f5f9 }
.cl-card__title  { font-size:15px;font-weight:700;color:#0f172a }
.cl-card__action { font-size:13px;color:#22c55e;text-decoration:none;font-weight:600 }

/* Stats grid */
.cl-stats-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:24px }
.cl-stat-card  { background:#fff;border-radius:14px;padding:20px;box-shadow:0 1px 6px rgba(0,0,0,.06);border:1px solid #f0f2f5;display:flex;align-items:center;gap:16px }
.cl-stat-card__icon { width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0 }
.cl-stat-card__val  { font-size:22px;font-weight:800;color:#0f172a;line-height:1;margin-bottom:3px }
.cl-stat-card__label{ font-size:12.5px;color:#64748b;font-weight:500 }

/* Alertes */
.cl-alert { display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:10px;font-size:13.5px;font-weight:500;border:1px solid;margin-bottom:16px }
.cl-alert--warning { background:#fffbeb;border-color:#fde68a;color:#92400e }
.cl-alert--info    { background:#eff6ff;border-color:#bfdbfe;color:#1e40af }
.cl-alert--error   { background:#fff5f5;border-color:#fecaca;color:#991b1b }
.cl-alert--success { background:#f0fdf4;border-color:#bbf7d0;color:#15803d }

/* Badges */
.cl-badge { display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:700;border:1px solid }
.cl-badge--green  { background:#f0fdf4;color:#16a34a;border-color:#bbf7d0 }
.cl-badge--red    { background:#fff5f5;color:#ef4444;border-color:#fecaca }
.cl-badge--orange { background:#fff7ed;color:#f59e0b;border-color:#fed7aa }
.cl-badge--blue   { background:#eff6ff;color:#3b82f6;border-color:#bfdbfe }
.cl-badge--purple { background:#fdf4ff;color:#a855f7;border-color:#e9d5ff }
.cl-badge--gray   { background:#f8fafc;color:#64748b;border-color:#e2e8f0 }

/* Boutons */
.cl-btn { display:inline-flex;align-items:center;gap:7px;padding:9px 18px;border-radius:8px;font-size:13.5px;font-weight:600;cursor:pointer;text-decoration:none;transition:all .18s;border:1.5px solid transparent;font-family:inherit;white-space:nowrap }
.cl-btn--primary { background:#22c55e;color:#fff;border-color:#22c55e }
.cl-btn--primary:hover { background:#16a34a;border-color:#16a34a;transform:translateY(-1px);box-shadow:0 4px 14px rgba(34,197,94,.3) }
.cl-btn--primary:disabled { opacity:.6;cursor:not-allowed;transform:none;box-shadow:none }
.cl-btn--outline { background:#fff;color:#374151;border-color:#e2e8f0 }
.cl-btn--outline:hover { background:#f8fafc;border-color:#d1d5db }
.cl-btn--sm { padding:6px 12px;font-size:12.5px;border-radius:7px }

/* Table */
.cl-table { width:100%;border-collapse:collapse }
.cl-table thead th { background:#f8fafc;padding:11px 16px;font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.06em;text-align:left;border-bottom:1.5px solid #e2e8f0 }
.cl-table tbody td { padding:13px 16px;font-size:13.5px;color:#374151;border-bottom:1px solid #f8fafc }
.cl-table tbody tr:hover td { background:#fafbfc }

/* Formulaires */
.cl-form-group { display:flex;flex-direction:column;gap:0 }
.cl-form-label { font-size:13px;font-weight:600;color:#374151;margin-bottom:6px;display:block }
.cl-form-input  { width:100%;padding:10px 14px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:13.5px;color:#0f172a;outline:none;transition:border .2s;background:#fafafa;box-sizing:border-box;font-family:inherit }
.cl-form-input:focus { border-color:#22c55e;background:#fff;box-shadow:0 0 0 3px rgba(34,197,94,.1) }

/* Vide */
.cl-empty { text-align:center;padding:40px;color:#94a3b8;font-size:13px;display:flex;flex-direction:column;align-items:center;gap:8px }
.cl-empty i { font-size:2rem;color:#e2e8f0 }

/* ════════════════════════════════════════════════════════════════════════════ */
