@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --abvo-gold: #b1976b;
  --abvo-gold-dark: #8d734a;
  --abvo-ink: #111111;
  --abvo-cream: #f7f4ee;
  --abvo-surface: #ffffff;
  --abvo-border: #e8e3d9;
  --app-sidebar-width: 288px !important;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif !important;
  background: radial-gradient(circle at 95% 0%, rgba(177,151,107,.14), transparent 30rem), #f6f5f2 !important;
  color: #292723 !important;
}

.app-sidebar,
.app-sidebar .offcanvas-start,
.app-sidebar .offcanvas-body {
  background: linear-gradient(165deg, #090909 0%, #181714 58%, #272117 100%) !important;
}
.app-sidebar { box-shadow: 16px 0 45px rgba(29,24,16,.12); }
.app-sidebar .offcanvas-body { padding: 1.25rem 1rem !important; scrollbar-width: thin; scrollbar-color: rgba(177,151,107,.55) transparent; }
.app-sidebar-brand { gap: .85rem !important; margin-bottom: 1.7rem !important; }
.app-sidebar-logo {
  width: 48px !important; height: 48px !important; border-radius: 15px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(177,151,107,.2)) !important;
  border: 1px solid rgba(255,255,255,.11);
}
.app-sidebar-logo img { max-width: 36px !important; }
.app-sidebar-title { font-weight: 800 !important; letter-spacing: .01em !important; }
.app-sidebar-subtitle { color: rgba(255,255,255,.52) !important; }
.app-sidebar-section-title { color: rgba(214,194,157,.62) !important; letter-spacing: .13em !important; font-size: .67rem !important; }
.app-sidebar-link, .app-sidebar-sublink { border-radius: 11px !important; }
.app-sidebar-link { padding: .72rem .75rem !important; font-size: .91rem; }
.app-sidebar-link i { color: #c8af82; font-size: 1.02rem; }
.app-sidebar-link:hover, .app-sidebar-sublink:hover { background: rgba(177,151,107,.13) !important; }
.app-sidebar-link.active, .app-sidebar-sublink.active {
  color: #fff !important; background: linear-gradient(90deg, rgba(177,151,107,.32), rgba(177,151,107,.12)) !important;
  box-shadow: inset 3px 0 0 var(--abvo-gold);
}
.app-sidebar-subnav.collapse {
  visibility: visible !important;
}
.app-sidebar-subnav.collapse:not(.show) {
  display: none !important;
}
.app-sidebar-subnav.collapse.show {
  display: block !important;
}
.app-sidebar-subnav .app-sidebar-sublink {
  min-height: 36px;
  color: rgba(255,255,255,.7) !important;
}
.app-sidebar-subnav .app-sidebar-sublink:hover,
.app-sidebar-subnav .app-sidebar-sublink.active {
  color: #fff !important;
}
.app-sidebar-user { border-color: rgba(177,151,107,.25) !important; }
.app-mobile-topbar { background: #111 !important; border-bottom: 1px solid rgba(177,151,107,.35); }

.app-content { min-height: 100vh; }
.app-content > .container-fluid { padding: 1.75rem clamp(1rem, 3vw, 2.5rem) !important; max-width: 1680px; margin-inline: auto; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.025em; color: #211f1b; }
h4 { font-weight: 800 !important; }

.card {
  border: 1px solid rgba(222,216,204,.82) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 10px 32px rgba(42,35,23,.055) !important;
  overflow: hidden;
}
.card-header { background: #fbfaf7 !important; border-color: var(--abvo-border) !important; padding: 1rem 1.2rem !important; }
.card-body { padding: 1.25rem !important; }
.dashboard-card-link { border-radius: 18px; }
.dashboard-card-link:hover { transform: translateY(-4px) !important; }
.dashboard-card-link .card { background: linear-gradient(145deg, #1a1917, #30291f) !important; border-color: rgba(177,151,107,.46) !important; }
.dashboard-card-link .card .card-body { position: relative; min-height: 116px; }
.dashboard-card-link .card .card-body::after { content: ''; position: absolute; width: 62px; height: 62px; border-radius: 50%; right: -12px; top: -15px; background: rgba(177,151,107,.24); }
.dashboard-card-link .card p { color: rgba(255,255,255,.68) !important; }
.dashboard-card-link .card h5 { color: #fff !important; font-size: 1.65rem; }

.table-responsive { border-radius: 14px; }
.table { --bs-table-bg: transparent; --bs-table-hover-bg: rgba(177,151,107,.075); margin-bottom: 0; }
.table > thead > tr > th { background: #f3f0ea !important; color: #655b4c; border-bottom: 1px solid #ded7cb; font-size: .72rem; text-transform: uppercase; letter-spacing: .055em; padding: .85rem .75rem; }
.table > tbody > tr > td { border-color: #eeeae2; padding: .78rem .75rem; }

.form-control, .form-select {
  min-height: 43px; border-radius: 11px !important; border-color: #dcd6cb !important; background-color: #fff !important;
}
.form-control:focus, .form-select:focus { border-color: var(--abvo-gold) !important; box-shadow: 0 0 0 .22rem rgba(177,151,107,.16) !important; }
.form-label { color: #514a40; font-weight: 650; font-size: .86rem; }
.btn { border-radius: 10px !important; font-weight: 700 !important; padding: .58rem .9rem; }
.btn-primary { background: var(--abvo-gold) !important; border-color: var(--abvo-gold) !important; color: #fff !important; }
.btn-primary:hover { background: var(--abvo-gold-dark) !important; border-color: var(--abvo-gold-dark) !important; }
.btn-outline-primary { color: var(--abvo-gold-dark) !important; border-color: var(--abvo-gold) !important; }
.btn-outline-primary:hover { color: #fff !important; background: var(--abvo-gold) !important; }
.badge { border-radius: 999px !important; padding: .42em .7em; }
.modal-content { border: 0 !important; border-radius: 20px !important; box-shadow: 0 28px 80px rgba(0,0,0,.22); }
.pagination .page-link { color: var(--abvo-gold-dark); border-color: #e1dbd0; }
.pagination .active > .page-link { background: var(--abvo-gold); border-color: var(--abvo-gold); }
.alert { border: 0 !important; border-radius: 13px !important; }

@media (max-width: 991.98px) {
  .app-content > .container-fluid { padding-top: 1.2rem !important; }
  .app-sidebar { box-shadow: none; }
}
@media (max-width: 575.98px) {
  .card { border-radius: 14px !important; }
  .btn { min-height: 42px; }
  .table > :not(caption) > * > * { white-space: nowrap; }
}
