:root {
  --gp-bg: #0f172a;
  --gp-accent: #c9a227;
  --gp-glass: rgba(255,255,255,.08);
}
body.auth-body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #1e293b, #0f172a 55%),
              linear-gradient(135deg, rgba(201,162,39,.25), transparent 40%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-wrap { width: 100%; max-width: 420px; padding: 1rem; }
.auth-card {
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.brand-mark { color: #c9a227; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.auth-logo-panel {
  background: #000;
}
.auth-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: inline-block;
}
.brand-image-logo {
  max-width: 160px;
  width: 85%;
  height: auto;
  display: inline-block;
}
.portal-logo {
  height: 32px;
  width: auto;
}

/* Customer portal sidebar layout */
.portal-body {
  margin: 0;
  background: #f4f6f9;
  min-height: 100vh;
}
.portal-shell {
  display: flex;
  min-height: 100vh;
}
.portal-sidebar {
  width: 260px;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1040;
  box-shadow: 4px 0 24px rgba(0,0,0,.2);
}
.portal-brand {
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(201,162,39,.25);
  background: #000;
}
.portal-brand img {
  max-width: 150px;
  width: 85%;
  height: auto;
}
.portal-brand-sub {
  margin-top: .45rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,230,168,.85);
}
.portal-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.portal-user-name {
  font-weight: 600;
  font-size: .92rem;
}
.portal-user-role {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
}
.portal-nav {
  padding: .75rem .55rem;
  flex: 1;
  overflow-y: auto;
}
.portal-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .9rem;
  margin-bottom: .2rem;
  border-radius: .55rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-weight: 500;
  font-size: .92rem;
}
.portal-nav-link i {
  font-size: 1.05rem;
  width: 1.25rem;
  text-align: center;
}
.portal-nav-link:hover {
  background: rgba(201,162,39,.12);
  color: #fff;
}
.portal-nav-link.active {
  background: linear-gradient(90deg, rgba(201,162,39,.28), rgba(201,162,39,.08));
  color: #f5e6a8;
  box-shadow: inset 3px 0 0 #c9a227;
}
.portal-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.portal-logout-btn {
  width: 100%;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
  border-radius: .5rem;
  padding: .55rem .75rem;
  font-size: .9rem;
}
.portal-logout-btn:hover {
  background: rgba(255,255,255,.08);
}
.portal-main {
  margin-left: 260px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.portal-topbar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  position: sticky;
  top: 0;
  z-index: 20;
}
.portal-toggle {
  display: none;
  border: 0;
  background: #111;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: .5rem;
}
.portal-topbar-title {
  font-weight: 650;
  font-size: 1.05rem;
}
.portal-topbar-meta {
  margin-left: auto;
  color: #6b7280;
  font-size: .85rem;
}
.portal-content {
  padding: 1.25rem;
}
.portal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1035;
}
.portal-overlay.show { display: block; }

@media (max-width: 991.98px) {
  .portal-sidebar {
    transform: translateX(-105%);
    transition: transform .25s ease;
  }
  .portal-sidebar.open { transform: translateX(0); }
  .portal-main { margin-left: 0; }
  .portal-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .portal-content { padding: 1rem .9rem 1.25rem; }
}

@media (min-width: 992px) {
  .portal-overlay { display: none !important; }
}

