/* Tolet BD — Modern UI Theme (Bootstrap 5) */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800&display=swap");
:root {
  /* App colors (modern native feel) */
  --brand-primary: #173B45; /* iOS-like blue */
  --brand-primary-rgb: 10, 132, 255;
  --brand-secondary: #0b1220; /* deep navy */
  --brand-secondary-rgb: 11, 18, 32;

  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --text-1: #212529;
  --text-2: #6c757d;
  --border-soft: rgba(0, 0, 0, 0.08);

  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px rgba(11, 18, 32, 0.10);
  --shadow-hover: 0 16px 50px rgba(11, 18, 32, 0.16);

  --bottom-nav-height: 70px;
  --bottom-nav-total: 88px; /* bar + floating margins */

  /* Desktop sidebar sizing */
  --sidebar-width: 268px;
}

/* Bootstrap theme variable overrides */
:root,
[data-bs-theme="light"] {
  --bs-primary: var(--brand-primary);
  --bs-primary-rgb: var(--brand-primary-rgb);
  --bs-secondary: var(--brand-secondary);
  --bs-secondary-rgb: var(--brand-secondary-rgb);

  --bs-body-color: var(--text-1);
  --bs-body-bg: var(--surface-2);
  --bs-border-color: var(--border-soft);
  --bs-link-color: var(--brand-primary);
  --bs-link-hover-color: #b81320;
  --bs-body-font-family: "Noto Sans Bengali", ui-sans-serif, -apple-system, system-ui,
    Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

html,
body {
  height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.app-bg {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(10, 132, 255, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(10, 132, 255, 0.04), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(15, 23, 42, 0.03), transparent),
    var(--surface-2);
  min-height: 100%;
}

.bg-brand-secondary {
  background-color: var(--brand-secondary) !important;
}

.text-brand-primary {
  color: var(--brand-primary) !important;
}

.text-muted-2 {
  color: var(--text-2) !important;
}

.card-soft {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

/* Property grid: custom CSS Grid, 2 cols (small), 5 cols (large) */
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.property-grid > * {
  min-width: 0;
}
@media (min-width: 992px) {
  .property-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

/* Property card — modern design */
.property-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.property-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.property-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  border-color: rgba(var(--brand-primary-rgb), 0.15);
}

.property-card__thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(15, 23, 42, 0.04);
}

.property-card__thumbnail .tolet-card {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card__content {
  padding: 12px;
  background: #fff;
}

.property-card__content .t-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.9);
  margin: 0 0 6px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card__content .tlc {
  margin-bottom: 6px;
}

.property-card__content .t-location {
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card__content .t-year-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1.4;
}

/* Legacy support */
.product__items--thumbnail {
  position: relative;
  overflow: hidden;
}
.product__items--thumbnail .product__items--img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.product__items--content {
  background: #fff;
}

/* Dashboard sidebar: scrollable menu + submenu */
.dashboard-sidebar {
  height: 100vh;
}

.dashboard-sidebar .sidebar-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 6px;
  flex: 1;
  min-height: 0; /* allow flex child to scroll */
  min-width: 0;
}

.dashboard-sidebar .sidebar-scroll::-webkit-scrollbar {
  width: 8px;
}

.dashboard-sidebar .sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.sidebar-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
}

