
/* Fonts */
:root {
  --default-font:  "Inter", sans-serif;
  --heading-font:  "Inter", sans-serif;
  --nav-font:  "Inter", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #F9F8F7; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #2948A3; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #556270;  /* The default color of the main navmenu links */
  --nav-hover-color: #2948A3; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #556270; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #253f8d; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f2f4f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #3b4654;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #444e5b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
.container-fluid{padding: 0 30px;}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  padding: 5px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 25px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: #00173f;
  text-transform: uppercase;
}

.header .sp{display: flex;align-items: center;}
@media (max-width: 767px) {
  .header .logo {
    order: 1;
  }

  .header .sp {margin-right: 20px;
    order: 2;

  }
  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

input:focus {
  border-color: #00173f;
  box-shadow: 0 0 5px rgba(0, 24, 112, 0.2);
  outline: none;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 768px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (min-width: 768px) {
  .mobile-nav-toggle {
display: none;}

}
@media (max-width: 767px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}


/* check */
    /* Checkbox Styling */
    input[type="checkbox"] {
      appearance: none;
      -webkit-appearance: none;
      width: 16px;
      height: 16px;
      border: 1px solid #999;
      border-radius: 2px;
      cursor: pointer;
      outline: none;
      position: relative;
  }

  /* Checkbox Checked State */
  input[type="checkbox"]:checked {
      background-color: #fff;
      border-color: #999;
  }

  /* Add a checkmark icon */
  input[type="checkbox"]:checked::after {
      content: '\2713'; /* Unicode checkmark symbol */
      color: #000;
      font-size: 12px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-weight: bold;
  }

  /* Hover Effect */
  input[type="checkbox"]:hover {
      background-color: #bbb;
  }

  .form-control:focus, .form-select:focus {
    border-color: #00173f;
    box-shadow: 0 0 5px rgba(0, 24, 112, 0.2);
    outline: none;
  }


/* ================================================== */
.card{border: 1px solid #E3E2E2;border-radius: 10px;background: none;}
.activity-header{display: flex;justify-content: space-between;align-items: center;}
/* Section Titles */
.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #00173f;
}

.activities-section .activity-list {
  position: relative;max-height: 610px;overflow: auto;
  padding-left: 25px; /* Adjust for timeline line alignment */
}
.activities-section .activity-list::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}


.activities-section .activity-list .activity-item {
  position: relative;
  padding-left: 50px;margin-bottom: 40px;
}

.activities-section .activity-list .activity-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px; /* Align with the icon center */
  width: 2px;
  height: calc(120% + 15px); /* Extend the line beyond the icon */
  background-color: #dee2e6;
  z-index: 1;
}

.activities-section .activity-list .activity-icon {
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(50%);
  background: #00173f !important;
  border-radius: 50%;
  z-index: 2;
}

.activities-section .activity-list .activity-title {
  font-size: 16px;
  color: #00173f;
}

.activities-section .activity-list .activity-desc {
  font-size: 14px;
  color: #6c757d;
}

.activities-section .activity-list .activity-date {
  font-size: 12px;
  color: #0031a3;
}
/* Recent Users Section */
.recent-usr{max-height: 700px;overflow: auto;}
.recent-usr::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}
.recent-users-section .btn-primary {
  background-color: #00173f;
  border: none;
}

.recent-users-section .btn-primary:hover {
  background-color: #0031a3;
}
.user-details{display: flex;align-items: center;}
.recent-users-section .user-list .user-item {
  display: flex;
  align-items:center;justify-content: space-between;
}
@media (min-width:992px) and (max-width:1300px) {
  .recent-users-section .user-list .user-item {
align-items: end;
  }
  .user-details{flex-direction: column;}
}
@media (max-width:550px) {
  .recent-users-section .user-list .user-item {
flex-direction: column;gap: 20px;
  }
}
.recent-users-section .user-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.recent-users-section ul {margin-bottom: 0;

}
.recent-users-section .user-name {
  font-size: 16px;font-weight: 600;margin-bottom: 5px;
}

.recent-users-section .user-role {margin-bottom: 5px;
  font-size: 16px;font-weight: 400;
}
.recent-users-section .user-code {
  font-size: 14px;margin-bottom: 0;
}

.recent-users-section .user-info a {
  color: #0031a3;
  text-decoration: none;
}

.recent-users-section .user-info a:hover {
  text-decoration: underline;
}
  .rct-user{max-width: 300px;width: 270px;}

.recent-users-section .rct-user p{margin-bottom: 5px ;font-size: 13px;}
.recent-users-section .user-date{font-size: 10px;margin-bottom: 5px;}
.rct-left{text-align: right;}
.rct-left,.rct-right{width: 50%;}


/* =============================table================================== */

    /* ======pagination====== */
    .paginattion-container .pagination {
      display: flex;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .pagination .page-item .page-link.Active {
      background-color: #00173F;
      color: #fff;
      border-color: #00173F;
  }

    .page-item {
      margin: 0 5px;
    }
    
    .page-link {
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      color: #333;border: none;
      background-color: transparent;
      border-radius: 4px;
      padding: 5px 10px;
      width: 25px;
      height: 25px;
      transition: all 0.3s ease;
    }
    
    
    .page-link:hover {
      background-color: #00173f;
      color: white;
    }
    
    .page-item:first-child .page-link,
    .page-item:last-child .page-link {
      font-size: 18px;
      line-height: 1;
      padding: 0 6px;
    }
    
    .page-item.disabled .page-link {
      pointer-events: none;
      opacity: 0.5;
    }
    
    .page-item.active .page-link{background-color: #00173f;
      box-shadow: none;
    }
    /* == */

.top-filter .dropdown a {
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
}

.table-container {
  margin-top: 20px;
}

.table-container td {
  font-size: 12px;
  padding: 12px 30px;
  background-color: transparent;
}

.table-container th {font-weight: 500;
  background-color: #edeae4;
  padding: 10px 30px;
}


.top-filter .add-user-btn {
  background-color: #00173f;
  color: white;
}

.top-filter .add-user-btn:hover {
  background-color: #061f4b;
  color: #fff;
}

.table-container .table-actions img {
  width: 20px;margin:0 3px;
}
.t-name{color: #0031a3 !important;}
/* Enable horizontal scrolling for the table */
.table-container {
  overflow-x: auto;
  white-space: nowrap;
}

/* Ensure the table stays within the container */
.table-container table {
  width: 100%;
  min-width: 1000px;
  /* Adjust based on your table's minimum width */
}

/* ======================table-end============================ */