.album-logo-panel {
  background: #000;
  border-radius: .75rem .75rem 0 0;
  padding: 1.25rem;
}
.album-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
}
.kpi-card {
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(248,250,252,.95));
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}
[data-bs-theme="dark"] .kpi-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  color: #e2e8f0;
}
.content-wrapper { background: linear-gradient(180deg, #f8fafc, #eef2ff); min-height: 100vh; }
[data-bs-theme="dark"] .content-wrapper { background: #0b1220; }
.table td, .table th { vertical-align: middle; }
.kanban-col { min-height: 220px; background: #f8fafc; border-radius: .75rem; padding: .75rem; }
.fc { background: #fff; border-radius: .75rem; padding: .5rem; }

/* Professional sidebar */
.gp-sidebar {
  background: #0a0a0a !important;
  box-shadow: 4px 0 24px rgba(0,0,0,.25);
}
.gp-sidebar .brand-link {
  background: #000 !important;
  border-bottom: 1px solid rgba(201,162,39,.25) !important;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gp-sidebar .user-panel {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.gp-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #8a6d12);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
}
.gp-role {
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  letter-spacing: .02em;
}
.gp-menu-search .form-control-sidebar {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  border-radius: .5rem 0 0 .5rem;
}
.gp-menu-search .form-control-sidebar::placeholder { color: rgba(255,255,255,.4); }
.gp-menu-search .btn-sidebar {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 0;
  color: rgba(255,255,255,.65);
  border-radius: 0 .5rem .5rem 0;
}
.gp-sidebar .nav-sidebar > .nav-item > .nav-link {
  border-radius: .5rem;
  margin: 0 .4rem .15rem;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  font-weight: 500;
}
.gp-sidebar .nav-sidebar > .nav-item > .nav-link:hover {
  background: rgba(201,162,39,.12);
  color: #fff;
}
.gp-sidebar .nav-sidebar > .nav-item > .nav-link.active {
  background: linear-gradient(90deg, rgba(201,162,39,.28), rgba(201,162,39,.08));
  color: #f5e6a8;
  box-shadow: inset 3px 0 0 #c9a227;
}
.gp-sidebar .nav-icon {
  width: 1.5rem;
  font-size: 1rem;
  opacity: .9;
}
.gp-sidebar .nav-treeview {
  padding-left: .25rem;
  margin-bottom: .35rem;
}
.gp-sidebar .nav-treeview .nav-link {
  border-radius: .45rem;
  margin: 0 .55rem .08rem 1rem;
  padding: .4rem .75rem;
  color: rgba(255,255,255,.62);
  font-size: .86rem;
  font-weight: 400;
}
.gp-sidebar .nav-treeview .nav-link:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.gp-sidebar .nav-treeview .nav-link.active {
  background: rgba(201,162,39,.18);
  color: #f5e6a8;
  font-weight: 600;
}
.gp-sidebar .nav-treeview .nav-icon {
  font-size: .85rem;
  width: 1.25rem;
}
.gp-sidebar .right {
  transition: transform .2s ease;
}
.gp-sidebar .menu-open > .nav-link .right {
  transform: rotate(-90deg);
}
.main-sidebar, .main-sidebar::before {
  width: 270px;
}
/* Desktop / laptop: full sidebar offset */
@media (min-width: 992px) {
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav):not(.sidebar-collapse) .content-wrapper,
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav):not(.sidebar-collapse) .main-footer,
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav):not(.sidebar-collapse) .main-header {
    margin-left: 270px;
  }
  body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
  body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
  body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    margin-left: 4.6rem;
  }
}
.gp-menu-badge {
  background: #c9a227 !important;
  color: #111 !important;
  font-weight: 700;
  border-radius: 999px;
  font-size: .68rem;
  min-width: 1.35rem;
}
.gp-notif-badge {
  position: absolute;
  top: 6px;
  right: 2px;
  background: #c9a227;
  color: #111;
  border-radius: 999px;
  font-size: .65rem;
  padding: .15rem .35rem;
}
.gp-notif-menu {
  min-width: 320px;
  max-width: 360px;
}
.gp-notif-item {
  white-space: normal;
  font-size: .88rem;
}
.gp-page-title {
  font-weight: 700;
  letter-spacing: -.01em;
}
.gp-breadcrumb {
  font-size: .8rem;
  background: transparent;
  padding: 0;
}
.gp-breadcrumb a { text-decoration: none; color: #6b7280; }
.gp-table-card,
.gp-form-card,
.gp-show-card,
.gp-filter-card {
  border: 0;
  border-radius: .9rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
}
.gp-table-card { overflow: hidden; }
.gp-filter-card .card-body { padding: 1rem 1.15rem; }
.gp-filter-card .form-label {
  font-weight: 600;
  letter-spacing: .02em;
}
.gp-show-card .card-header {
  border-bottom: 1px solid #eef2f7;
  font-size: .95rem;
}
.gp-section-kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a8841a;
}
.gp-hub-link {
  display: block;
  padding: 1.25rem 1.35rem;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
  text-decoration: none;
  color: #0f172a;
  border: 1px solid transparent;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.gp-hub-link:hover {
  border-color: rgba(201,162,39,.45);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
.gp-hub-link .gp-hub-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #f5e6a8;
  margin-bottom: .75rem;
  font-size: 1.1rem;
}
.gp-hub-link h5 {
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .25rem;
}
.gp-hub-link p {
  margin: 0;
  font-size: .82rem;
  color: #64748b;
}
.gp-table thead th {
  background: #f8fafc;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  border-bottom-width: 1px;
}
.dash-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 55%, #3a2e10 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
.dash-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(201,162,39,.18);
}
.dash-hero::before {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.dash-hero-brand {
  color: #f5e6a8;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.dash-hero-title {
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}
.dash-hero-copy {
  color: rgba(255,255,255,.72);
  max-width: 34rem;
  margin-bottom: 0;
}
.dash-hero-metric {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .75rem;
  padding: .75rem .85rem;
  color: inherit;
  transition: background .2s ease, transform .2s ease;
}
.dash-hero-metric:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
  color: inherit;
}
.dash-hero-metric .label {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
}
.dash-hero-metric .value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f5e6a8;
  margin-top: .2rem;
}
.dash-section-label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: .65rem;
}
.dash-kpi {
  border: 0;
  border-radius: .9rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
  animation: dashFadeUp .45s ease both;
  animation-delay: var(--delay, 0ms);
}
.dash-kpi:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15,23,42,.1);
  color: inherit;
}
.dash-kpi-label {
  font-size: .78rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: .15rem;
}
.dash-kpi-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.dash-kpi-hint {
  font-size: .72rem;
  color: #94a3b8;
  margin-top: .25rem;
}
.dash-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff8e1;
  color: #a8841a;
}
.dash-kpi-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239,68,68,.45);
  animation: dashPulse 1.6s infinite;
}
.dash-panel {
  overflow: hidden;
}
.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fcfcfd 0%, #fff 100%);
}
.dash-panel-head h5 {
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: 1.05rem;
}
.dash-mini-stat {
  text-align: right;
  line-height: 1.15;
}
.dash-mini-stat span {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a3b8;
}
.dash-mini-stat strong {
  font-size: 1rem;
}
.dash-finance-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #eef2f7;
  background: #f8fafc;
}
.dash-finance-strip > div {
  padding: .85rem 1rem;
  border-right: 1px solid #eef2f7;
}
.dash-finance-strip > div:last-child { border-right: 0; }
.dash-finance-strip span {
  display: block;
  font-size: .72rem;
  color: #64748b;
  margin-bottom: .15rem;
}
.dash-finance-strip strong {
  font-size: .95rem;
}
.dash-action-item {
  display: flex !important;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.1rem !important;
}
.dash-action-icon {
  width: 34px;
  height: 34px;
  border-radius: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f1f5f9;
  color: #334155;
}
.dash-action-icon.tone-warning { background: #fff7ed; color: #c2410c; }
.dash-action-icon.tone-danger { background: #fef2f2; color: #b91c1c; }
.dash-action-icon.tone-info { background: #eff6ff; color: #1d4ed8; }
.dash-action-icon.tone-secondary { background: #f8fafc; color: #475569; }
.dash-empty {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: #64748b;
}
.dash-empty i {
  font-size: 1.35rem;
  color: #c9a227;
}
.dash-schedule-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid #eef2f7;
}
.dash-schedule-item:last-child { border-bottom: 0; }
.dash-schedule-item.is-today {
  background: linear-gradient(90deg, rgba(201,162,39,.08), transparent);
}
.dash-schedule-time {
  min-width: 3.2rem;
  font-weight: 700;
  font-size: .85rem;
  color: #a8841a;
  padding-top: .1rem;
}
.dash-schedule-date {
  min-width: 2.6rem;
  text-align: center;
  background: #0f172a;
  color: #fff;
  border-radius: .55rem;
  padding: .35rem .25rem;
  line-height: 1.05;
}
.dash-schedule-date .day {
  font-weight: 700;
  font-size: .95rem;
}
.dash-schedule-date .mon {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #f5e6a8;
}
.dash-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9a227;
  margin-top: .4rem;
  flex-shrink: 0;
}
.dash-admin-strip {
  background: linear-gradient(135deg, #111 0%, #1f1f1f 60%, #3a2e10 100%);
  color: #fff;
  border-radius: .9rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}
.dash-admin-strip .dash-section-label { color: #f5e6a8; }

@keyframes dashFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dashPulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,.45); }
  70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

@media (max-width: 991.98px) {
  .dash-finance-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-finance-strip > div:nth-child(2) { border-right: 0; }
  .dash-finance-strip > div:nth-child(1),
  .dash-finance-strip > div:nth-child(2) {
    border-bottom: 1px solid #eef2f7;
  }
}

.gp-service-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fcfcfd 0%, #fff 100%);
}
.gp-service-chip {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  border: 1px solid #eef2f7;
  border-radius: .75rem;
  padding: .75rem .8rem;
  background: #fff;
  height: 100%;
}
.gp-service-chip.is-off { opacity: .55; }
.gp-service-chip i { color: #a8841a; }

/* Services catalog redesign */
.svc-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 55%, #3a2e10 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
.svc-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(201,162,39,.16);
}
.svc-hero-brand {
  color: #f5e6a8;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 700;
  margin-bottom: .3rem;
}
.svc-hero-title {
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin: 0;
}
.svc-hero-copy {
  color: rgba(255,255,255,.7);
  max-width: 36rem;
}
.svc-hero-metric {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .7rem;
  padding: .65rem .7rem;
}
.svc-hero-metric .label {
  font-size: .68rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.svc-hero-metric .value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f5e6a8;
}
.svc-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .15rem;
}
.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
  padding: .55rem .9rem;
  border-radius: .7rem;
  background: #fff;
  border: 1px solid #eef2f7;
  color: #334155;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
  transition: .15s ease;
}
.svc-tab:hover { color: #0f172a; border-color: #f5e6a8; }
.svc-tab.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}
.svc-tab.active i { color: #c9a227; }
.svc-category {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
  margin-bottom: 1rem;
  overflow: hidden;
  border-top: 3px solid #c9a227;
}
.svc-category.tone-christian { border-top-color: #64748b; }
.svc-category.tone-hindu { border-top-color: #b45309; }
.svc-category.tone-little { border-top-color: #0ea5e9; }
.svc-category-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fcfcfd, #fff);
}
.svc-category-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0;
}
.svc-category-icon {
  width: 44px;
  height: 44px;
  border-radius: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff8e1;
  color: #a8841a;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.tone-christian .svc-category-icon { background: #f1f5f9; color: #475569; }
.tone-hindu .svc-category-icon { background: #fff7ed; color: #c2410c; }
.tone-little .svc-category-icon { background: #f0f9ff; color: #0284c7; }
.svc-count {
  font-size: .75rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 999px;
  padding: .25rem .65rem;
}
.svc-block { padding: 1rem 1.25rem 1.15rem; }
.svc-block + .svc-block { border-top: 1px dashed #eef2f7; }
.svc-block-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #94a3b8;
}
.svc-block-title a {
  text-decoration: none;
  color: #a8841a;
  letter-spacing: 0;
  text-transform: none;
  font-size: .8rem;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .65rem;
}
.svc-tile {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .8rem .85rem;
  border: 1px solid #eef2f7;
  border-radius: .8rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  min-height: 76px;
}
.svc-tile:hover {
  transform: translateY(-2px);
  border-color: #f5e6a8;
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  color: inherit;
}
.svc-tile.is-off { opacity: .5; }
.svc-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #f5e6a8;
  flex-shrink: 0;
}
.svc-tile-body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  flex: 1;
}
.svc-tile-body strong {
  font-size: .92rem;
  font-weight: 700;
}
.svc-tile-body span {
  font-size: .75rem;
  color: #94a3b8;
  line-height: 1.35;
}
.svc-tile-edit {
  color: #cbd5e1;
  font-size: .8rem;
  margin-top: .15rem;
}
.svc-tile:hover .svc-tile-edit { color: #a8841a; }

@media (max-width: 767.98px) {
  .svc-category-head { flex-direction: column; }
}

.gp-req-check {
  border: 1px solid #eef2f7;
  border-radius: .55rem;
  padding: .55rem .75rem;
  background: #fff;
  height: 100%;
}
.gp-req-check:hover {
  border-color: #f5e6a8;
}
.gp-client-form .form-label {
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
}



/* Settings page */
.gp-settings-nav {
  top: 1rem;
}
.gp-settings-nav .list-group-item {
  border: 0;
  border-left: 3px solid transparent;
  padding: .85rem 1rem;
  font-size: .92rem;
  color: #334155;
  background: transparent;
}
.gp-settings-nav .list-group-item:hover {
  background: #f8fafc;
  color: #0f172a;
}
.gp-settings-nav .list-group-item.active {
  background: #0f172a;
  color: #fff;
  border-left-color: #c9a227;
  font-weight: 600;
}
.gp-settings-nav .list-group-item.active i {
  color: #c9a227;
}
.gp-settings-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fcfcfd 0%, #fff 100%);
}
.gp-settings-kicker {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: .2rem;
}
.gp-settings-card h5 {
  font-weight: 700;
  letter-spacing: -.01em;
}
.gp-settings-switch .form-check-input {
  width: 2.6em;
  height: 1.35em;
  cursor: pointer;
}
.gp-settings-switch .form-check-input:checked {
  background-color: #c9a227;
  border-color: #c9a227;
}
.gp-gst-panel {
  border-radius: .75rem;
  padding: 1rem;
  border: 1px solid #eef2f7;
  background: #f8fafc;
  transition: background .2s ease, border-color .2s ease;
}
.gp-gst-panel.is-on {
  background: #fffbeb;
  border-color: #f5e6a8;
}
.gp-gst-off-note {
  color: #64748b;
  font-size: .9rem;
}
.gp-settings-save {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: .9rem;
  padding: .85rem 1.1rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
}
.gp-settings .form-label {
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: .35rem;
}
.gp-settings .form-control,
.gp-settings .form-select {
  border-radius: .55rem;
  border-color: #e2e8f0;
  padding: .55rem .75rem;
}
.gp-settings .form-control:focus,
.gp-settings .form-select:focus {
  border-color: #c9a227;
  box-shadow: 0 0 0 .2rem rgba(201,162,39,.18);
}

@media (max-width: 991.98px) {
  .portal-overlay { /* keep existing */ }
  .gp-settings-nav {
    position: static !important;
    margin-bottom: .25rem;
  }
  .gp-settings-nav .list-group {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .gp-settings-nav .list-group-item {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }
  .gp-settings-nav .list-group-item.active {
    border-bottom-color: #c9a227;
  }
}



/* Studio Calendar */
.cal-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 55%, #3a2e10 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
.cal-hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(201,162,39,.15);
}
.cal-hero-brand {
  color: #f5e6a8;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 700;
  margin-bottom: .3rem;
}
.cal-hero-title {
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin: 0;
}
.cal-hero-copy { color: rgba(255,255,255,.7); max-width: 34rem; }
.cal-hero-metric {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .7rem;
  padding: .65rem .7rem;
}
.cal-hero-metric .label {
  font-size: .68rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.cal-hero-metric .value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f5e6a8;
}
.cal-holiday-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: .75rem;
}
.cal-panel { overflow: hidden; }
.cal-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fcfcfd, #fff);
}
.cal-panel-head h5 {
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: 1.05rem;
  margin: 0;
}
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  font-size: .72rem;
  color: #64748b;
}
.cal-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.cal-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}
.cal-side-list { max-height: 420px; overflow: auto; }
.cal-side-item {
  display: flex;
  gap: .85rem;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid #eef2f7;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.cal-side-item:hover { background: #fffbeb; color: inherit; }
.cal-side-time {
  min-width: 3.4rem;
  font-weight: 700;
  font-size: .82rem;
  color: #a8841a;
  padding-top: .1rem;
}
.cal-side-date {
  min-width: 2.6rem;
  text-align: center;
  background: #0f172a;
  color: #fff;
  border-radius: .55rem;
  padding: .35rem .25rem;
  line-height: 1.05;
}
.cal-side-date .day { font-weight: 700; font-size: .95rem; }
.cal-side-date .mon {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #f5e6a8;
}
.cal-empty {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.2rem 1.1rem;
  color: #64748b;
}
.cal-empty i { font-size: 1.4rem; color: #c9a227; }

.gp-calendar .fc {
  --fc-border-color: #eef2f7;
  --fc-button-bg-color: #0f172a;
  --fc-button-border-color: #0f172a;
  --fc-button-hover-bg-color: #1e293b;
  --fc-button-hover-border-color: #1e293b;
  --fc-button-active-bg-color: #c9a227;
  --fc-button-active-border-color: #c9a227;
  --fc-button-active-text-color: #111;
  --fc-today-bg-color: rgba(201,162,39,.08);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: #f8fafc;
  font-family: inherit;
}
.gp-calendar .fc .fc-toolbar-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.gp-calendar .fc .fc-button {
  border-radius: .5rem !important;
  font-size: .78rem;
  font-weight: 600;
  text-transform: capitalize;
  padding: .35rem .65rem;
  box-shadow: none !important;
}
.gp-calendar .fc .fc-button-primary:not(:disabled).fc-button-active {
  color: #111;
}
.gp-calendar .fc .fc-col-header-cell-cushion,
.gp-calendar .fc .fc-daygrid-day-number {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: .8rem;
}
.gp-calendar .fc .fc-daygrid-event {
  border-radius: .35rem;
  font-size: .72rem;
  font-weight: 600;
  padding: 1px 4px;
}
.gp-calendar .fc .fc-list-event:hover td { background: #fffbeb; }
.gp-calendar .fc .fc-scrollgrid { border-radius: .5rem; overflow: hidden; }

@media (max-width: 991.98px) {
  .cal-panel-head { flex-direction: column; }
}

/* Shared module hero (list / hub pages) */
.mod-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 55%, #3a2e10 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
.mod-hero-crumbs .breadcrumb {
  background: transparent;
  padding: 0;
  font-size: .75rem;
  margin-bottom: .55rem !important;
}
.mod-hero-crumbs .breadcrumb-item,
.mod-hero-crumbs .breadcrumb-item.active { color: rgba(255,255,255,.45); }
.mod-hero-crumbs .breadcrumb-item a {
  color: rgba(245,230,168,.85);
  text-decoration: none;
}
.mod-hero-crumbs .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.3);
}
.mod-hero-actions .form-select,
.mod-hero-actions .form-control {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
  max-width: 10rem;
}
.mod-hero-actions .form-select option { color: #111; }
.mod-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(201,162,39,.16);
}
.mod-hero::before {
  content: "";
  position: absolute;
  left: -50px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.mod-hero-brand {
  color: #f5e6a8;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 700;
  margin-bottom: .3rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.mod-hero-title {
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 0;
}
.mod-hero-copy {
  color: rgba(255,255,255,.7);
  max-width: 36rem;
  font-size: .92rem;
  margin: 0;
}
.mod-hero-actions .btn-light,
.mod-hero-actions .btn-outline-light {
  font-weight: 600;
  font-size: .8rem;
}
.mod-hero-actions .btn-light {
  background: #c9a227;
  border-color: #c9a227;
  color: #111;
}
.mod-hero-actions .btn-light:hover {
  background: #dbb52f;
  border-color: #dbb52f;
  color: #111;
}
.mod-hero-actions .btn-outline-light {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.mod-hero-actions .btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: #f5e6a8;
  color: #f5e6a8;
}
.mod-hero-metric {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .75rem;
  padding: .7rem .85rem;
  transition: background .15s ease;
}
.mod-hero-metric:hover { background: rgba(201,162,39,.12); }
.mod-hero-metric .label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(245,230,168,.85);
  font-weight: 600;
}
.mod-hero-metric .value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: .15rem;
}

/* =========================================================
   Global responsive layout (phones / tablets / desktops)
   ========================================================= */
.gp-content {
  padding: 1.25rem;
  overflow-x: hidden;
}
.gp-avatar-sm {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #8a6d12);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  vertical-align: middle;
}
.gp-topbar .navbar-nav .nav-link {
  padding-left: .55rem;
  padding-right: .55rem;
}
.gp-menu-toggle {
  font-size: 1.35rem;
  line-height: 1;
}
.gp-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  z-index: 1035;
  backdrop-filter: blur(1px);
}
.gp-sidebar-backdrop.show { display: block; }
body.gp-nav-locked { overflow: hidden; }