.sidebar-parent .left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.sidebar-submenu {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.sidebar-submenu .nav-link {
  font-size: 0.95rem;
  padding-left: 12px;
  white-space: normal;
  word-break: break-word;
}

.sidebar-parent[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-parent .bi-chevron-down {
  transition: transform 160ms ease;
  opacity: 0.8;
}

.card-soft-hover {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .card-soft-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
}

.btn {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, background-color 160ms ease;
}

.btn-sm {
  border-radius: 14px;
}

.btn-lg {
  border-radius: 16px;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.22);
}

.btn-primary,
.btn-secondary {
  box-shadow: 0 14px 30px rgba(11, 18, 32, 0.16);
}

.btn-primary:hover,
.btn-secondary:hover {
  filter: brightness(0.98);
}

.btn-outline-secondary {
  box-shadow: none;
}

.btn-outline-secondary {
  --bs-btn-border-color: rgba(15, 23, 42, 0.14);
  --bs-btn-color: #0b1220;
  --bs-btn-bg: rgba(255, 255, 255, 0.72);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.86);
  --bs-btn-hover-border-color: rgba(15, 23, 42, 0.18);
  --bs-btn-active-bg: rgba(255, 255, 255, 0.92);
  --bs-btn-active-border-color: rgba(15, 23, 42, 0.22);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.btn-primary {
  --bs-btn-bg: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: #0073e6;
  --bs-btn-hover-border-color: #0073e6;
  --bs-btn-active-bg: #0066cc;
  --bs-btn-active-border-color: #0066cc;
  --bs-btn-focus-shadow-rgb: var(--brand-primary-rgb);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #1a93ff, #0a84ff);
  border: 0;
}

.btn-secondary {
  --bs-btn-bg: var(--brand-secondary);
  --bs-btn-border-color: var(--brand-secondary);
  --bs-btn-hover-bg: #070c16;
  --bs-btn-hover-border-color: #070c16;
  --bs-btn-active-bg: #050911;
  --bs-btn-active-border-color: #050911;
  --bs-btn-focus-shadow-rgb: var(--brand-secondary-rgb);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #111a2e, #0b1220);
  border: 0;
}

/* Soft custom buttons (optional utilities) */
.btn-soft-primary {
  border-radius: 16px;
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.20);
  color: var(--brand-primary);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.btn-soft-primary:hover {
  background: rgba(var(--brand-primary-rgb), 0.16);
  color: var(--brand-primary);
}

.btn-soft-secondary {
  border-radius: 16px;
  background: rgba(var(--brand-secondary-rgb), 0.06);
  border: 1px solid rgba(var(--brand-secondary-rgb), 0.12);
  color: #0b1220;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.btn-soft-secondary:hover {
  background: rgba(var(--brand-secondary-rgb), 0.08);
  color: #0b1220;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0 !important;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
}

.badge-soft {
  background: rgba(10, 132, 255, 0.10);
  color: #0b5ed7;
  border: 1px solid rgba(10, 132, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-weight: 600;
}

.badge-price {
  background: rgba(10, 132, 255, 0.12);
  color: var(--brand-primary);
  border: 1px solid rgba(10, 132, 255, 0.24);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-weight: 700;
}

.app-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Mobile app header */
.mobile-app-header {
  height: 56px;
  display: flex;
  align-items: center;
}

.mobile-app-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.search-pill {
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.search-pill input {
  background: transparent !important;
  color: #fff !important;
}

.search-pill input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.section-title {
  letter-spacing: -0.02em;
}

.h-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.h-scroll::-webkit-scrollbar {
  height: 8px;
}
.h-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: rgba(15, 23, 42, 0.62);
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border-radius: 16px;
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  padding-top: 0.78rem;
  padding-bottom: 0.78rem;
}

.form-control::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(var(--brand-primary-rgb), 0.55);
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.16), 0 12px 26px rgba(15, 23, 42, 0.06);
}

.form-select {
  padding-right: 2.6rem;
}

.input-group-text {
  border-radius: 16px;
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.55);
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: -1px;
}

.input-group > .form-control,
.input-group > .form-select {
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.form-check-input {
  width: 1.15em;
  height: 1.15em;
  border-radius: 0.35em;
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.16);
  border-color: rgba(var(--brand-primary-rgb), 0.55);
}

.form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.req {
  color: #e11d48;
  font-weight: 900;
}

/* Exact outlined input style (used across app) */
.ui-outline {
  position: relative;
  margin-bottom: 20px;
  margin-top: 2px;
}

.ui-outline > .form-label,
.ui-outline-label {
  position: absolute;
  top: -5px;
  left: 12px;
  padding: 0 8px;
  background: var(--surface);
  color: rgba(15, 23, 42, 0.55);
  font-size: 13px;
  line-height: 1;
  border-radius: 999px;
  margin: 0;
}

.ui-outline > .form-label .req,
.ui-outline-label .req {
  color: #e11d48;
  font-weight: 900;
  margin-left: 4px;
}

.ui-outline .form-control,
.ui-outline .form-select {
  height: 45px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: none;
  background: #fff;
  padding-left: 16px;
  padding-right: 46px;
  color: rgba(15, 23, 42, 0.88);
}

