/* -------------------------------------

          COMPETENCY-PHASE1 CUSTOM STYLES

    ----------------------------------------------------- */

h1 {
  font-weight: 600;
}

#competencyTable {
  margin-top: 1rem;
  padding-top: 1rem;
}

.competency-container {
  padding-top: 4vh !important;
}


/* Ensure the carousel takes up the full width of its column */
#AzureBackend {
    width: 100%;
    margin: 0;
}

/* Force the image to cover the container area */
#AzureBackend .carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover; /* This prevents gaps if images have slightly different sizes */
}

/* Move indicators back inside the image area */
#AzureBackend .carousel-indicators {
    bottom: 10px; /* Moves them from the 'outside' to 10px above the bottom edge */
    margin-bottom: 0;
}

/* If the indicators are too large, scale them down */
#AzureBackend .carousel-indicators [button] {
    width: 30px;
    height: 3px;
}

/* Main container */
.competency-carousel {
  height: 100%;
  min-height: 320px;
  max-height: 420px;
  flex: 1;
}

/* Ensure carousel fills column */
.competency-carousel .carousel-inner,
.competency-carousel .carousel-item {
  height: 100%;
}

/* Make images behave */
.competency-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keep indicators inside image */
.competency-carousel .carousel-indicators {
  bottom: 0.5rem;
}

/* Arrow icons */
.competency-carousel .carousel-control-prev-icon,
.competency-carousel .carousel-control-next-icon {
  width: 1.2rem;
  height: 1.2rem;
  background-size: 100% 100%;
  filter: invert(1);        /* makes arrows white + visible */
}

.competency-carousel .carousel-control-prev,
.competency-carousel .carousel-control-next {
  position: absolute;        /* important */
  top: 50%;                  /* centre vertically */
  bottom: auto;              /* ← THIS fixes the stretching */
  transform: translateY(-50%);
  margin: 0;                 /* kill global carousel margins */
  width: 2.4rem;
  height: 2.4rem;
  padding: 0; 
  background-size: 70% 70%;
  background-color: rgba(255,255,255,0.85);
  border-radius: 50%;
}

/* Position them inside the image */
.competency-carousel .carousel-control-prev {
  left: 10px;
}

.competency-carousel .carousel-control-next {
  right: 10px;
}

.competency-carousel .carousel-control-prev-icon:hover,
.competency-carousel .carousel-control-next-icon:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.competency-carousel .carousel-fade .carousel-item {
  transition: opacity 1.2s ease-in-out;
}

.competency-carousel .carousel-indicators [data-bs-target] {
  width: 50px;
  height: 6px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.55); 
  border: 1px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.competency-carousel .carousel-indicators {
  bottom: 0px;                        /* spacing from image bottom */
  background: rgba(0, 0, 0, 0.25);     /* soft translucent bar */
  border-radius: 20px;                 /* rounded container */
  padding: 6px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;                            /* space between indicators */
}

.competency-carousel .carousel-indicators .active {
  background: linear-gradient(90deg, #7FA6B8 0%, #A4C4D4 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 80px;                        
  height: 8px;
  opacity: 1;
}

.competency-carousel .carousel-item .btn {
  z-index: 10;
}

/* ------------------------------
   Responsive Image Modal
--------------------------------*/

#imageModal .modal-dialog {
  display: table;               /* allows horizontal centering */
  width: auto;                  /* shrink to fit content */
  max-width: 1600px;            /* natural image width */
  margin: 80px auto 80px auto;  /* vertical spacing, adjust 80px for fixed navbar */
}

#imageModal .modal-content {
  display: inline-block;         /* shrink-wrap the modal to image */
  background-color: #fff;        /* ensures header/footer are visible */
  border-radius: 0.5rem;         /* optional styling */
  overflow: hidden;              /* prevent overflow if image is slightly larger */
}

#imageModal img {
  display: block;
  max-width: 100%;               /* scale down if viewport < image width */
  height: auto;
}

    
    /* ======================================================

          PORTFOLIO NAVBAR SECTION & FOOTER STYLES (IMPORTED)

    ========================================================= */

    /* -------------------------------------- */
/* Navbar specific styles */
/* -------------------------------------- */

.navbar {
  /* transition: all 0.3s ease; */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.25rem 2rem !important;
  z-index: 1001;
}

