body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: rgb(var(--bs-tertiary-color-rgb));
}

}
header {
  background: #333;
  color: white;
  padding: 10px;
}
nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}
body.reset-page form {
  max-width: 300px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ccc;
}
/* Modal Animation: fade + slide */
.modal.fade .modal-dialog {
  transform: translateY(30px);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.modal.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}


/* Modal forms should take full width */
.modal-body form {
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  border: none;
}

.captcha-box {
  border: 2px solid #333;   /* Border around captcha */
  border-radius: 5px;
  background: #f8f9fa;      /* Light background */
  font-size: 20px;          /* Bigger text */
  letter-spacing: 3px;      /* Spaced-out characters */
  padding: 8px;
  user-select: none;        /* Prevent copy-paste */
}



/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 0rem;
  padding-bottom: 0rem;
  color: rgb(var(--bs-tertiary-color-rgb));
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

/* CUSTOM NAVBAR */
.custom-navbar {
  background-color: #113065 !important; /* Dark blue brand color */
}
.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
  color: #fff !important;
}
.custom-navbar .nav-link.active {
  font-weight: bold;
  text-decoration: underline;
}
.container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
/* CUSTOM Footer */
.custom-footer {
  background-color: #87CEEB; /* Sky blue */
}

/* Slimmer modal width for forms */
.modal-dialog {
  max-width: 420px;
}

/* Fixed footer styling */
.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #87CEEB; /* Sky blue */
  color: #000;               /* Black text for readability */
  text-align: center;
  padding: 10px 0;
  z-index: 1030;             /* Stay above content */
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

/* Prevent content overlap */
body {
  padding-bottom: 60px; /* equal or slightly more than footer height */
}

#userTreeContainer ul {
  list-style-type: none;
  padding-left: 20px;
}

#userTreeContainer li {
  margin: 5px 0;
  padding-left: 20px;
  position: relative;
}

#userTreeContainer li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-left: 2px solid #87CEEB;
  height: 100%;
}

#userTreeContainer li::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  border-top: 2px solid #87CEEB;
  width: 15px;
}
.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #87CEEB; /* sky blue */
  color: #000;
  text-align: center;
  padding: 10px 0;
  z-index: 1030;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}
.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #87CEEB; /* sky blue */
  color: #000;
  text-align: center;
  padding: 10px 0;
  z-index: 1030;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

/* Prevent overlap with footer */
body {
  padding-bottom: 60px; 
}

/* ========= Super Admin Panel Styles ========= */

/* Sidebar */
#adminMenu {
  position: sticky;
  top: 1rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
#adminMenu a {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: all 0.2s ease;
}
#adminMenu a.active {
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
}
#adminMenu a:hover {
  background: #f1f5f9;
}

/* Mobile Sidebar */
@media (max-width: 767px) {
  #sidebarToggle { display: inline-block; }
  #adminMenu {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    width: 220px;
    z-index: 1050;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding-top: 3.5rem;
  }
  #adminMenu.show { left: 0; }
  main { margin-left: 0 !important; }
}

/* Sections */
.admin-section {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.admin-section h4 {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Alerts */
#adminAlert {
  position: sticky;
  top: 0;
  z-index: 1050;
  border-radius: 8px;
}

/* Table */
#hierarchyTable th {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 2;
}
#hierarchyTable tbody tr:hover {
  background: #f1f5f9;
}

/* User Tree */
#userTreeContainer ul {
  list-style-type: none;
  margin-left: 1.5rem;
  position: relative;
  padding-left: 1rem;
}
#userTreeContainer ul:before {
  content: "";
  border-left: 2px solid #d1d5db;
  positio