.ui-outline textarea.form-control {
  height: auto;
  min-height: 120px;
  padding-top: 14px;
  padding-right: 16px;
}

.ui-outline .form-control::placeholder {
  color: rgba(15, 23, 42, 0.38);
}

.ui-outline .form-control:focus,
.ui-outline .form-select:focus {
  border-color: rgba(var(--brand-primary-rgb), 0.55);
  box-shadow: none;
}

.ui-outline:focus-within > .form-label,
.ui-outline:focus-within .ui-outline-label {
  color: rgba(var(--brand-primary-rgb), 0.95);
}

.ui-outline .suffix-ico {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.50);
  pointer-events: none;
  font-size: 18px;
}

/* Select chevron icon via CSS (no extra markup required) */
.ui-outline .form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(15,23,42,0.55)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 52px;
}

/* Date calendar icon (keep native picker clickable) */
.ui-outline input[type="date"].form-control,
.ui-outline input[type="date"].form-select,
.ui-outline input[type="date"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(15,23,42,0.55)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='3' ry='3'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 52px;
}

.ui-outline input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

/* Checkbox/radio inside outlined container */
.ui-outline.ui-outline--group {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: #fff;
  padding: 14px 14px 12px;
}

.ui-outline.ui-outline--group:focus-within {
  border-color: rgba(var(--brand-primary-rgb), 0.55);
}

.ui-outline.ui-outline--group .ui-choice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 10px;
}

.ui-outline.ui-outline--group .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
}

.ui-outline.ui-outline--group .form-check-label {
  color: rgba(15, 23, 42, 0.88);
}

.input-group .btn {
  border-radius: 14px;
}

.hero {
  background: linear-gradient(
    135deg,
    rgba(11, 18, 32, 0.96),
    rgba(11, 18, 32, 0.76)
  );
  color: #fff;
  border-radius: var(--radius-lg);
}

.hero .form-control,
.hero .form-select {
  background: rgba(255, 255, 255, 0.98);
}

.kpi-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}

.sidebar-surface {
  /* Classic dark navy (premium) */
  background: radial-gradient(900px 420px at 15% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.98), rgba(7, 10, 18, 0.985));
  color: rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-surface .nav-link {
  color: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  border: 1px solid transparent;
}

.sidebar-surface .nav-link.active,
.sidebar-surface .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.sidebar-surface .nav-link.active {
  background: rgba(var(--brand-primary-rgb), 0.18);
  border-color: rgba(var(--brand-primary-rgb), 0.22);
}

.sidebar-brand {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: saturate(140%) blur(10px);
}

.sidebar-section {
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 14px;
  margin-bottom: 6px;
}

.sidebar-surface .nav-link {
  position: relative;
  padding: 10px 12px;
}

.sidebar-surface .nav-link.active::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: var(--brand-primary);
}

/* Desktop sidebar polish (large devices) */
@media (min-width: 992px) {
  .dashboard-layout {
    align-items: flex-start;
  }

  .dashboard-sidebar.sidebar-surface {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden; /* keep sidebar fixed; menu scrolls inside */
    box-shadow: 18px 0 50px rgba(11, 18, 32, 0.24);
    padding: 12px !important;
  }

  .dashboard-sidebar.sidebar-surface .sidebar-brand {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 16px 34px rgba(11, 18, 32, 0.18);
    padding: 10px 10px;
  }

  .dashboard-sidebar.sidebar-surface .sidebar-brand a {
    align-items: center;
  }

  .dashboard-sidebar.sidebar-surface .sidebar-brand img {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
    height: 28px;
  }

  .dashboard-sidebar.sidebar-surface .sidebar-brand .small {
    display: none;
  }

  .dashboard-sidebar.sidebar-surface .nav-link {
    padding: 9px 12px;
    font-weight: 760;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .dashboard-sidebar.sidebar-surface .nav-link i.bi {
    width: 1.35rem;
    text-align: center;
    font-size: 1.05rem;
  }

  .dashboard-sidebar.sidebar-surface .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .dashboard-sidebar.sidebar-surface .sidebar-section {
    margin-top: 14px;
    margin-bottom: 6px;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.52);
  }

  .dashboard-sidebar.sidebar-surface .sidebar-submenu {
    margin-left: 12px;
    padding-left: 12px;
    border-left-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 14px;
    padding: 8px;
  }

  .dashboard-sidebar.sidebar-surface .sidebar-submenu .nav-link {
    padding: 8px 10px;
    font-size: 0.93rem;
    border-radius: 12px;
  }

  /* Compact active indicator (desktop): remove left bar */
  .dashboard-sidebar.sidebar-surface .nav-link.active::before {
    display: none;
  }
}