/* Mobile menu open state */
.navbar.open {
  background-color: rgba(0, 0, 0, 0.85); /* dark, semi-transparent */
  color: #fff; /* menu text white for contrast */
}

.navbar.scrolled {
  /* background: #C4DFE6 !important; */
  background: #A1D6E2 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* Shrink navbar on scroll (partial) */
.navbar.shrink {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9); /* slightly transparent */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Navbar at bottom of hero: only show toggler */
.navbar.shrink-only-toggler .navbar-collapse {
  display: none !important;
}

.navbar-toggler {
  z-index: 1100;
}

/* Smooth responsive scaling for brand + links */
.navbar-brand,
.navbar-d1-slot {
  font-family: "Kalam", cursive !important;
  color: #153847 !important;
  font-size: clamp(1.4rem, 1.2vw + 0.4rem, 1.6rem) !important; /* slightly larger than nav links */
  font-weight: 500 !important;
  transition: font-size 0.3s ease, color 0.3s ease !important;
}

.navbar-brand {
  margin-right: 1rem !important;
}
 
/* kk new for d1-slot  */
.navbar-d1-slot {
  display: inline-block;
  padding: 0 1rem;
  opacity: 0;              /* hidden initially */
  transition: opacity 1.4s ease;
  vertical-align: middle;
  text-align: center;
 
}
/* kk new for d1-slot  */
.navbar-d1-slot.visible {
  opacity: 1;
}

/* to fully remove the d1-slot on smaller screens */
@media (max-width: 768px) {
  .navbar-d1-slot {
    display: none;
  }
  .dataTables_wrapper {
    overflow-x: auto;
  }
}

.nav-link, .navbar-item {
  font-family: 'Poppins', sans-serif !important; /* global style */
  color: #153847 !important;
   font-size: clamp(1.1rem, 1.2vw + 0.4rem, 1.3rem) !important; /* proportional to brand */
  font-weight: 500 !important;
  transition: font-size 0.3s ease, color 0.3s ease !important;
}

/* -------------------------
   Optional: smooth hover effects
   ------------------------- */
.nav-link:hover,
.navbar-item:hover {
  color: #0f2c36 !important; /* slightly darker shade on hover */
}

/* Adjust padding only where needed */
@media (max-width: 1200px) {
  .navbar {
    padding: 0.25rem 1rem !important;
  }
}

/* Prevent search bar collapse */
.navbar .form-control {
  min-width: 140px;
  flex: 1 1 auto;
}
@media (max-width: 1200px) {
  .navbar .form-control {
    min-width: 100px;
  }
}

/* Dropdown visual consistency */
.dropdown-menu {
  background-color: rgba(179, 224, 236, 0.95) !important; /* slightly lighter than #A1D6E2 */
  border: 1px solid rgba(0, 0, 0, 0.05); /* gentle edge definition */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 12rem;
  backdrop-filter: blur(6px); /* optional, adds nice soft look */
}

.dropdown-item {
  color: #153847 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.4);
  color: #153847 !important;
}


/* Mobile: only show background when hamburger is opened */
@media (max-width: 992px) {
  .navbar.open {
    background-color: rgba(161, 214, 226, 0.95) !important; /* visible backdrop */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }

  .navbar.open .dropdown-menu {
    background-color: rgba(161, 214, 226, 0.95) !important;
  }
}

/* -------------------------------------- */
/* Footer specific styles */
/* -------------------------------------- */


/* ------------------------------------------------ */
/* A. CORE STYLES AND JPG FALLBACK (STANDARD CSS) */
/* ------------------------------------------------ */

/* kk working code keep  */
/* Category A - Overall footer class */
.footer-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* kk working code keep  */
/* Category B - Holds all footer content including overlay */
.footer-container {
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding-bottom: 93.75%;
    width: 100%; 
    position: relative;
    background-color: transparent; 
    overflow: hidden;
}

/* kk working code keep  */
/* Category C - Holds all written footer content */
.footer-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center; 
    padding-bottom: 20px;
    padding-top: 20px;
}

