/* /Pages/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-b76d97eezf] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-b76d97eezf] {
  color: #0077cc;
}

.btn-primary[b-b76d97eezf] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active[b-b76d97eezf], .nav-pills .show > .nav-link[b-b76d97eezf] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top[b-b76d97eezf] {
  border-top: 1px solid #e5e5e5;
}
.border-bottom[b-b76d97eezf] {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow[b-b76d97eezf] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-b76d97eezf] {
  font-size: 1rem;
  line-height: inherit;
}

.footer[b-b76d97eezf] {
  position: fixed;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  background: #fff;
}

/* --- Modern Sidebar --- */
.sidebar[b-b76d97eezf] {
  /* Soft light theme to match white pages */
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
  color: #0f172a;
  animation: sidebarIn-b-b76d97eezf 320ms ease-out;
  padding-top: 20px;
}

.sidebar.offcanvas-start[b-b76d97eezf] {
  --bs-offcanvas-width: 290px;
}

.sidebar-header[b-b76d97eezf] {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sidebar-user[b-b76d97eezf] {
  text-align: center;
  margin-bottom: 10px;
}

.sidebar-user-name[b-b76d97eezf] {
  color: #dc2626; /* red */
  font-weight: 800;
  line-height: 1.15;
}

.sidebar-user-household[b-b76d97eezf] {
  color: #2563eb; /* blue */
  font-size: 0.92rem;
  font-weight: 400;
  margin-top: 2px;
}

.sidebar-brand[b-b76d97eezf] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}

.sidebar-brand:hover[b-b76d97eezf] {
  color: #0b1220;
}

.brand-badge[b-b76d97eezf] {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.14);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.10);
  animation: badgePulse-b-b76d97eezf 2.2s ease-in-out infinite;
}

.brand-text[b-b76d97eezf] {
  font-weight: 800;
  letter-spacing: 0.4px;
}

.sidebar-nav .sidebar-link[b-b76d97eezf] {
  color: rgba(15, 23, 42, 0.78);
  border-radius: 12px;
  padding: 10px 12px;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  background: transparent;
}

.sidebar-nav .sidebar-link:hover[b-b76d97eezf] {
  color: #0b1220;
  background: rgba(99, 102, 241, 0.10);
  transform: translateX(4px);
}

.sidebar-nav .sidebar-link.active[b-b76d97eezf] {
  color: #0b1220;
  background: linear-gradient(90deg, rgba(99,102,241,0.22), rgba(99,102,241,0.08));
  box-shadow: 0 10px 26px rgba(99,102,241,0.12);
}

.sidebar-nav .sidebar-link.danger:hover[b-b76d97eezf],
.sidebar-nav .sidebar-link.danger[b-b76d97eezf] {
  color: rgba(248, 113, 113, 0.95);
}

.sidebar-nav .sidebar-link.danger:hover[b-b76d97eezf] {
  background: rgba(248, 113, 113, 0.10);
}

.app-main[b-b76d97eezf] {
  animation: contentFade-b-b76d97eezf 220ms ease-out;
}

.mobile-topbar[b-b76d97eezf] {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  margin: -12px -12px 12px -12px; /* main padding'i dengele */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Footer adjustments */
.footer[b-b76d97eezf] {
  height: 34px !important;
  line-height: 34px !important;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer[b-b76d97eezf] {
    left: 25% !important; /* col-md-3 */
    right: 0 !important;
    width: auto !important;
  }
}

@media (min-width: 992px) {
  .footer[b-b76d97eezf] {
    left: 16.6666667% !important; /* col-lg-2 */
  }
}

@keyframes sidebarIn-b-b76d97eezf {
  from { transform: translateX(-6px); opacity: 0.0; }
  to { transform: translateX(0); opacity: 1.0; }
}

@keyframes contentFade-b-b76d97eezf {
  from { opacity: 0.0; transform: translateY(4px); }
  to { opacity: 1.0; transform: translateY(0); }
}

@keyframes badgePulse-b-b76d97eezf {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
