:root{
  --gold:#c9a24d;
  --dark:#1e1e1e;
  --sidebar:#111;
  --bg:#f6f6f6;
}
body {
    background: #faf9f7;
    font-family: "Segoe UI", sans-serif;
  }
  
  /* SIDEBAR */
  .sidebar {
    background: #0c0c0c;
    min-height: 100vh;
    padding: 25px;
  }
  
  .sidebar-inner {
    width: 100%;
  }
  .sidebar-logo{
    margin-left: 30px;
    width: 100px;
  }
  .offcanvas-logo{
    margin-left: 50px;
    width: 80px;
  }
  
  .logo h3 {
    color: #d4af37;
    margin: 0;
  }
  
  .logo span {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 1px;
  }
  
  .menu {
    list-style: none;
    padding: 0;
    margin-top: 40px;
  }
  
  .menu li {
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
  }
  
  .menu li i {
    margin-right: 10px;
  }
  
  .menu li.active,
  .menu li:hover {
    background:rgba(201,162,77,0.15);
    color:var(--gold);
  }
  
  .menu .logout {
    margin-top: 30px;
  }
  
  /* CONTENT */
  .content {
    padding: 30px;
  }
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  
  /* CARDS */
  .card-box {
    background: #fff;
    padding: 25px;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    transition:.35s;
    border:1px solid transparent;
    border-radius:15px;
  }
  .menu a{
    text-decoration: none;
    color: inherit;
  }
  
  .card-box p {
    color: #777;
    margin-bottom: 5px;
  }
  
  .card-box h3 {
    font-weight: 700;
  }
  
  .card-box:hover{
    transform:translateY(-10px);
    border-color:var(--gold);
    box-shadow:0 30px 60px rgba(201,162,77,.3);
  }
  
  .card-box:hover h3{
    color:var(--gold);
  }
  
  
  
  /* BUTTONS */
  .btn-outline-gold {
    border: 1px solid #d4af37;
    color: #d4af37;
  }
  
  .btn-outline-gold:hover {
    background: #d4af37;
    color: #000;
  }
  
  /* MOBILE TOPBAR */
  .mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #0c0c0c;
    padding: 10px 15px;
    color: #fff;
  }
  
  .menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
  }
  
  /* OFFCANVAS */
  .mobile-sidebar {
    width: 270px;
  }

  /* Make offcanvas full height */
.offcanvas.mobile-sidebar {
    height: 100vh;
  }
  
  /* Sidebar flex layout */
  .sidebar-inner {
    height: 100%;
  }
  
  /* Menu scroll if needed */
  .menu {
    overflow-y: auto;
    padding-right: 5px;
  }
  
  /* Logout fixed bottom */
  .logout-box {
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  /* Optional: nicer scroll */
  .menu::-webkit-scrollbar {
    width: 4px;
  }
  .menu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
  }
  
  /* Logout container */
.logout-box {
    background: #0c0c0c;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    bottom: 0;
    z-index: 10;
  }
  
  /* Logout button */
  .logout-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 16px;
    padding: 12px 15px;
    text-align: left;
    cursor: pointer;
  }
  
  .logout-btn i {
    margin-right: 10px;
  }
  
  .logout-btn:hover {
    background: rgba(201,162,77,0.15);
  }
  .offcanvas {
    z-index: 1050;
  }
  .offcanvas-backdrop {
    z-index: 1040;
  }
    

/* FORCE offcanvas width on mobile & tablet */
@media (max-width: 991.98px) {
    .offcanvas.mobile-sidebar {
      --bs-offcanvas-width: 240px; /* 👈 THIS IS THE KEY */
      width: 240px;
    }
  }
  
/* Reservation */

.table th {
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
  }
  
  .table td {
    border-bottom: 1px solid #f0f0f0;
  }
  
  .badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
  }
  
  /* Amenities Cards */
.amenity-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
    transition: .3s;
    border: 1px solid transparent;
  }
  
  .amenity-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(201,162,77,.25);
  }
  
  .amenity-card h5 {
    font-weight: 600;
  }
  
  .amenity-card.completed {
    opacity: .9;
    background: #fafafa;
  }
  
  /* Buttons consistency */
  .amenity-card .btn {
    border-radius: 10px;
  }

  /* Guides */
  /* Local Guide Cards */
.guide-card {
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
    transition: .3s;
    border: 1px solid transparent;
  }
  
  .guide-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(201,162,77,.25);
  }
  
  .guide-card h5 {
    font-weight: 600;
  }
  
  /* Guide count box */
  .guide-count {
    background: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    text-align: center;
  }
  
  .guide-count span {
    font-size: 13px;
    color: #777;
  }

  /* Messages */
  /* Messages */
.message-card {
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
    transition: .3s;
    border: 1px solid transparent;
  }
  
  .message-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(201,162,77,.25);
  }
  
  .message-card.unread {
    border-left: 4px solid var(--gold);
  }
  
  .message-preview {
    margin: 12px 0;
    color: #555;
    line-height: 1.5;
  }
  
  /* Message count box */
  .message-count {
    background: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    text-align: center;
  }
  
  .message-count span {
    font-size: 13px;
    color: #777;
  }
  
  /* ================================================= User Dashboard ============================================= */

/* User dashboard cards */
.user-card {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
  transition: .3s;
  border: 1px solid transparent;
}

.user-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(201,162,77,.25);
}

.card-title {
  font-size: 14px;
  color: #777;
  margin-bottom: 6px;
}

.card-value {
  font-weight: 700;
}

/* Guide card for user */
.guide-user-card {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
  border: 1px solid transparent;
}

.guide-user-card:hover {
  border-color: var(--gold);
}

/* User-Reservation */

/* Reservation cards */
.reservation-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
  border: 1px solid transparent;
}

.reservation-card.summary {
  background: #fafafa;
}

/* Inputs */
.form-control,
.form-select {
  border-radius: 10px;
  padding: 10px;
}

/* Button consistency */
.btn-outline-gold {
  border-radius: 12px;
}


/*------------- Request ---------------*/

/* User amenity request cards */
.amenity-user-card,
.amenity-user-status {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
  border: 1px solid transparent;
  transition: .3s;
}

.amenity-user-status:hover {
  border-color: var(--gold);
}

/* Status color hints */
.amenity-user-status.pending {
  border-left: 4px solid #ffc107;
}

.amenity-user-status.approved {
  border-left: 4px solid #0dcaf0;
}

.amenity-user-status.completed {
  border-left: 4px solid #198754;
}

/*------------------------ user-Guide ------------------*/

/* Guide photo card */
.guide-photo-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
}

.guide-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gold);
}

/* Guide detail card */
.guide-detail-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
}

.detail-label {
  font-size: 13px;
  color: #777;
  margin-bottom: 4px;
}

.detail-value {
  font-weight: 600;
}

/* User-message */
/* User Messages */
.message-user-card,
.user-message-card {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
  border: 1px solid transparent;
  transition: .3s;
}

.user-message-card:hover {
  border-color: var(--gold);
}

/* Message preview */
.message-preview {
  margin: 10px 0;
  color: #555;
  line-height: 1.5;
}

/* Unread indicator */
.user-message-card.unread {
  border-left: 4px solid var(--gold);
}

/* Sent message style */
.user-message-card.sent {
  background: #fafafa;
}

/* DESKTOP SIDEBAR FIXED */
@media (min-width: 992px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 240px; /* adjust if needed */
    overflow: hidden; /* sidebar should not scroll */
    z-index: 1000;
  }

  .content {
    margin-left: 240px; /* SAME as sidebar width */
    height: 100vh;
    overflow-y: auto;
  }
}