/* kk working code keep  */
/* Category D - Container for all written footer content */
/* You may need to adjust the padding on .footer-content .container to control inner spacing */
.footer-content.container {
    display: grid;
    /* DEFINES THREE ROWS: Top (auto), Empty Middle (1fr), Bottom (auto) */
    grid-template-rows: auto 1fr auto; 
    /* Columns remain the same for horizontal alignment */
    grid-template-columns: 1fr 1fr 1fr; 
    height: 100%; 
    width: 100%;
    max-width: 90vw;
    padding-top: 0.5vh;
    padding-bottom: 0vh;
    padding-left: 2.0vw;
    padding-right: 2.0vw;

}

/* kk working code keep  */
/* --- Placement of Top Element --- */
.footer-brand-area {
    grid-row: 1 / 2; /* Place in the first row */
    grid-column: 1 / -1; /* Span all columns */
    /* Add any top/bottom margin here for spacing from the top edge */
}

/* kk working code keep  */
/* --- Placement of Bottom Element --- */
.footer-content-bottom-area {
    grid-row: 3 / 4; /* Place in the third row */
    grid-column: 1 / -1; /* Span all columns */
    /* Padding is already handled by the container padding */
}

/* kk working code keep  */
/* keep details */
/* Brand styling (matches navbar aesthetic) */
.footer-brand {
  font-family: "Kalam", cursive;
  text-align: center;
  display: block;
  font-size: clamp(48px, 8vw, 70px);
  font-weight: 500;
  color: #ffffff !important;
  /* transition: color 0.3s ease; */
  transition: opacity 1.6s ease, text-decoration 1.6s ease;
}
.footer-brand:hover {
  color: #e0e0e0 !important;
  opacity: 0.75;
}

.footer-brand .footer-tagline {
  text-align: inherit;
  /* margin: 0; */
}

/* keep details */
.footer-tagline {
  font-size: clamp(15px, 2.5vw, 22px);
  font-weight: 400;
  line-height: 0.0;
  color: #ffffff !important;
  opacity: 0.75;
}

.footer-tagline:hover {
  color: #e0e0e0 !important;
  opacity: 1.00;
}

/* kk keep this works */
/* Overlay for readability */
.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  
  background: 
    linear-gradient(
    rgb(10 10 10 / 50%) 0%,
    rgb(10 10 10 / 30%) 30%,
    rgb(10 10 10 / 0%) 50%,  
    rgb(10 10 10 / 15%) 70%, 
    rgb(10 10 10 / 100%) 100%   
  );
  pointer-events: none;
  z-index: 0;  
}

/* ------------------------------------------------ */
/* Working code */
/* ------------------------------------------------ */

/* kk does work */
/* Footer contact links */
.footer-contact-links a {
  color: rgba(255, 255, 255, 0.95) !important; /* soft white */
  text-decoration: none;
  opacity: 0.80;
  font-weight: 400;
  /* font-size: 3.3vw; */
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.6;
  transition: opacity 0.6s ease, text-decoration 0.6s ease;
}

/* kk this works */
/* Footer navigation links and copyright detail */
.footer-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important; /* soft white */
  text-decoration: none;
  opacity: 0.80;
  font-weight: 400;
  /* font-size: 3.3vw; */
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.6;
  transition: opacity 0.6s ease, text-decoration 0.6s ease;
}

/* kk this works */
/* Hpver over footer navigation links  */
.footer-nav .nav-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* kk this works */
/* footer divider line */
.footer-divider {
  border: none;                     
  height: 2px !important;                      
  background: whitesmoke !important; 
  margin: 0.5rem 0 1.0rem 0;                   
  opacity: 0.45;                     
}

/* Ensure the .footer-copy text is centered by default */
.footer-copy, 
.footer-photo-credit{
  text-align: center; 
  color: #f8faf8 !important;
  font-size: clamp(12px, 1.5vw, 18px);
  opacity: 0.45;
  font-style: italic; 
}

.footer-contact-links a:hover {
  opacity: 1;
  text-decoration: underline;
  color: #ffffff; 
}

/* Optional: automatic, softly tinted divider between links */
.footer-contact-links p a + a::before {
  content: "|";
  margin: 0 0.6em;
  color: rgba(255, 255, 255, 0.6);
}


/* ------------------------------------------------ */
/* Footer brand, links and tagline responsiveness */
/* ------------------------------------------------ */