/* Tables: always scroll horizontally when needed */
.table-responsive {
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.gp-table-card .table-responsive {
  margin: 0;
}
.gp-table {
  min-width: 560px;
}
.gp-hub-link { min-height: 100%; }

/* Forms / filters */
.gp-form-card .card-body,
.gp-filter-card .card-body {
  padding: 1rem 1.15rem;
}
.gp-page-header {
  gap: .75rem !important;
}
.gp-page-actions {
  width: 100%;
}
@media (min-width: 576px) {
  .gp-page-actions { width: auto; }
}

/* Tablet and below */
@media (max-width: 991.98px) {
  .main-header,
  .content-wrapper,
  .main-footer {
    margin-left: 0 !important;
  }
  .main-sidebar {
    left: 0;
    transform: translateX(-105%);
    transition: transform .25s ease, box-shadow .25s ease;
    z-index: 1040 !important;
    box-shadow: none !important;
  }
  body.sidebar-open .main-sidebar {
    transform: translateX(0);
    box-shadow: 8px 0 32px rgba(0,0,0,.35) !important;
  }
  /* Keep AdminLTE collapse state from fighting the overlay drawer */
  body.sidebar-collapse .main-sidebar {
    margin-left: 0 !important;
    transform: translateX(-105%);
  }
  body.sidebar-open.sidebar-collapse .main-sidebar {
    transform: translateX(0);
  }
  .gp-content {
    padding: .9rem .85rem 1.25rem;
  }
  .mod-hero,
  .svc-hero,
  .dash-hero,
  .cal-hero {
    padding: 1.1rem 1rem;
    border-radius: .85rem;
  }
  .mod-hero-title,
  .svc-hero-title,
  .dash-hero-title {
    font-size: 1.25rem;
  }
  .mod-hero-metric .value,
  .svc-hero-metric .value,
  .dash-hero-metric .value {
    font-size: 1.15rem;
  }
  .mod-hero-actions {
    width: 100%;
  }
  .mod-hero-actions .btn {
    flex: 1 1 auto;
  }
  .gp-notif-menu {
    width: min(92vw, 320px);
    max-width: 92vw;
  }
  .brand-image-logo {
    max-width: 140px;
  }
  .kanban-col {
    min-height: 160px;
    margin-bottom: .75rem;
  }
  .fc .fc-toolbar {
    flex-direction: column;
    gap: .5rem;
    align-items: stretch !important;
  }
  .fc .fc-toolbar-chunk {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem;
  }
  .dash-finance-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phones */
@media (max-width: 575.98px) {
  .gp-content {
    padding: .7rem .65rem 1.1rem;
  }
  .gp-topbar .btn-group {
    display: none;
  }
  .mod-hero-actions .form-select,
  .mod-hero-actions .form-control {
    max-width: none;
    width: 100%;
  }
  .mod-hero-actions form.d-flex {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
  }
  .gp-table {
    min-width: 480px;
    font-size: .86rem;
  }
  .gp-table .btn-sm {
    padding: .2rem .45rem;
    font-size: .75rem;
  }
  .auth-wrap {
    max-width: 100%;
    padding: .75rem;
  }
  .auth-card {
    border-radius: .85rem;
  }
  .dash-finance-strip {
    grid-template-columns: 1fr;
  }
  .dash-finance-strip > div {
    border-right: 0 !important;
    border-bottom: 1px solid #eef2f7;
  }
  .dash-finance-strip > div:last-child {
    border-bottom: 0;
  }
  .svc-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .gp-settings .row.g-3 > [class*='col-'] {
    margin-bottom: 0;
  }
  .main-footer {
    text-align: center;
    padding: .65rem .75rem;
  }
  .dropdown-menu {
    max-width: calc(100vw - 1rem);
  }
}

/* Large tablets / small laptops */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .gp-content {
    padding: 1rem 1.1rem;
  }
  .mod-hero-copy,
  .svc-hero-copy,
  .dash-hero-copy {
    max-width: 28rem;
  }
}

/* Very large desktops: keep content readable */
@media (min-width: 1400px) {
  .gp-content {
    padding: 1.35rem 1.6rem;
  }
}

/* Prevent horizontal page scroll from wide children */
.wrapper,
.content-wrapper,
.gp-content {
  max-width: 100%;
}
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Portal: ensure small phones are comfortable */
@media (max-width: 575.98px) {
  .portal-content {
    padding: .85rem .75rem 1.25rem;
  }
  .portal-topbar {
    padding: .65rem .75rem;
  }
  .portal-topbar-title {
    font-size: .95rem;
  }
}

/* iOS: avoid auto-zoom on focus */
@media (max-width: 991.98px) {
  input.form-control,
  select.form-select,
  textarea.form-control {
    font-size: 16px !important;
  }
}

/* Safe areas (notched phones) */
@supports (padding: max(0px)) {
  .gp-topbar,
  .portal-topbar {
    padding-left: max(.75rem, env(safe-area-inset-left));
    padding-right: max(.75rem, env(safe-area-inset-right));
  }
  .gp-content,
  .portal-content {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* Stacked action button groups on narrow cards */
@media (max-width: 575.98px) {
  .gp-table td .btn + .btn,
  .gp-table td form.d-inline {
    margin-top: .25rem;
  }
  .text-nowrap {
    white-space: normal !important;
  }
  .gp-table td.text-nowrap {
    white-space: nowrap !important;
  }
}
