/* ============================================================
   LOCAHUB — main.css
   Police : Syne (titres) + DM Sans (corps)
   Palette : Marine profond + Or chaud + Blanc cassé
   ============================================================ */

/* ─── VARIABLES ─── */

:root {
  --navy:    #0f2c4a;
  --navy2:   #1a3f63;
  --gold:    #e8a020;
  --gold2:   #f5c05a;
  --cream:   #faf8f4;
  --white:   #ffffff;
  --gray:    #6b7280;
  --gray-lt: #f3f4f6;
  --border:  #e5e7eb;
  --red:     #dc2626;
  --green:   #16a34a;
  --shadow:  0 4px 24px rgba(15,44,74,.10);
  --radius:  12px;
  --radius-sm: 8px;
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 15px;
}

/* ─── CONTENEUR ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── NAVBAR ─── */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-text {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
}

.brand-text strong {
  color: #f97316; /* orange moderne */
}

.navbar {
  background: var(--navy);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.brand-icon { font-size: 22px; }
.brand strong { color: var(--gold); }

.nav-search { flex: 1; max-width: 440px; }
.nav-search form { display: flex; background: rgba(255,255,255,.12); border-radius: 8px; overflow: hidden; }
.nav-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 9px 14px;
  outline: none;
}
.nav-search input::placeholder { color: rgba(255,255,255,.5); }
.nav-search button {
  background: var(--gold);
  border: none;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 16px;
  transition: background var(--transition);
}
.nav-search button:hover { background: var(--gold2); }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.85); padding: 7px 12px; border-radius: 6px; font-size: 14px; transition: all var(--transition); }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.btn-post {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}
.btn-post:hover { background: var(--gold2) !important; }
.btn-login { border: 1px solid rgba(255,255,255,.3) !important; border-radius: 8px !important; }
.btn-register { background: var(--gold) !important; color: var(--navy) !important; font-weight: 600 !important; border-radius: 8px !important; }
.btn-admin { background: rgba(232,160,32,.2) !important; color: var(--gold2) !important; border-radius: 8px !important; }
.btn-logout { color: rgba(255,255,255,.6) !important; font-size: 13px !important; }

.nav-avatar { display: flex; align-items: center; gap: 8px; }
.nav-avatar img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; }

/* ─── ALERTS ─── */
.alert {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  animation: slideDown .3s ease;
}
.alert-success { background: #dcfce7; color: #15803d; border-left: 4px solid var(--green); }
.alert-error   { background: #fee2e2; color: #b91c1c; border-left: 4px solid var(--red); }
.alert button  { background: none; border: none; cursor: pointer; font-size: 18px; opacity: .6; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #1e4d7d 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 680px; margin: 0 auto; }
.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--gold); }
.hero p { color: rgba(255,255,255,.75); font-size: 18px; margin-bottom: 36px; }

.hero-search {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  max-width: 640px;
  margin: 0 auto;
}
.hero-search input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  outline: none;
  font-size: 15px;
  color: var(--navy);
}
.hero-search select {
  border: none;
  border-left: 1px solid var(--border);
  padding: 16px 14px;
  outline: none;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}
.hero-search button {
  background: var(--gold);
  border: none;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.hero-search button:hover { background: var(--gold2); }

/* ─── SECTIONS ─── */
.section { padding: 60px 0; }
.section-alt { background: var(--white); }
.section-title {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.section-title em { color: var(--gold); font-style: normal; }

/* ─── CATÉGORIES ─── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}
.cat-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cat-card:hover, .cat-card.active {
  border-color: var(--gold);
  background: #fffbf0;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cat-icon { font-size: 28px; }
.cat-name { font-weight: 600; font-size: 13px; color: var(--navy); }
.cat-count { font-size: 11px; color: var(--gray); }

/* ─── GRILLE PRODUITS ─── */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.sort-controls select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  outline: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(15,44,74,.16); }
.product-img { position: relative; height: 190px; overflow: hidden; background: var(--gray-lt); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; color: var(--gray); }
.product-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15,44,74,.82);
  color: var(--white);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-body h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-location { font-size: 13px; color: var(--gray); }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.product-price { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.product-price small { font-size: 12px; font-weight: 400; color: var(--gray); font-family: var(--font-body); }
.product-rating { font-size: 13px; color: var(--gold); font-weight: 600; }

/* ─── PAGINATION ─── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}
.pagination a:hover, .pagination a.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.empty-state span { font-size: 56px; display: block; margin-bottom: 16px; }
.empty-state p { font-size: 16px; }
.empty-state a { color: var(--gold); font-weight: 600; }

/* ─── AUTH ─── */
.auth-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
}
.auth-box {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
}
.auth-box-wide { max-width: 560px; }
.auth-logo {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}
.auth-box h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
}
.auth-sub { color: var(--gray); text-align: center; margin-bottom: 28px; font-size: 14px; }
.auth-link { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray); }
.auth-link a { color: var(--gold); font-weight: 600; }