.table thead th {
  color: var(--text-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.otp-input {
  width: 3rem;
  height: 3.2rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 16px;
}

/* Dashboard layout helpers */
.dashboard-layout {
  min-height: 100vh;
}

.dashboard-sidebar {
  width: var(--sidebar-width);
  flex: 0 0 var(--sidebar-width);
  max-width: var(--sidebar-width);
}

.dashboard-content {
  width: 100%;
}

.topbar-blur {
  backdrop-filter: saturate(160%) blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border-soft);
}

.dash-mobile-header {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.98), rgba(11, 18, 32, 0.92));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Native-style mobile app bar (like screenshot) */
.appbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding-top: env(safe-area-inset-top);
  background: rgba(244, 246, 255, 0.92);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}

.appbar-row {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.appbar-left,
.appbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.appbar-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: #0b1220;
}

.appbar-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 0;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, filter 160ms ease;
}

/* Screenshot-like button accents */
.appbar-btn--violet {
  background: rgba(108, 99, 255, 0.14);
  color: #6c63ff;
}

.appbar-btn--amber {
  background: rgba(255, 149, 64, 0.18);
  color: #ff7a1a;
}

.appbar-btn--neutral {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.55);
}

.appbar-btn:hover {
  filter: brightness(0.99);
}

.appbar-btn:active {
  transform: translateY(1px);
}

.appbar-btn .bi {
  font-size: 1.1rem;
  line-height: 1;
}

.appbar-subrow {
  padding-bottom: 12px;
}

.appbar-search {
  border-radius: 999px !important;
  background: rgba(11, 18, 32, 0.04);
  border: 1px solid rgba(11, 18, 32, 0.08);
}

.appbar-search .input-group-text,
.appbar-search input {
  background: transparent !important;
  border: 0 !important;
}

.appbar-search input::placeholder {
  color: rgba(11, 18, 32, 0.55) !important;
}

/* Offcanvas drawers (mobile sidebars) */
.public-menu.offcanvas,
.sidebar-surface.offcanvas {
  --drawer-w: 75vw;
  width: var(--drawer-w) !important;
  max-width: 420px;
}

/* Make drawer edge feel like a sheet */
.public-menu.offcanvas.offcanvas-end {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.94));
  backdrop-filter: saturate(160%) blur(14px);
}

.sidebar-surface.offcanvas.offcanvas-start {
  width: var(--drawer-w) !important;
  max-width: 420px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top-right-radius: 22px;
  border-bottom-right-radius: 22px;
  overflow: hidden;
}

.public-menu .offcanvas-header {
  padding: 16px 16px 10px;
}

.public-menu .offcanvas-title,
.public-menu .offcanvas-header .fw-bold {
  letter-spacing: -0.02em;
}

.public-menu .btn-close {
  filter: none;
  opacity: 0.7;
}

.public-menu .offcanvas-body {
  padding: 10px 14px 18px;
}

.public-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  color: rgba(15, 23, 42, 0.86);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.public-menu .nav-link i {
  color: rgba(15, 23, 42, 0.55);
}

.public-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.78);
}

.public-menu .nav-link.active {
  color: #0b1220;
  background: rgba(108, 99, 255, 0.12);
  border-color: rgba(108, 99, 255, 0.20);
}

.public-menu .nav-link.active i {
  color: #6c63ff;
}

.public-menu hr {
  opacity: 0.12;
}

/* Modernize offcanvas sidebar on mobile */
.sidebar-surface.offcanvas {
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.sidebar-surface .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.sidebar-surface .offcanvas-body {
  padding-top: 12px;
}

.nav-pills .nav-link {
  border-radius: 14px;
}

.page-title {
  letter-spacing: -0.02em;
}

