body {
  background: #f4f6fb;
}

body.auth-texture-page {
  min-height: 100vh;
  background-color: #eff9f2;
  background-image:
    linear-gradient(rgba(4, 40, 29, 0.4), rgba(4, 40, 29, 0.4)),
    url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=2000&q=80"),
    radial-gradient(circle at 25% 20%, rgba(18, 152, 99, 0.14), transparent 32%),
    radial-gradient(circle at 80% 8%, rgba(6, 95, 70, 0.18), transparent 30%),
    repeating-linear-gradient(
      135deg,
      rgba(5, 122, 83, 0.045) 0,
      rgba(5, 122, 83, 0.045) 2px,
      rgba(255, 255, 255, 0.42) 2px,
      rgba(255, 255, 255, 0.42) 12px
    );
  background-size: cover, auto, auto, auto, auto;
  background-position: center center, center, center, center, center;
  background-attachment: fixed, scroll, scroll, scroll, scroll;
}

.auth-texture-page .auth-card {
  border: 1px solid #d8efe1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(1.5px);
}

.sidebar {
  background: #111827;
  min-height: calc(100vh - 56px);
}

.sidebar .list-group-item {
  background: transparent;
  color: #d1d5db;
  border: 0;
  border-radius: 0;
  padding: 0.9rem 1rem;
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
  background: #1f2937;
  color: #fff;
}

.card {
  border: 1px solid #e5e7eb;
}

.table td,
.table th {
  vertical-align: middle;
}

.brand-logo {
  width: 148px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  display: block;
}

.app-navbar {
  min-height: 58px;
}

.app-menu-toggle {
  border-color: rgba(255, 255, 255, 0.55);
}

.app-menu-toggle:hover,
.app-menu-toggle:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.app-mobile-hamburger {
  padding: 0.2rem 0.45rem;
}

.app-mobile-hamburger:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
}

#mobileSidebarMenu {
  --bs-offcanvas-width: min(82vw, 360px);
}

.app-brand {
  min-width: 0;
}

.public-nav .nav-link {
  color: #ffffff;
  font-size: 0.9rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  opacity: 0.92;
}

.public-nav .nav-link:hover {
  color: #ffffff;
  opacity: 1;
}

.brand-text {
  display: none;
}

@media (max-width: 767.98px) {
  .app-navbar .container-fluid {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .navbar-user-dropdown .btn {
    font-size: 0.8rem;
    padding: 0.2rem 0.45rem;
  }

  .brand-logo {
    width: 126px;
    max-height: 36px;
  }

  #mobileSidebarMenu {
    --bs-offcanvas-width: 50vw;
    min-width: 280px;
    max-width: 360px;
  }
}

.landing-hero {
  background: radial-gradient(circle at 20% 20%, #f5fbff 0%, #eef4ff 45%, #ffffff 100%);
}

.landing-panel {
  border: 1px solid #e2e8f0;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
}

.home-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.26), transparent 38%),
    linear-gradient(130deg, #055a3d 0%, #0d7a53 40%, #13a06e 100%);
}

.home-hero-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #e7fff5;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.home-btn-primary {
  color: #0d7a53;
  font-weight: 600;
}

.home-hero-media {
  position: relative;
}

.home-hero-media img {
  min-height: 360px;
  width: 100%;
  object-fit: cover;
}


.floating-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: #ffffff;
  color: #0f172a;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  box-shadow: 0 12px 30px rgba(2, 44, 34, 0.3);
}

.home-hero-stats .stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.7rem;
  padding: 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.home-hero-stats .stat strong {
  color: #fff;
  font-size: 1rem;
}

.home-hero-stats .stat span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.74rem;
}

.home-feature {
  border: 1px solid #d1fae5;
  background: #f8fffc;
  border-radius: 0.8rem;
  padding: 1rem;
  height: 100%;
}

.home-feature h6 {
  color: #065f46;
  margin-bottom: 0.35rem;
}


.home-card-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.home-cta {
  background: linear-gradient(135deg, #065f46 0%, #059669 55%, #10b981 100%);
}

@keyframes dashboard-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.dashboard-busy-strip {
  height: 6px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(
    90deg,
    #e0e7ff 0%,
    #60a5fa 35%,
    #34d399 65%,
    #e0e7ff 100%
  );
  background-size: 200% 100%;
  animation: dashboard-shimmer 3.5s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.35);
}

.dashboard-overview-card {
  background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 100%);
}

.dashboard-purpose-cell {
  min-width: 300px;
}

.dashboard-purpose-cell > span {
  width: 320px;
  max-width: 320px;
}

.dashboard-account-cell {
  min-width: 170px;
  white-space: nowrap;
}

.dashboard-stat-tile:hover {
  border-color: #93c5fd !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #044732 0%, #065f46 55%, #0b7a59 100%);
}

.site-footer h6 {
  color: #ffffff;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.92;
}

.site-footer a:hover {
  text-decoration: underline;
  opacity: 1;
}

.site-footer .text-muted,
.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.84) !important;
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.18);
}

