body {
  background: #f4f4f6;
  color: #000;
}

.text-orange { color: #111827; }
.btn-orange { background-color: #111827; color: #fff; border: none; }
.btn-orange:hover { background-color: #ff9900; color: #fff; }

h1,h2,h3,h4,h5,h6 { color: #111827; }

.nav-link { color: #000; }
.nav-link:hover { color: #ff9900; }

.table thead th { background: #111827; color: #ffffff; }

.card {
  border: none;
  border-radius: .5rem;
}

.portal-top {
  margin-top: -7px;
}

.portal-top-2 {
  margin-top: -23px;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}
.navbar-dark .navbar-toggler-icon {
  filter: brightness(1.2);
}

/* Top navbar */
.top-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  min-height: 64px;
}

.top-navbar .navbar-brand {
  font-weight: 600;
  color: #111827;
}

.text-success-icon {
  color: #ff9900;
}

.top-navbar .nav-link {
  color: #111827;
}

.top-navbar .nav-link:hover {
  color: #ff9900;
}

/* User avatar circle */
.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg,#111827,#5e7dbf);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

/* Sidebar wrapper - no side gutters */
.app-sidebar-wrapper {
  padding-right: 0;
  padding-left: 0;
}

.app-sidebar-wrapper {
  padding-right: 0;
  padding-left: 0;
}

/* Sidebar panel */
.app-sidebar {
  background: linear-gradient(180deg,#111827,#020617);
  border-radius: 0.75rem;
  padding: 1.25rem 0.9rem;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  color: #e5e7eb;
  margin-top: -15px;
  margin-left: -5px;

}

/* Section headers */
.app-sidebar-section {
  font-size: 0.85rem;          /* bigger */
  text-transform: uppercase;
  letter-spacing: .10em;
  color: #ff9900;
  margin: 0.9rem 0 0.4rem;
  padding: 0 0.25rem;
}

/* Shared nav styles (desktop + mobile) */
.app-sidebar-nav {
  flex: 1;
}

.app-sidebar .nav-link,
.sidebar-offcanvas .nav-link {
  color: #e5e7eb;
  font-size: 1rem;             /* bigger text */
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-sidebar .nav-label,
.sidebar-offcanvas .nav-label {
  flex: 1;
}

.app-sidebar .nav-icon,
.sidebar-offcanvas .nav-icon {
  margin-left: 0.8rem;
  font-size: 1rem;
  opacity: 0.9;
}

.app-sidebar .nav-link:hover,
.sidebar-offcanvas .nav-link:hover {
  background-color: rgba(15,23,42,0.9);
  color: #ffffff;
}

.app-sidebar .nav-link.active,
.sidebar-offcanvas .nav-link.active {
  background: linear-gradient(90deg,#22c55e,#a3e635);
  color: #ff9900;
  font-weight: 600;
}

/* Footer (logout) matches indent/size */
.app-sidebar-footer {
  margin-top: 1.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(148,163,184,0.4);
}

/* Mobile offcanvas container uses same look as sidebar */
.sidebar-offcanvas {
  background: linear-gradient(180deg,#111827,#020617);
  color: #e5e7eb;
}

.sidebar-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(148,163,184,0.35);
}

.sidebar-offcanvas .btn-close-white {
  filter: invert(1);
}

/* Reuse title/user styles from sidebar */
.app-sidebar-title {
  font-weight: 700;
  font-size: 1rem;
}

.app-sidebar-user {
  font-size: 0.85rem;
  opacity: 0.8;
}
