/* Vague Hub UI overrides */
:root {
  --vh-ink: #24161b;
  --vh-muted: #7c6571;
  --vh-rose: #d54f8c;
  --vh-rose-dark: #a33869;
  --vh-rose-light: #f2b8d1;
  --vh-berry: #4a2437;
  --vh-cream: #f6e9f2;
  --vh-blush: #edd2e1;
  --vh-glass: rgba(255, 255, 255, 0.82);
  --vh-shadow: 0 20px 50px rgba(43, 18, 30, 0.18);
  --vh-shadow-soft: 0 10px 24px rgba(43, 18, 30, 0.12);
  --vh-shape-radius: 26px 26px 16px 44px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body.vh-shell {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--vh-ink);
  background-color: #f6e9f2;
}

.vh-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(213, 79, 140, 0.2), transparent 52%),
    radial-gradient(circle at 86% 16%, rgba(242, 184, 209, 0.26), transparent 58%),
    radial-gradient(circle at 18% 84%, rgba(74, 36, 55, 0.14), transparent 60%),
    linear-gradient(150deg, #f9f1f6 0%, #f2dce9 45%, #ead1e1 100%);
  z-index: 0;
  pointer-events: none;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

.app-header {
  background: linear-gradient(135deg, rgba(213, 79, 140, 0.2), rgba(247, 228, 238, 0.95));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(74, 36, 55, 0.08);
  box-shadow: 0 10px 30px rgba(74, 36, 55, 0.12);
}

.app-header .navbar {
  min-height: 76px;
}

.app-header .nav-link,
.app-header .navbar-brand {
  color: var(--vh-berry);
}

.vh-brand img {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(74, 36, 55, 0.18);
}

.vh-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.vh-brand-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.vh-brand-sub {
  font-size: 0.75rem;
  color: var(--vh-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vh-badge {
  background: rgba(213, 79, 140, 0.15);
  color: var(--vh-rose-dark);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.vh-avatar {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(213, 79, 140, 0.25), rgba(242, 184, 209, 0.35));
  border: 1px solid rgba(163, 56, 105, 0.2);
  color: var(--vh-rose-dark);
  font-size: 1.3rem;
}

.left-sidebar {
  background: #fff7fb;
  border-right: 1px solid rgba(163, 56, 105, 0.12);
  box-shadow: 12px 0 30px rgba(43, 18, 30, 0.08);
}

.vh-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem 0.7rem;
  text-decoration: none;
  color: var(--vh-ink);
}

.vh-sidebar-brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(74, 36, 55, 0.22);
}

.sidebar-nav ul .sidebar-item .sidebar-link {
  border-radius: 18px;
  margin: 0.25rem 0.85rem;
  padding: 0.65rem 0.85rem;
  color: #3d2433;
  background: #ffffff;
  border: 1px solid rgba(163, 56, 105, 0.12);
  box-shadow: 0 6px 14px rgba(43, 18, 30, 0.06);
  transition: all 0.2s ease;
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover {
  background: #f7e6f0;
  color: #2f1f2a;
  transform: translateX(4px);
}

.sidebar-nav ul .sidebar-item.selected > .sidebar-link,
.sidebar-nav ul .sidebar-item > .sidebar-link.active {
  background: linear-gradient(120deg, #b23a74, #8b2f5c);
  color: #fff7fb;
  box-shadow: 0 14px 26px rgba(139, 47, 92, 0.28);
  border-color: rgba(139, 47, 92, 0.5);
}

.sidebar-nav ul .sidebar-item .sidebar-link span:first-child {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f7;
  border: 1px solid rgba(213, 79, 140, 0.18);
  box-shadow: 0 6px 14px rgba(43, 18, 30, 0.08);
}

.sidebar-nav ul .sidebar-item .sidebar-link .hide-menu {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sidebar-nav ul .sidebar-item {
  position: relative;
}

.sidebar-nav ul .sidebar-item + .sidebar-item::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -8px;
  height: 6px;
  border-radius: 999px;
  background: rgba(213, 79, 140, 0.18);
}

.vh-collapse-toggle .pc-arrow {
  margin-left: auto;
}

.body-wrapper {
  padding: 2rem 2.2rem 3rem;
}

.body-wrapper > .container-fluid,
.body-wrapper > .container-lg,
.body-wrapper > .container-md,
.body-wrapper > .container-sm,
.body-wrapper > .container-xl,
.body-wrapper > .container-xxl {
  padding: 0;
}

.card {
  border: none;
  border-radius: var(--vh-shape-radius);
  background: var(--vh-glass);
  box-shadow: var(--vh-shadow-soft);
}

.btn-primary {
  background-color: var(--vh-rose);
  border-color: var(--vh-rose);
  box-shadow: 0 8px 18px rgba(213, 79, 140, 0.25);
}

.btn-primary:hover {
  background-color: var(--vh-rose-dark);
  border-color: var(--vh-rose-dark);
}

.btn-secondary {
  background-color: var(--vh-berry);
  border-color: var(--vh-berry);
}

.btn-secondary:hover {
  background-color: #341827;
  border-color: #341827;
}

.dropdown-menu {
  border-radius: 18px;
  border: 1px solid rgba(74, 36, 55, 0.1);
  box-shadow: var(--vh-shadow);
}

@media (max-width: 991.98px) {
  .body-wrapper {
    padding: 1.5rem;
  }

  .vh-brand-sub {
    display: none;
  }
}
