  /* Global body styles */
    body {
      font-family: "Open Sans", sans-serif;
      font-size:0.9em;
    }
    
    .page-break {
 page-break-after: always;
  /* or break-after: page; */
}

@media print {
  .page-break + * {
    padding-top: 20px; /* or margin-top: 20px; */
  }
 
}



    /* ==================== Button Styles ==================== */
    /* Styling for primary buttons to match the green/teal colour scheme */
    .btn-primary {
      background-color: #2e7d59 !important;
      border-color: #2e7d59 !important;
    }
    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
      background-color: #245f46 !important;
      border-color: #245f46 !important;
    }
    
    /* ==================== Sidebar Styles ==================== */
    /* Sidebar container with gradient background and white text */
    .sidebar {
      background: linear-gradient(to bottom, #366c80, #298074);
      color: white;
      min-height: 100vh;
    }
    /* Sidebar brand area (top of the sidebar) with logo and text */
    .sidebar .sidebar-brand {
      padding: 1rem 1.25rem;
      font-size: 1.25rem;
      font-weight: 600;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
    }
    /* Logo inside the sidebar brand */
    .sidebar .sidebar-brand img.logo {
      width: 100%; /* Sets the width (adjust as needed) */
      height: auto; /* Maintain aspect ratio */
    }
    /* Sidebar list resets: remove default list styling */
    .sidebar ul {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }
    .sidebar ul li {
      margin: 0;
    }
    /* Sidebar links styling */
    .sidebar a {
      color: white !important;
      text-decoration: none;
      display: block;
      padding: 0.75rem 1.25rem;
    }
    /* Sidebar link hover/focus state */
    .sidebar a:hover,
    .sidebar a:focus,
    .sidebar a:active {
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 0.375rem;
    }
.sidebar a {
  transition: background-color 1.0s ease, border-radius 0.2s ease;
}
.sidebar .nav-link {
  margin-bottom: 4px;            /* Adds the 2px space */
  padding: 0.5rem 1rem;          /* Reduce padding for a more compact feel */
  border-radius: 0.375rem;       /* Keep the rounded corners */
}

    /* Indentation for submenu items in the sidebar */
    .submenu-container {
      padding-left: 1.5rem;
    }
    
    /* ==================== Desktop Header Bar ==================== */
    /* Header bar for desktop view */
    .header-bar {
      background-color: #3e6b7f;
      padding: 10px 16px;
      color: #fff;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    /* ==================== Content Area Styles ==================== */
    /* Main content area with reduced padding for a tighter layout */
    .content-area {
      background-color: #f8f9fa;
      min-height: 100vh;
      padding: 1rem;
    }
    /* Unified box styling for all content boxes (cards, chart container, etc.) */
    .content-box {
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-shadow: none;
    }
    
    /* ==================== Blog Card Styles ==================== */
    /* Blog cards have margin at the bottom; additional styling inherited from content-box */
    .blog-card {
      margin-bottom: 1rem;
    }
    .blog-card.content-box {
      /* Inherits border and border-radius from .content-box */
    }
    /* ==================== Equal Height Cards ==================== */
/* Make each column a flex container */
.row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Force cards to fill their container and be flex containers */
.card.blog-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Make the card body fill available space and display its content in a column */
.card.blog-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Push the button to the bottom of the card body */
.card.blog-card .btn {
  margin-top: auto;
}

    

    
    /* ==================== Section Headings ==================== */
    /* Styling for section headings in the content area */
.section-heading {
  background-color: #f1f1f1;
  color: #333;
  padding: 0.5rem 1rem;
  font-size: 1.3rem;
  margin: 0.5rem 0 1rem;
  border-bottom: 3px solid; /* defines the border that will receive the image */
  border-image: linear-gradient(to bottom, #366c80, #298074) 1;
  
}
    

    
    /* ==================== Mobile Header Styles ==================== */
    @media (max-width: 767.98px) {
      /* Mobile header styling for devices with a width less than 768px */
      .mobile-header {
        background-color: #3e6b7f;
        padding: 10px 16px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .mobile-header .navbar-brand {
        display: flex;
        align-items: center;
      }
      .mobile-header .navbar-brand img.logo {
        width: 100px;
        height: auto;
        margin-right: 10px;
      }
    }
    
    
    
    /* ==================== Lightbox (Modal) Styles ==================== */
.modal-content {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.modal-header,
.modal-footer {
  border: none;
}
.modal-title {
  font-size: 1.25rem;
  color: #333;
}


.nav-link.active {
  background-color: #2e7d59 ; /* Bootstrap green or change to any you like */
  color: white !important;
  border-radius: 0.375rem; /* same as rounded-md / Bootstrap’s default rounding */
}




.chart-bar-positive {
  background: linear-gradient(to bottom, #5cbf72, #399c5d)!important;
  font-size:1.2em; padding:15px;
  color:#fff;
  text-align:center!important;
}

.chart-bar-negative {
  background: linear-gradient(to bottom, #f26d6d, #d94a4a)!important;
  font-size:1.2em; padding:15px;
  color:#fff;
  text-align:center!important;
}