/* ─── FORMS ─── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: 13px; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,160,32,.15); }
.form-group small { font-size: 12px; color: var(--gray); }
.form-group input:disabled { background: var(--gray-lt); cursor: not-allowed; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-pass { position: relative; }
.input-pass input { padding-right: 44px; }
.input-pass button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 16px;
}

/* ─── BOUTONS ─── */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-sm {
  background: var(--navy);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.btn-post-sm {
  background: var(--gold) !important;
  color: var(--navy) !important;
  text-align: center;
  padding: 10px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  margin-top: 8px;
}
.btn-accept { background: #dcfce7; color: #15803d; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.btn-refuse { background: #fee2e2; color: #b91c1c; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.btn-contact {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-right: 8px;
  margin-top: 8px;
}
.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: var(--white);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

/* ─── FORMULAIRE PAGE ─── */
.form-page { padding: 48px 0; }
.form-box {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-box h2, .form-box h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.form-subtitle { color: var(--gray); margin-bottom: 28px; }
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  color: var(--gray);
  transition: all var(--transition);
}
.upload-zone:hover { border-color: var(--gold); background: #fffbf0; }
.img-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.preview-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }

/* ─── DETAIL PAGE ─── */
.detail-page { padding: 40px 0 60px; }
.gallery { margin-bottom: 32px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; height: 420px; background: var(--gray-lt); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.no-img-large { display: flex; align-items: center; justify-content: center; height: 420px; font-size: 80px; background: var(--gray-lt); border-radius: var(--radius); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .7; transition: opacity var(--transition); }
.thumb:hover { opacity: 1; }

.detail-content { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge-cat, .badge-rating, .badge-views {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.badge-cat   { background: #eff6ff; color: #1d4ed8; }
.badge-rating{ background: #fffbeb; color: #92400e; }
.badge-views { background: var(--gray-lt); color: var(--gray); }

.detail-main h1 {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.detail-location { color: var(--gray); margin-bottom: 16px; }
.detail-price {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}
.detail-price span { color: var(--gold); }
.detail-price small { font-size: 1rem; color: var(--gray); font-family: var(--font-body); font-weight: 400; }
.detail-desc h3 { font-family: var(--font-title); font-size: 1.1rem; margin-bottom: 10px; }
.detail-desc p { color: var(--gray); line-height: 1.8; }

.owner-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--gray-lt);
  border-radius: var(--radius);
  margin-top: 28px;
  align-items: flex-start;
}
.owner-card img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.owner-card strong { font-family: var(--font-title); font-size: 1rem; }
.owner-card p { font-size: 13px; color: var(--gray); margin-top: 4px; }

.rent-form-box {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.rent-form-box h3 { font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }

.reviews-section { margin-top: 48px; }
.reviews-section h3 { font-family: var(--font-title); font-size: 1.3rem; margin-bottom: 20px; }
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-card strong { font-weight: 700; }
.stars { margin-left: 8px; font-size: 14px; }
.review-card p { margin-top: 6px; color: var(--gray); font-size: 14px; }
.review-card small { color: var(--gray); font-size: 12px; }

/* ─── DASHBOARD ─── */
.dashboard {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  padding: 36px 0 60px;
  align-items: start;
}
.dash-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
}
.user-card { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.user-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.user-card strong { display: block; font-weight: 700; font-size: 15px; }
.user-card span { font-size: 12px; color: var(--gray); word-break: break-all; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; }
.dash-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-nav a:hover, .dash-nav a.active { background: var(--navy); color: var(--white); }
.badge { background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }

.dash-main { display: flex; flex-direction: column; gap: 28px; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.stat-card.highlight { border: 2px solid var(--gold); }
.stat-icon { font-size: 28px; }
.stat-card strong { display: block; font-family: var(--font-title); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.stat-card small { font-size: 12px; color: var(--gray); }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-head h3 { font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; }

/* ─── TABLES ─── */
.list-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
thead tr { background: var(--navy); color: var(--white); }
th, td { padding: 13px 16px; text-align: left; font-size: 14px; }
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
tbody tr:hover { background: var(--gray-lt); }
.td-product { display: flex; align-items: center; gap: 10px; }
.td-product img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.actions { display: flex; gap: 8px; }
.actions a { font-size: 18px; padding: 4px; border-radius: 4px; transition: opacity var(--transition); }
.actions a:hover { opacity: .7; }
.actions a.danger:hover { color: var(--red); }

/* ─── STATUTS ─── */
.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-actif    { background: #dcfce7; color: #15803d; }
.status-inactif  { background: var(--gray-lt); color: var(--gray); }
.status-suspendu { background: #fee2e2; color: #b91c1c; }
.status-en_attente { background: #fef9c3; color: #854d0e; }
.status-accepte  { background: #dcfce7; color: #15803d; }
.status-refuse   { background: #fee2e2; color: #b91c1c; }
.status-annule   { background: var(--gray-lt); color: var(--gray); }

.role-badge { padding: 3px 8px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.role-admin       { background: #ede9fe; color: #6d28d9; }
.role-client      { background: #dbeafe; color: #1d4ed8; }
.role-proprietaire{ background: #fef9c3; color: #854d0e; }

/* ─── DEMANDES ─── */
.requests-list { display: flex; flex-direction: column; gap: 16px; }
.request-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  align-items: flex-start;
}
.request-card img { width: 80px; height: 70px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.request-info { flex: 1; }
.request-info h4 { font-family: var(--font-title); font-weight: 700; margin-bottom: 6px; }
.request-info p { font-size: 14px; color: var(--gray); margin-bottom: 4px; }
.request-msg { font-style: italic; }
.request-status { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.request-status small { color: var(--gray); font-size: 12px; }
.request-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ─── ADMIN ─── */
.admin-panel { padding: 36px 0 60px; }
.admin-header { margin-bottom: 28px; }
.admin-header h2 { font-family: var(--font-title); font-size: 1.8rem; font-weight: 800; }
.admin-section { margin-top: 40px; }
.admin-section h3 { font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }

/* ─── AVATAR UPLOAD ─── */
.avatar-upload { text-align: center; margin-bottom: 24px; }
.avatar-upload img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); margin: 0 auto 12px; }
.avatar-upload label {
  display: inline-block;
  background: var(--gray-lt);
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.avatar-upload label:hover { background: var(--border); }

/* ─── FOOTER ─── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); margin-top: auto; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .brand-icon { font-size: 24px; }
.footer-brand strong { font-family: var(--font-title); font-size: 20px; color: var(--white); }
.footer-brand p { margin-top: 10px; font-size: 14px; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-family: var(--font-title); font-size: 1rem; margin-bottom: 14px; }
.footer-links a { display: block; margin-bottom: 8px; font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 14px; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .detail-content { grid-template-columns: 1fr; }
  .rent-form-box { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dashboard { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
}
@media (max-width: 640px) {
  .nav-search { display: none; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; right: 0; background: var(--navy); padding: 20px; border-radius: 0 0 0 12px; width: 220px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 48px 20px; }
  .hero-search { flex-direction: column; border-radius: 12px; }
  .hero-search select { border-left: none; border-top: 1px solid var(--border); }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 24px 20px; }
  .auth-box { padding: 30px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .gallery-main { height: 260px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