/* Small Tablets (600px and wider) */
@media (min-width: 576px) {
  .footer-brand {
    /* font-size: 8.64vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
}
  .footer-tagline {
    /* font-size: 2.7vw; */
    font-weight: 400;
    opacity: 0.75;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
}

/* Standard Tablets/Small Laptops (768px and wider)*/
@media (min-width: 768px) {
  .footer-brand {
    /* font-size: 6.40vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 2.0vw; */
    font-weight: 400;
    opacity: 0.85;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
}

/* Next size up (992px and wider) */
@media (min-width: 992px) {
   .footer-brand {
    /* font-size: 5.12vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 1.6vw; */
    opacity: 0.80;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
}

/* Medium Desktops (1200px and wider) */
@media (min-width: 1200px) {
   .footer-brand {
    /* font-size: 4.48vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 1.4vw; */
    opacity: 0.75;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
}

/* Hi-Res/Large Desktops (1600px and wider)*/
@media (min-width: 1600px) {
    .footer-brand {
    /* font-size: 3.84vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 1.2vw; */
    opacity: 0.75;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
}

/* ULTRA HD (1920px and wider) */
@media (min-width: 1920px) {
    .footer-brand {
    /* font-size: 3.2vw; */
    opacity: 1.00;
    }
  .footer-brand:hover {
  opacity: 0.75;
  }
  .footer-tagline {
    /* font-size: 1.0vw; */
    opacity: 0.75;
  }
  .footer-tagline:hover {
    opacity: 1.00;
  }
}



/* ------------------------------------------------ */
/* B. JPG RESPONSIVENESS (Changing only the source) */
/* ------------------------------------------------ */

/* Small Tablets (600px and wider) - Load 800.jpg */
@media (min-width: 576px) {
    .footer-container {
        /* padding-bottom: 60.0%; */
        background-image: url('/images/footer/footer-1200-mobile.jpg');
    }
}

/* Standard Tablets/Small Laptops (768px and wider) - Load 1200.jpg */
@media (min-width: 768px) {
    .footer-container {
        padding-bottom: 38.16%;
        background-image: url('/images/footer/footer-1200.jpg');
    }
}

/* Medium Desktops (1200px and wider) - Load 1600.jpg */
@media (min-width: 1200px) {
    .footer-container {
        background-image: url('/images/footer/footer-1600.jpg');
    }
}

/* Hi-Res/Large Desktops (1600px and wider) - Load 2400.jpg */
@media (min-width: 1600px) {
    .footer-container {
        background-image: url('/images/footer/footer-2400.jpg');
    }
}

/* ULTRA HD (1920px and wider) - Load 3842x1468 */
@media (min-width: 1920px) {
    .footer-container {
        background-image: url('/images/footer/footer-3840.jpg');
    }
}

/* ------------------------------------------------ */
/* C. WEBP OPTIMIZATION (Overrides the JPG paths above) */
/* ------------------------------------------------ */
@supports (background-image: url('data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQIEuhoP0lSgoEAA') ) {
    
    /* Default WebP (Mobile First - 0px and up) */
    .footer-container {
        padding-bottom: 93.75%;
        background-image: url('/images/footer/footer-800-mobile.webp');
    }

       /* Small Tablets (600px and wider) - Loads 800px image */
    @media (min-width: 576px) {
        .footer-container {
            /* padding-bottom: 70.0%; */
            background-image: url('/images/footer/footer-1200-mobile.webp');
        }
    }

    /* Standard Tablets/Small Laptops (768px and wider) - Loads 1200px image */
    @media (min-width: 768px) {
        .footer-container {
            padding-bottom: 38.16%;
            background-image: url('/images/footer/footer-1200.webp');
        }
    }

    /* Medium Desktops (1200px and wider) - Loads 1600px image */
    @media (min-width: 1200px) {
        .footer-container {
            /* padding-bottom: 38.2%; */
            background-image: url('/images/footer/footer-1600.webp');
        }
    }

    /* Hi-Res Screens (WebP for screens 2200px and wider) */
    @media (min-width: 1600px) {
        .footer-container {
            background-image: url('/images/footer/footer-2400.webp');
        }
    }

    /* ULTRA HD (1920px and wider) */
    @media (min-width: 1920px) {
        .footer-container {
            background-image: url('/images/footer/footer-3840.webp');
        }
    }
}


/* -------------------------------------- */
/* Accordion specific styles */
/* -------------------------------------- */

.competency-accordion-section {
    padding-top: 6vh !important;
    padding-bottom: 4vh !important;
}

/* Accordion button (header) default style - closed */
.accordion-button {
  background-color: #1995AD !important;
  color: white !important;
  font-weight: bold !important;
  font-size: 1.3rem !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125) !important;
}


    /* ======================================

          PAGE, SECTION & DIV SETUP

    ====================================== */


h6.legend-label-text {
  margin-left: 1rem;
  font-size: clamp(1.3rem, 2.5vw, 1.5rem);
}


body {
    /* font-family: 'Inter', sans-serif; */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #F9F9F9 !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
  }

html, body {
  overflow-x: hidden;
}


  main {
    background-color: #F9F9F9 !important;
  }

  .card-body {
    background-color: #F9F9F9 !important;
  }

  .card-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
  }

  /* Setup for any div. with the main-card class */
div.main-card {
  background-color: #F9F9F9 !important;
  color: #3A2F51;
  border-radius: 16px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

label.form-label {
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

.form-label-h h5 {
  font-size: 1.5rem;
  margin-left: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h5.form-top-h5 {
  font-size: 1.5rem;
  margin-left: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h5.form-h5 {
  /* font-size: 1.5rem; */
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-left: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h3.card-title {
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  font-weight: 600;
}

span.form-h5 {
  padding-left: -5px;
}

span.method-label-text {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

#kmeans-params, #dbscan-params, #hdbscan-params {
  margin-top: 0;
}

p.form-p {
  font-size: clamp(1.0rem, 2.5vw, 1.1rem);
  margin-top: 0;
  margin-left: 2rem;
  padding-right: 2rem;
}

p.filterform-p {
  margin-top: 1rem;
  margin-left: 0.25rem;
  margin-bottom: 0;
  padding-right: 0rem;
}

.filter-label-text {
  font-size: 1.2rem;
}

.select2-search__field {
  margin-top: 5px !important;
  /* padding-bottom: 10px !important; */
  margin-bottom: 5px !important;
  min-height: 25px !important;
}


    /* ======================================

        EXTENDED DATA TABLES SECTION

    ====================================== */

/* -----------------------------
   Sections & Table Cards
------------------------------ */

#competency-table-section {
  margin-bottom: 10vh !important;
}

/* Setup for the main table card */
  #table-card {
  background-color: #A1D6BF !important;
  color: #3A2F51;
  padding: 0rem 1rem 1rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  overflow-x: auto;
}

#competencyTable_wrapper.dataTables_wrapper .dataTables_filter input[type="search"] {
    background-color: #fdfdfd !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    color: #3A2F51 !important;
    margin-left: 0 !important; /* optional */
    appearance: none; /* for Safari/Chrome */
    -webkit-appearance: none;
}



.dataTables_filter input:focus {
  border-color: #3A2F51  !important;
  box-shadow: 0 0 0 2px rgba(58, 47, 81, 0.25);
  outline: none;
}

/* -----------------------------
   Pagination Buttons
------------------------------ */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  background-color: #fdfdfd;   /* off-white */
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #3A2F51 !important;
  padding: 4px 10px;
  margin: 0 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #57477A !important;
  color: #ffffff !important;
  /* border: 1px solid #3A2F51; */
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background-color: #f0f0f0 !important; /* subtle off-white shade */
  color: #3A2F51 !important;           /* dark text for visibility */
  border: 1px solid #ccc !important;
}

/* -----------------------------
   Length Dropdown (Show Entries)
------------------------------ */
.dataTables_wrapper .dataTables_length select {
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 4px 8px;
  color: #3A2F51;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_length select:focus {
  border-color: #3A2F51;
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 47, 81, 0.2);
}


/* -----------------------------
   Scrollbar for long tables
------------------------------ */
.dataTables_scrollBody {
  max-height: 400px !important;
  overflow-y: auto !important;
}



    /* ======================================

      LEAVE BELOW .hide AT VERY BOTTOM OF CSS

    ====================================== */

/* Enables visibility switch without setting inline styles, allowing any media query rules to still apply. */
/* Hide utility class */
.hide {
  display: none !important;
}

.card-showcase {
  border-radius: var(--bs-border-radius-xxl) !important; /* same as rounded-5 */
  overflow: hidden;  /* ensures inner .card-body respects the rounding */
}
