/* ============================================
   TABLE HEADER STYLES - Clean Design
   ============================================ */
.table thead th {
  background: #fff !important;
  color: #495057 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  border-bottom: 1px solid #e9ecef !important;
  padding: 1rem !important;
}

.table-modern {
  border-radius: 12px;
  overflow: hidden;
}

.table-modern thead th {
  background: #fff;
  color: #495057;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  border: none;
  border-bottom: 1px solid #e9ecef;
  padding: 1rem;
}

.table-modern tbody tr {
  transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
  background-color: #f8f9ff;
}

.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #6c757d transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: #6c757d;
}

@media (min-width: 1200px) {
  #main, #footer {
    margin-left: 300px;
  }
}
@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {
  .toggle-sidebar #main, .toggle-sidebar #footer {
    margin-left: 0;
  }
  .toggle-sidebar .sidebar {
    left: -300px;
  }
}
.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}
/* Scrollbar Styling for Webkit Browsers */
.sidebar::-webkit-scrollbar {
  width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #6c757d;
}

/* Sidebar Navigation Styles */
.sidebar-nav {
  list-style: none;
  padding-left: 0;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}


.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  font-weight: 600;
  color: #6c757d;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  margin-right: 10px;
}

.sidebar-nav .nav-link.collapsed {
  color: #6c757d;
  background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-left: auto;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding-top: 5px;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 0.875em;
  color: #6c757d;
  padding: 10px 0 10px 40px;
}

.sidebar-nav .nav-content a i {
  margin-right: 8px;
}

/* Collapsed Sidebar for small screens */
@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }

  .toggle-sidebar .sidebar {
    left: 0;
  }
}

/* Adjust main content when sidebar is toggled */
@media (min-width: 1200px) {
  #main, #footer {
    margin-left: 300px;
  }

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }
}


/* Header Specific Styles */
.header .toggle-sidebar-btn {
  font-size: 2rem; /* 32px converted to rem */
  padding-left: 0.625rem; /* 10px converted to rem */
  color: #6c757d;
}



.invoice {
    background-color: #f9f9f9;
    border: 1px solid #6c757d;
    padding: 15px;
    margin-top: 10px;
}

#toggle-password-button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Ensure the icon inherits the color from parent or set it explicitly */
#toggle-password-icon {
  color: #6c757d; /* This color should match your input's font color */
  pointer-events: auto; /* To ensure the icon is clickable */
}



.form-control {
    padding-right: 40px; /* Adjust as needed based on the size of your icon */
}


.wrapper {
	max-width: 1200px;
	min-width: 700px;
	margin: 0 auto;
	padding: 40px;
}


/* Additional Styles for Check-In, Check-Out, and Break Time Modals */
#checkinModal, #checkoutModal, #breakTimeModal {
    font-weight: 300;
}

#btn-save-checkin, #btn-save-checkout, #btn-save-break-time {
    background-color: #ff6252; /* Red color from your Gantt chart */
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#btn-save-checkin:hover, #btn-save-checkout:hover, #btn-save-break-time:hover {
    background-color: darken(#ff6252, 10%);
}

/* Form Label Styles */
.form-label {
    color: #6c757d;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: left;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 15px; /* Bootstrap has flex utilities, so consider using those if needed */
}

/* Form Control Styles */
.form-control {
    padding: 10px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 7px;
    font-size: 16px;
}

.form-control:focus {
    border-color: #6c757d;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Form Check Styles */
.form-check-input {
    margin-right: 5px;
}

.form-check-label {
    font-size: 14px;
}

/* Custom Form Select Styles */
.form-select {
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 30px;
}

/* PHP Email Form Styles */
.php-email-form .error-message, 
.php-email-form .sent-message, 
.php-email-form .loading {
    display: none;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

/* Keyframes for Dropdown Animation */
@keyframes dropdown-animate {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom CSS for uniform height for inputs and select dropdowns */
.form-control, .form-select {
    height: calc(1.5em + .75rem + 2px); /* Adjusted to match Bootstrap's default height */
    margin-bottom: .5rem; /* Add some space below each field */
}
/* Ensure the button has the same height as the form fields */
.btn {
    height: 100%; /* Adjust the height to match form fields */
    padding: .375rem .75rem; /* Bootstrap's default button padding */
}


/* If you want to customize the close button */
.modal-header .btn-close {
    padding: 1rem; /* Ensures a larger clickable area */
    margin: -1rem -1rem 0 0; /* Positions the button correctly in the corner */
    /* Other styles are inherited from Bootstrap, and you shouldn't need to change them */
}

/* Additional styles if you want to ensure the button has more contrast on hover */
.modal-header .btn-close:hover {
    color: #000; /* Dark color for the icon */
    background-color: #f0f0f0; /* Light gray background */
}

/* Ensure that the focus state is also clear for accessibility */
.modal-header .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap's default focus shadow */
}

.badge.bg-primary.badge-number {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.75rem; /* Badge text size */
    width: 20px; /* Badge size */
    height: 20px; /* Badge size */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6c757d; /* Badge background color */
}


.badge.bg-primary {
    background-color: #6c757d; /* Your chosen color */
}


/* Set the base font for the entire header to be professional and bold */
.header {
    font-family: 'Open Sans', sans-serif; /* This is a professional looking font */
}

/* Specific styles for the navbar brand to make it bold */
.navbar-brand.elegant-brand {
    font-weight: 700; /* Bold */
    font-size: 1.25rem; /* Or whatever size you prefer */
}

/* Ensure all nav links are bold */
.header-nav .nav-link {
    font-weight: 700; /* Bold */
}

/* Specific styles for badge numbers to make them bold and professional */
.badge.bg-primary.badge-number {
    font-weight: 700; /* Bold */
}

/* Specific styles for the notification icon */
.nav-link.nav-icon .bi-bell {
    font-size: 1.5rem; /* Large size for the icon */
}


.nav-link {
    display: block;
    padding: 0.5rem 1rem; /* Standard padding for navigation links */
    font-size: 1rem; /* Standard font size for clear readability */
    font-weight: 600; /* Bold font weight for emphasis and professional appearance */
    color: #6c757d; /* Specific text color for nav links */
    text-decoration: none; /* No underline to keep it clean and professional */
    background: none; /* Transparent background for a clean look */
    border: 0; /* No border for a flat design style */
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out; /* Smooth transition for hover effects */
}



/* Generic styles for nav links */
.nav-tabs .nav-link {
    margin-bottom: -1px; /* Assuming the border width is 1px */
    border: 1px solid transparent; /* Border width set to 1px for all sides and transparent */
    border-top-left-radius: 0.25rem; /* Assuming a standard border radius of 0.25rem */
    border-top-right-radius: 0.25rem; /* Assuming a standard border radius of 0.25rem */
}



/* Styles for active nav pill */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #ffffff; /* Active nav pill text color, replace with your chosen color */
    background-color: #6c757d; /* Active nav pill background color, replace with your chosen color */
}





:root {
  /* Color Scheme */
  --primary-color: #6c757d;
  --primary-hover-color: #6c757d;
  --primary-bg: #fffff;
  --primary-light-bg: #6c757d;
  --primary-light-border: #6c757d;
  --primary-border-color: #6c757d;
  --success-color: #6c757d;
  --success-light-color: #6c757d;
  --error-color: #dc3545;
  --danger-light-color: #f8d7da;
  --secondary-light-color: #e2e3e5;
  --dark-light-color: #d3d3d4;
  --info-light-color: #cff4fc;
  --link-color: #6c757d;
  --hover-link-color: #717ff5;
  --text-color: #6c757d;
  --card-text-color: #6c757d;
  --breadcrumb-text-color: #899bbd;
  --breadcrumb-link-color: #899bbd;
  --breadcrumb-link-hover-color: #51678f;
  --breadcrumb-item-before-color: #899bbd;
  --breadcrumb-active-color: #51678f;
  --table-bg: #FFFFFF;
  --table-text: #6c757d333;
  --table-header-bg: #6c757d;
  --table-header-text: #FFFFFF;
  --table-border: #EAECEE;
  --table-hover-bg: #F4F6F9;
  --table-header-hover-bg: #354A5F;

  /* Typography */
  --font-main: "Open Sans", sans-serif;
  --font-headers: "Nunito", sans-serif;
  --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --header-font-weight: 600;
  --breadcrumb-font-size: var(--font-size-sm);
  --breadcrumb-font-weight: 600;
  --alert-heading-font-weight: 500;
  --alert-heading-font-family: var(--font-headers);

  /* Spacing and Layout */
  --spacing-base: 1rem;
  --spacing-md: 1.5rem; /* Newly added medium spacing */

  /* Borders and Shadows */
  --border-radius-sm: 0.2rem;
  --border-radius-md: 0.3125rem;
  --border-radius-lg: 0.5rem;
  --border-radius-base: 4px;
  --card-box-shadow: 0 0 30px rgba(1, 41, 112, 0.1);
  --card-hover-box-shadow: 0 0 40px rgba(1, 41, 112, 0.2);
  --card-edge-border-color: #f0f0f0;
  --card-edge-bg-color: #fafafa;
  --card-edge-text-color: #6c757d;
  --card-edge-hover-bg-color: #f8f8f8;
  --nav-tabs-border-color: #6c757d;
  --nav-tabs-border-width: 2px;

  /* Cards */
  --card-bg-color: #ffffff;
  --card-border-color: #6c757d;
  --card-border-radius: 8px;
  --card-padding: 0.9375rem;
  --card-title-font-family: 'Poppins', 'Arial', sans-serif;
  --card-title-font-size: 18px;
  --card-title-font-weight: 500;
  --card-title-color: #6c757d;
  --card-title-padding: 1.25rem 0;
  --card-title-span-color: #899bbd;
  --card-title-span-font-size: 14px;
  --card-title-span-font-weight: 400;
  --card-body-padding: 1.25rem;
  --card-img-overlay-bg-color: rgba(255, 255, 255, 0.6);
  --card-img-overlay-transition-duration: 0.3s;

  /* Accordion */
  --accordion-btn-active-color: #6c757d;
  --accordion-btn-active-bg: #f6f9ff;
  --accordion-btn-active-transition: 0.3s ease-in-out;
  --accordion-btn-flush-padding: 0.9375rem 0;
  --accordion-btn-flush-bg: none;
  --accordion-btn-flush-border: 0;
  --accordion-btn-flush-hover-bg: rgba(0, 0, 0, 0.1);
  --accordion-btn-flush-non-collapsed-color: #6c757d;
  --accordion-btn-flush-non-collapsed-shadow: none;
  --accordion-transition: color 0.3s ease;
  --accordion-body-padding: 0 0 0.9375rem 0;
  --accordion-body-text-color: #3e4f6f;
  --accordion-body-font-size: var(--font-size-base);
  --accordion-item-border-color: #6c757d;
  --accordion-item-border-width: 1px;
  --accordion-item-border-radius: var(--border-radius-md);
  --accordion-item-padding: 1rem;
  --accordion-item-transition-duration: 0.3s;
  --accordion-btn-focus-border-color: #6c757d;
  --accordion-btn-focus-border-width: 2px;

  /* Scroll Behavior and Transitions */
  --scroll-behavior: smooth;
  --transition-fast: 0.2s;
  --transition-base: 0.3s;
  --transition-slow: 0.5s;

  /* Breakpoints for Responsive Design */
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1400px;
  --table-responsive-breakpoint: 768px;
}

.elegant-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Elegant and readable font */
    font-size: 1.75rem; /* Adjusted font size for h4 */
    color: #6c757d; /* Dark gray for a sophisticated look */
    font-weight: 600; /* Medium font weight for emphasis */
    letter-spacing: 0.025rem; /* Slightly increased letter spacing for elegance */
    text-transform: none; /* Normal text transform for a formal appearance */
    margin-bottom: 1rem; /* Adequate bottom margin for spacing */
    transition: color 0.3s ease-in-out; /* Smooth transition for hover effects */
}

.enhanced-title {
    font-size: 1.25rem; /* Increase font size for better visibility */
    font-weight: 700; /* Bold font weight for emphasis */
    color: #6c757d; /* Dark shade for elegance and readability */
    margin-bottom: 0.75rem; /* Spacing below the title for better layout */
    text-transform: uppercase; /* Uppercase text for a more structured look */
    letter-spacing: 0.05rem; /* Slightly increased letter spacing for a cleaner look */
    line-height: 1.2; /* Optimal line height for readability */
    padding: 8px 0; /* Padding for a more defined space */
    border-bottom: 2px solid #efefef; /* Subtle bottom border for definition */
    display: inline-block; /* Allows the bottom border to fit content width */
}

.download-chart-btn {
    background-color: #6c757d; /* Green background for visibility and action encouragement */
    color: white; /* White text for contrast */
    padding: 10px 20px; /* Adequate padding for better clickability */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners for a modern look */
    font-size: 1rem; /* Appropriate font size for readability */
    font-weight: 600; /* Slightly bold font for emphasis */
    cursor: pointer; /* Change cursor to indicate clickability */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transition for hover effects */
}

.elegant-brand {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Elegant and readable font */
    font-size: 1.5rem; /* Increased font size for prominence */
    color: #6c757d; /* Dark gray for a sophisticated look */
    font-weight: 600; /* Medium font weight for a touch of emphasis */
    letter-spacing: 0.05rem; /* Slightly increased letter spacing for an airy feel */
    text-transform: capitalize; /* Capitalize styling for a more formal appearance */
    transition: color 0.3s ease-in-out; /* Smooth transition for hover effects */
}


/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers, "Nunito", sans-serif); 
  margin-top: 0; 
  color: var(--text-color, #6c757d); 
}

h1 {
  font-size: var(--font-size-lg, 2em);
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: var(--header-font-weight, 600); 
}

h2 {
  font-size: 1.5rem; 
  font-weight: var(--header-font-weight, 600); 
  border-bottom: 2px solid #6c757d;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem; 
  font-weight: 500;
  margin-bottom: 15px;
}

h4 {
  font-size: 1.125rem; 
  font-weight: 500;
  margin-bottom: 12px;
}

h5 {
  font-size: 1rem; 
  font-weight: 400;
  margin-bottom: 0px;
}

h6 {
  font-size: 0.875rem; 
  font-weight: 400;
  margin-bottom: 8px;
}

.error-404 h1 {
  font-size: 10rem; 
  line-height: 9rem; 
}

h2 a {
  color: inherit; 
  text-decoration: none; 
}

@media (max-width: var(--breakpoint-sm, 576px)) {
  h1 {
      font-size: 1.25rem; 
      margin-bottom: 1rem;
  }

  h2 {
      font-size: 1.125rem;
  }
}

/* Alert Heading Styles */
.alert-heading {
  font-weight: var(--alert-heading-font-weight, 500); 
  font-family: var(--alert-heading-font-family, "Poppins", sans-serif); 
  font-size: var(--alert-heading-font-size, 20px); 
  transition: font-size var(--alert-heading-transition-duration, 0.3s) ease; 
}

@media (max-width: 768px) {
  .alert-heading {
      font-size: calc(var(--alert-heading-font-size) - 4px);
  }
}

/* Header Styles */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  width: 100%;
  padding: 0 20px;
  background-color: var(--header-bg-color, #fff); 
  box-shadow: var(--header-shadow, 0px 2px 20px rgba(0, 0, 0, 0.1));
  border-bottom: var(--header-border-bottom, 1px solid rgba(0, 0, 0, 0.1));
  transition: all var(--header-transition-duration, 0.5s); 
  z-index: 997;
}


/* Header Specific Styles */
.header {
  font-size: 2rem; /* 32px converted to rem */
  padding-left: 0.625rem; /* 10px converted to rem */
  color: #6c757d;
}

.header .search-form button i {
  color: #6c757d;
}

/* Header Navigation Styles */
.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #6c757d;
  margin-right: 25px;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

/* Header Notifications and Messages Styles */
.header-nav .notifications .notification-item,
.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

/* Specific Styles for Notifications */
.header-nav .notifications .notification-item i,
.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  font-size: 24px; /* For icons */
  max-height: 40px; /* For images */
}

.header-nav .notifications .notification-item h4,
.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #6c757d;
}

.header-nav .notifications .notification-item p,
.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}
/* Filter Dropdown Styles */
.filter .dropdown-header {
  padding: 8px 15px;
}

.filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #6c757d;
  margin-bottom: 0;
  padding: 0;
}

/* Profile Base Styles */
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin-top: 10px;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

/* Profile Dropdown Styles */
.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #6c757d;
}

.header-nav .profile .dropdown-header span,
.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .header-nav .nav-profile,
  .sidebar-nav {
      display: none;
  }

  .footer {
      padding: 0.5rem 0;
  }
}

/* Adjusted from SCSS to CSS */
.profile-overview .row,
.profile-overview .label, .profile-edit label {
  margin-bottom: 20px;
  font-size: 15px;
  color: rgba(1, 41, 112, 0.6);
  font-weight: 600;
}

/* Profile Images */
.profile-image, #profileImage-profile,
.profile-section, .profile-section-layout {
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}

#profileImage-profile {
  width: 100px;
  height: 100px;
  border: 2px solid #e0e0e0;
  margin-right: 15px;
}

.profile-section {
  width: 85px;
  height: 85px;
  border: 2px solid gray;
}

.profile-section-layout {
  width: 40px;
  height: 40px;
  border: 1px solid gray;
}

.profile-section img, .profile-section-layout img {
  width: 100%;
  height: 100%;
}

.header-nav .nav-profile {
  color: #6c757d;
}

.header-nav .nav-profile img {
  max-height: 36px;
}


/* Dropdown Menu Styles */
.dropdown-menu .dropdown-header, 
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 0.9375rem; 
    padding: 0.625rem 1.5625rem; 
    font-weight: 600; 
    color: rgba(0, 0, 0, 0.7); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
}

.dropdown-menu .dropdown-footer {
    border-bottom: none; 
}

.dropdown-menu .dropdown-footer a {
    color: #444;
    text-decoration: underline;
}


.section {
    margin: 20px 0;
    margin-bottom: 20px;
}
 
.logo-section {
    margin-bottom: 20px;
}

.comments-section {
    border-top: 2px dashed #e3e3e3;
    padding-top: 15px;
}

/* Dashboard Sections */
.dashboard-body-left,
.dashboard-body-right {
  box-sizing: border-box;
  transition: flex 0.3s ease;
}

.dashboard-body-left {
  flex: 7;
  padding: 0 var(--spacing-md);
}

.dashboard-body-right {
  flex: 3;
  padding: 0 var(--spacing-md);
}

/* Rounded Button Style */
.button-rounded {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #6c757d;
}

/* Primary Button Styles */
.btn-primary {
    background-color: #6c757d;
}

/* Alert Button Styles */
.btn-danger {
    background-color: #ff5a5a;
}

.btn-success {
    background-color: #6c757d;
}

/* Close Button Styles */
.btn-close {
    background-size: 25%;
    width: auto;
    height: auto;
    background-color: transparent;
}

.edit-btn {
    border-radius: 50%;
    padding: 0.1875rem; /* 3px converted to rem */
    float: right;
}

/* Utility Classes */
.btn-full {
    width: 100%;
}

/* Accessibility Focus States */
.accordion-button:focus,
.btn-close:focus {
    outline: 2px solid #5b9dd9;
    box-shadow: 0 0 0 1px #5b9dd9;
}

/* Accordion Specific Styles */
.accordion-button:not(.collapsed) {
    color: #6c757d;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 0.9375rem 0; /* 15px converted to rem */
    background: none;
    border: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .btn,
    .button-base,
    button {
        padding: 0.5rem 1rem;
        font-size: 0.65rem;
    }

    .task-creation input[type="text"],
    .task-creation input[type="date"],
    .task-creation select,
    .task-creation button,
    .task-filter button {
        width: 100%; /* Full width on small screens */
        margin-bottom: 10px; /* Space between inputs */
    }

    /* Example: Stacking buttons vertically on small screens */
    .button-group {
        flex-direction: column;
    }
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer Styles */
.footer {
    padding: 1rem 0;
    background-color: #f5f5f5;
    text-align: center;
    border-top: 1px solid #e4e4e4;
}

.footer p {
    margin-bottom: 0;
    color: #777;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* Base Styles */


/* Main Dashboard Container */
.dashboard-body {
  display: flex;
  flex-wrap: nowrap; /* Prevents flex items from wrapping */
  gap: var(--spacing-md); /* Using spacing variable for consistent gaps */
  width: 100%;
  transition: all 0.3s ease; /* Smooth transition for layout changes */
}

/* Accordion Flush */
.accordion-flush .accordion-body {
  padding: var(--accordion-body-padding);
  color: var(--accordion-body-text-color);
  font-size: var(--accordion-body-font-size);
  transition: color 0.3s ease, font-size 0.3s ease, padding 0.3s ease;
}

/* Collapsed Dashboard Animations */
.dashboard-body.collapsed .dashboard-body-left {
  flex: 10; /* Expanding when collapsed for more space */
}

.dashboard-body.collapsed .dashboard-body-right {
  flex: 0; /* Collapsing the right section */
  overflow: hidden; /* Hiding overflowed content */
}

/* Task Creation Input Styles */
.task-creation input[type="text"],
.task-creation input[type="date"],
.task-creation select {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Datepicker Navigation Buttons */
.ui-datepicker-next,
.ui-datepicker-prev {
  background-color: white;
  color: black;
  border: 1px solid #6c757d;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Datepicker Arrows */
.ui-datepicker-next span,
.ui-datepicker-prev span {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px;
  border-color: transparent;
  vertical-align: middle;
  transition: border-color 0.3s ease-in-out;
}

.ui-datepicker-next span {
  border-left-color: black; /* Arrow pointing right */
}

.ui-datepicker-prev span {
  border-right-color: black; /* Arrow pointing left */
}

/* Input and Date Wrapper Styles */
.input-wrapper, .date-wrapper {
  margin-left: 1rem;
  flex: 1;
}

/* Grid Layout for Dates */
#dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  height: calc(100vh - 100px);
}

/* Individual Date Cell Styles */
.date {
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  padding: 10px;
}



.spinner-border {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
 /*  transform: translate(-50%, -50%);  */
  color: var(--spinner-color); /* Use the CSS variable for the color */
  z-index: 9999; /* Ensures it's above most other elements */
  /* Removed transition since it's not necessary without a hover or active state change */
}

/* Background Colors with Hover and Focus States */

/* Primary Light Styles */
.bg-primary-light {
  background-color: var(--primary-light-bg);
  border-color: var(--primary-light-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Secondary Light Styles */
.bg-secondary-light {
  background-color: var(--secondary-light-bg);
  border-color: var(--secondary-light-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Success Light Styles */
.bg-success-light {
  background-color: var(--success-light-bg);
  border-color: var(--success-light-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Danger Light Styles */
.bg-danger-light {
  background-color: var(--danger-light-bg);
  border-color: var(--danger-light-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Info Light Styles */
.bg-info-light {
  background-color: var(--info-light-bg);
  border-color: var(--info-light-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Dark Light Styles */
.bg-dark-light {
  background-color: var(--dark-light-bg);
  border-color: var(--dark-light-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Warning Light Styles */
.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Custom Background Colors */
.bg_green {
  background-color: #60c760;
}

.bg_yellow {
  background-color: #a1a11c;
}

.bg_gray {
  background-color: #808080;
}


/* Ensure that your CSS rules continue here, utilizing the defined variables for consistency and scalability */

/* Container Classes for Responsive Design */
@media (min-width: var(--breakpoint-sm)) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 100%;
  }
}

/* #backdrop {
  position: fixed; Ensures it covers the entire viewport even when scrolling
  top: 0;
  left: 0; Explicitly sets left position to 0
  width: 100%;
  height: 100%;
  z-index: 9999; Keeps it on top of other elements
  background-color: rgba(0, 0, 0, 0.2); Using correct function name 'rgba'
  display: flex; Allows for centering of content
  justify-content: center; Center content horizontally
  align-items: center; Center content vertically
  transition: opacity 0.3s ease-in-out; Adds a transition effect
  pointer-events: none; Disallows interaction with elements below the backdrop
} */

.alert {
  position: fixed; /* Fixed position ensures the alert stays at the top while scrolling */
  top: 0;
  left: 0; /* Explicitly define the left position */
  width: 100%; /* 100% width within the context of the parent element */
  z-index: 9999; /* Keeps the alert above other elements */
  transition: all 0.3s ease-in-out; /* Optional: Adds smooth transitions */
  box-sizing: border-box; /* Makes sure padding and border don't add up to the element size */
}

/* PDF Viewer */
#view_pdf {
  overflow-x: auto; /* Allows horizontal scrolling when needed */
}

/* Notification Item */
.notification-item {
  width: 400px;
  margin: 0.5rem; /* Uses rem for scalable margin */
  box-sizing: border-box; /* Padding and borders are included in width */
}

/* Notification Container */
.notifications {
  height: 400px;
  overflow: auto; /* Adds scrolling when content overflows */
  box-sizing: border-box; /* Padding and borders are included in height */
}


/* Media Query for Container Sizing */
@media (min-width: 400px) {
	.container-lg, .container-md, .container-sm, .container {
		max-width: 98%; /* Allows for a slight margin on larger screens */
		box-sizing: border-box; /* Ensures padding and borders are included in max-width */
	}
}



/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/



/* Root Variables and Global Styles */

/* Link Styling */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}
/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/


/* Main Content Area */
#main {
  margin-top: 60px;
  padding: 1.25rem 1.875rem; /* 20px 30px converted to rem for better scalability */
  transition: padding 0.3s ease-in-out, margin-top 0.3s ease-in-out; /* Specify what properties to transition */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Responsive Padding for Smaller Screens */
@media (max-width: 1199px) {
  #main {
    padding: 1.25rem; /* Converted to rem for better scalability */
  }
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
/* Back to Top Button */
.back-to-top {
  position: fixed;
  visibility: hidden; /* Hidden by default */
  opacity: 0; /* Transparent by default */
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #6c757d;
  width: 2.5rem; /* 40px converted to rem */
  height: 2.5rem; /* 40px converted to rem */
  border-radius: 0.25rem; /* 4px converted to rem */
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; /* Specified what properties to transition */
}

/* Icon inside the Back to Top Button */
.back-to-top i {
  font-size: 1.5rem; /* 24px converted to rem */
  color: #fff;
  line-height: 2.5rem; /* Aligned with button height for vertical centering */
  text-align: center; /* Horizontally center the icon */
}

/* Active state */
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown Menus */
.dropdown-menu {
  border-radius: 0.25rem; /* Converted 4px to rem for better scalability */
  padding: 0.625rem 0; /* Converted 10px to rem for better scalability */
  animation: dropdown-animate 0.2s both; /* Combined animation shorthand */
  border: none; /* Removed border */
  box-shadow: 0 0.3125rem 1.875rem rgba(82, 63, 105, 0.2); /* Added shadow for depth, converted px to rem */
}

/* Optional: Define the animation if not defined elsewhere */
@keyframes dropdown-animate {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dropdown Divider */
.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

/* Dropdown Items */
.dropdown-menu .dropdown-item {
  font-size: 0.875rem; /* 14px to rem */
  padding: 0.625rem 0.9375rem; /* 10px and 15px to rem */
  transition: background-color 0.3s ease; /* Specified what properties to transition */
}

/* Dropdown Item Icons */
.dropdown-menu .dropdown-item i {
  margin-right: 0.625rem; /* 10px to rem */
  font-size: 1.125rem; /* 18px to rem */
  line-height: 1; /* Reset to inherit line-height */
}

@media (min-width: 768px) {
  /* Dropdown Arrow (Desktop view) */
  .dropdown-menu-arrow::before {
    content: "";
    width: 0.8125rem;   /* Converted 13px to rem for better scalability */
    height: 0.8125rem;  /* Converted 13px to rem for better scalability */
    background: #fff;
    position: absolute;
    top: -0.4375rem;    /* Converted -7px to rem for better scalability */
    right: 1.25rem;     /* Converted 20px to rem for better scalability */
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Optional: added shadow for better visibility */
  }
}
.accordion-item {
  /* Use the variable for the border color */
  border: var(--accordion-item-border-width) solid var(--accordion-item-border-color);

  /* Add rounded corners */
  border-radius: var(--accordion-item-border-radius);

  /* Add some padding for content */
  padding: var(--accordion-item-padding);

  /* Add transition for smoothness */
  transition: all var(--accordion-item-transition-duration);
}

.breadcrumb {
  font-size: var(--breadcrumb-font-size);  /* Use variable for font size */
  font-family: var(--breadcrumb-font-family);  /* Use variable for font family */
  color: var(--breadcrumb-text-color);  /* Use variable for text color */
  font-weight: var(--breadcrumb-font-weight);  /* Use variable for font weight */
}

.breadcrumb a {
  color: var(--breadcrumb-link-color);  /* Use variable for link color */
  transition: color var(--breadcrumb-link-transition-duration);  /* Use variable for transition duration */
}

.breadcrumb .breadcrumb-item::before {
  color: var(--breadcrumb-item-before-color);  /* Use variable for color */
}



/* Define variables for active breadcrumb styles */

/* Styles for active breadcrumb item */
.breadcrumb .active {
  color: var(--breadcrumb-active-color);  /* Use variable for color */
  font-weight: var(--breadcrumb-active-font-weight);  /* Use variable for font-weight */
}

/* Bordered Tabs */

/* Define variables for nav-tabs bordered style for easy customization */

/* Styles for nav-tabs with a border bottom */
.nav-tabs-bordered {
  border-bottom: var(--nav-tabs-border-width) solid var(--nav-tabs-border-color); /* Use variables for border properties */
}


/* Base styles for tabs with borders */
.nav-tabs-bordered {
  margin-bottom: 10px; /* Add some space between the tabs and the content */
}

/* General styling for each tab link */
.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;  /* Align with the border */
  border: none;  /* Remove default borders */
  color: #2c384e;  /* Set text color */
  padding: 10px 20px;  /* Add padding for a better visual look */
  transition: color 0.3s ease;  /* Smooth color transition */
}

/* Styling for the active tab */
.nav-tabs-bordered .nav-link.active {
  background-color: #fff;  /* Set background color */
  color: #6c757d;  /* Set active text color */
  border-bottom: 2px solid #6c757d;  /* Add a bottom border */
  transition: background-color 0.3s ease, border-bottom 0.3s ease;  /* Smooth transitions for background and border */
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* Base styles for the logo container */
.logo {
  line-height: 1;  /* Align text and images tightly */
}

/* Logo styling for larger screens */
@media (min-width: 1200px) {
  .logo {
    width: 280px;  /* Set a fixed width on large screens */
  }
}

/* Styling for the image inside the logo */
.logo img {
  max-height: 26px;  /* Restrict the maximum height */
  margin-right: 6px;  /* Add some space between the image and text */
}

/* Styling for the text inside the logo */
.logo span {
  font-size: 26px;           /* Set font size */
  font-weight: 700;          /* Make the font bold */
  color: #6c757d;            /* Set the text color */
  font-family: "Nunito", sans-serif;  /* Specify the font family */
}


/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.filter {
  position: absolute;
  right: 0px;
  top: 15px;
}
.filter .icon {
  color: #6c757d;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}
.filter .dropdown-item {
  padding: 8px 15px;
}
/* Activity */
.activity {
  font-size: 14px;
  color: #000; /* Black text color for readability */
  background-color: #ffffff; /* Light background for contrast */
  padding: 15px; /* Overall padding for the section */
  border-radius: 8px; /* Rounded corners for a softer look */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  font-family: 'Roboto', sans-serif; /* Professional font */
}

.activity .activity-item {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0; /* Subtle divider between items */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.activity .activity-item:hover {
  background-color: #f0f4f8; /* Slightly darker background on hover */
}

.activity .activity-item .activity-label {
  flex-shrink: 0;
  width: 180px; /* Adjusted width for alignment */
  font-weight: bold;
  color: #000; /* Changed text color to black */
  text-align: left;
}

.activity .activity-item .activity-content {
  flex-grow: 1;
  color: #000; /* Changed text color to black */
  text-align: left;
  margin-left: 20px; /* Space between label and content */
  font-family: 'Roboto', sans-serif; /* Professional font */
}

.activity .activity-item .activity-content span {
  font-weight: bold; /* Highlighting important parts */
  color: #000; /* Changed text color to black */
}
/* Pay-Roll css */

.container-payroll {
    max-width: 600px;
    background-color: #fff;
    margin: 50px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
main {
    padding: 1rem 2rem;
}

.content-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
 
.navigation-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.contact {
    & .info-box {
        padding: 28px 30px;

        i {
            font-size: 38px;
            line-height: 0;
            color: #6c757d;
        }

        h3 {
            font-size: 20px;
            color: #6c757d;
            font-weight: 700;
            margin: 20px 0 10px;
        }

        p {
            padding: 0;
            line-height: 24px;
            font-size: 14px;
            margin-bottom: 0;
        }
    }
   & .error-message {
            color: #fff;
            background: #ed3c0d;
            text-align: left;
        }

        & .sent-message {
            color: #fff;
            background: #18d26e;
            text-align: center;
        }

        & .loading {
            background: #fff;
            text-align: center;

            &:before {
                content: "";
                display: inline-block;
                border-radius: 50%;
                width: 24px;
                height: 24px;
                margin: 0 10px -6px 0;
                border: 3px solid #18d26e;
                border-top-color: #eee;
                animation: animate-loading 1s linear infinite;
            }
        }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.footer, .modal-footer {
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid #cddfff;
    transition: all 0.3s;
  
    & .copyright, & .credits {
        text-align: center;
        color: #6c757d;
    }

    & .credits {
        padding-top: 5px;
        font-size: 13px;
    }
}

.modal-footer {
    border-top-color: #e5e5e5;
}

.dropdown-menu .dropdown-footer {
    border-bottom: none;
}

.export-btn-wrapper {
    flex: 0 0 10%;
    display: flex;
    justify-content: flex-end;
}



#main {
  margin-top: 60px;
  padding: 1.25rem 1.875rem;
  transition: 
    padding 0.3s ease-in-out,
    margin-top 0.3s ease-in-out;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  /* Dropdown Arrow (Desktop view) */
  .dropdown-menu-arrow::before {
    content: "";
    width: 0.8125rem;   /* Converted 13px to rem for scalability */
    height: 0.8125rem;  /* Converted 13px to rem for scalability */
    background: #fff;
    position: absolute;
    top: -0.4375rem;    /* Converted -7px to rem for scalability */
    right: 1.25rem;     /* Converted 20px to rem for scalability */
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Added shadow for visual enhancement */
  }
}

@media (max-width: 1199px) {
  #main {
    padding: 1.25rem; /* Converted 20px to rem for better scalability */
  }
}

.dropdown-menu .dropdown-item i {
  margin-right: 0.625rem; /* Converted 10px to rem for scalability */
  font-size: 1.125rem; /* Converted 18px to rem for consistency */
  line-height: 1; /* Reset to inherit line-height or maintain natural line-height for the icon */
}

.dropdown-menu .dropdown-item {
  font-size: 0.875rem; /* Converted 14px to rem for better scalability */
  padding: 0.625rem 0.9375rem; /* Converted 10px and 15px to rem for consistency */
  transition: background-color 0.3s ease; /* Specifying properties to transition can be more performant */
}

.dropdown-menu .dropdown-footer a {
  color: #444; /* Shortened hex code for brevity */
  text-decoration: underline;
}

.dropdown-menu {
  border-radius: 0.25rem; /* Using rem for scalability */
  padding: 0.625rem 0;
  animation: dropdown-animate 0.2s both; 
  border: none; 
  box-shadow: 0 0.3125rem 1.875rem rgba(82, 63, 105, 0.2); 
}

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

.back-to-top i {
  font-size: 1.5rem; /* Using rem for scalability */
  color: #fff;
  line-height: 2.5rem; /* Aligned with button height for vertical centering */
  text-align: center; /* Horizontally center the icon */
}

.back-to-top {
  position: fixed;
  visibility: hidden; /* Hidden by default */
  opacity: 0; /* Transparent by default */
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #6c757d;
  width: 2.5rem; /* Converted 40px to rem for better scalability */
  height: 2.5rem; /* Converted 40px to rem for better scalability */
  border-radius: 0.25rem; /* Converted 4px to rem for consistency */
  transition: 
    opacity 0.4s ease-in-out, 
    visibility 0.4s ease-in-out; /* Specifying properties to transition can be more performant */
}
.accordion-item {
  /* Use the variable for the border with fallback values */
  border: var(--accordion-item-border-width, 1px) solid var(--accordion-item-border-color, #6c757d); 

  /* Add rounded corners with a fallback value */
  border-radius: var(--accordion-item-border-radius, 0);

  /* Add some padding for content with a fallback value */
  padding: var(--accordion-item-padding, 0);

  /* Add transition for smoothness with a fallback value */
  transition: all var(--accordion-item-transition-duration, 0.3s);
}


.breadcrumb {
  /* Use variables with fallback values for better maintainability */
  font-size: var(--breadcrumb-font-size, 0.875rem); /* fallback to 14px */
  font-family: var(--breadcrumb-font-family, "Nunito", sans-serif);
  color: var(--breadcrumb-text-color, #899bbd);
  font-weight: var(--breadcrumb-font-weight, 600);

  /* Add transitions for smoother interactions if necessary */
  transition: font-size 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
}

.breadcrumb a {
  /* Use variable with fallback value for better maintainability */
  color: var(--breadcrumb-link-color, #899bbd);
  
  /* Use variable for transition with fallback value */
  transition: color var(--breadcrumb-link-transition-duration, 0.3s);
}

.breadcrumb .breadcrumb-item::before {
  /* Use variable with fallback value for better maintainability */
  color: var(--breadcrumb-item-before-color, #899bbd);
}

.breadcrumb .active {
  /* Use variables with fallback values for maintainability and consistency */
  color: var(--breadcrumb-active-color, #51678f);
  font-weight: var(--breadcrumb-active-font-weight, 600);
}

.content-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-tabs-bordered {
  border-bottom: var(--nav-tabs-border-width, 2px) solid var(--nav-tabs-border-color, #6c757d); /* Use variables with fallback values */
  margin-bottom: 10px; /* Space between the tabs and the content */
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;  /* Set background color */
  color: #6c757d;  /* Set active text color */
  border-bottom: 2px solid #6c757d;  /* Add a bottom border */
  transition: background-color 0.3s ease, border-bottom 0.3s ease;  /* Smooth transitions for background and border */
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;  /* Align with the border */
  border: none;  /* Remove default borders */
  color: var(--nav-link-text-color, #2c384e);  /* Use variable with fallback value */
  padding: var(--nav-link-padding, 10px 20px);  /* Use variable for padding with fallback values */
  transition: color var(--nav-link-color-transition-duration, 0.3s) ease;  /* Use variable for transition with fallback value */
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #6c757d;
  font-family: "Nunito", sans-serif;
}

.logo {
    text-decoration: none;
    color: #6c757d;
    font-size: 24px;
    font-weight: bold;
    width: 280px;
    line-height: 1;
}

.logo img {
    max-height: 26px;
    width: 50px;
    margin-right: 15px;
}


/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #6c757d;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}
@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}



.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #6c757d;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}
.edit-btn {
    background-color: #6c757d;
    border: none;
    border-radius: 50%;  /* Making it round */
    color: #ffffff;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    margin-right: 180px;  /* Adds space to the right side of the button, effectively moving it a bit to the left */
    transition: background-color 0.3s;
    float: right;
}


/* Hidden input styles */
.hidden-input {
    display: none;
}


.credits {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

.credits a {
    color: #6c757d;
    transition: color 0.3s;
}

.employee-name {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 10px;
}




.info-row {
    margin-top: 10px;
}

.info-label {
    margin-right: 10px;
    font-weight: bold;
}

.entry-item {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 5px;
    border: 1px solid #e3e3e3;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.entry-item h3 {
    font-size: 20px;
    color: #6c757d;
    margin-bottom: 15px;
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 8px;
}

.entry-item p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}
.navigation-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.comments-list li {
    background-color: #fafafa;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
    border-left: 3px solid #ddd;
}

.comment-input {
    border: 1px solid #6c757d;
    padding: 8px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}


.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

@-webkit-keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Dashboard */
.filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.filter .icon {
  color: #6c757d;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.filter .dropdown-item {
  padding: 8px 15px;
}

.activity {
  font-size: 14px;
}

.activity .activity-item .activite-label {
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}




/* Assuming you'll toggle a class when the sidebar collapses */


@media (min-width: 400px) {
	.container-lg, .container-md, .container-sm, .container {
		max-width: 100%;
	}
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

@-webkit-keyframes dropdown-animate {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.filter {
    position: absolute;
    right: 0px;
    top: 15px;
}
.filter .icon {
    color: #6c757d;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}
.filter .dropdown-item {
    padding: 8px 15px;
}

/* Activity */
.activity {
    font-size: 14px;
}
.activity .activity-item .activite-label {
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}
.activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}
.activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}
.activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}
.activity .activity-item:first-child .activite-label::before {
    top: 5px;
}
.activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* More Dashboard Styles... (same structure as above) */


/* Variable declarations (Assuming from previous code) */



/* Alert Component */
.alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.notification-item {
    width: 400px;
    margin: 0.5rem;
}

/* BASE STYLES AND LAYOUTS */

.container {
    max-width: 100%;
    padding: 0 20px; /* Optional: To give some spacing on the sides */
}

.d-flex {
    display: flex;
    align-items: right;
}

.clearfix {
    width: 100%;
}

.wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

.modal-message {
    margin-bottom: 15px;
}


.input-field {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    flex-grow: 1;
    transition: all 0.2s ease-in-out;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-item {
    flex: none;
}

/* STYLINGS */

#month {
    flex-grow: 1;
    text-align: center;
    color: #0f0f0f;
    font-size: 24px;
    margin: 0 20px;
}

.schedule {
    width: 100%;
    background-color: #4a6fa5; /* A more muted professional blue */
    color: #ffffff; /* Keep the text color white for good contrast */
    padding: 8px; /* Increased padding for better spacing */
    text-align: center;
    font-size: 14px; /* Slightly larger font for better readability */
    margin-top: 8px; /* Increased margin for better spacing between elements */
    border-radius: 6px; /* Smoother border radius for a more modern look */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    font-weight: 500; /* Medium font weight for a more professional feel */
}



#view_pdf {
    overflow-x: auto;
}

main {
    padding: 1rem 2rem;
}



/* Input Fields */
.input-field {
    flex: 1;
    margin-right: 20px;
    padding: 10px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
}

/* Modal Content */
/* Bootstrap Modal Backdrop - Transparent */
.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1040 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: transparent !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.modal-backdrop.show {
    opacity: 0 !important;
}

.modal-backdrop.fade {
    opacity: 0 !important;
    transition: none;
}

.modal-backdrop.fade.show {
    opacity: 0 !important;
}

/* Modal Content */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure modals appear above backdrop */
.modal {
    z-index: 1050 !important;
}

.modal.show {
    display: block !important;
}



/* Confirmation Modal */
#confirmation-modal-open {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}



/* Incident report setting */



 .container {
 
    background-color: #ffffff;
      
}
 
  
 

.d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Common styles for spacing */
.availability-icon,
.availability-info,
.assigned-shift-info {
  margin-bottom: 10px; /* Adds space between the items */
  display: block; /* Each item on its own line */
  padding: 5px 10px; /* Padding inside the items for space around the text */
  font-family: 'Arial', sans-serif; /* Ensuring a fallback font */
  font-size: 14px; /* Readable text size */
  text-align: center;
  border: 1px solid #CCCCCC; /* Border color for elements */
  border-radius: 4px; /* Rounded corners */
  transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transitions for interactive elements */
}

/* Specific styles for availability-icon */
.availability-icon {
  color: #6c757d; /* Icon color */
  background-color: #F3F3F3; /* Icon background color */
  font-size: 16px; /* Slightly larger font size for icons */
}

/* Specific styles for availability-info */
.availability-info {
  background-color: #4CAF50; /* Visual cue for availability */
  color: #FFFFFF; /* White text for better contrast */
  cursor: pointer; /* Indicates interactivity */
}

/* Specific styles for assigned-shift-info */
.assigned-shift-info {
  background-color: #6c757d; /* Primary background color */
  
  cursor: pointer; /* Indicates interactivity */
}

/* Ensure proper alignment and spacing for the icons */
.availability-icon::before {
  margin-right: 5px; /* Space between icon and text */
  /* If you're using a content-based icon, like with pseudo-elements, define content here */
}

/* Adjustments for mobile responsiveness */
@media (max-width: 768px) {
  .availability-icon,
  .availability-info,
  .assigned-shift-info {
    font-size: 12px; /* Smaller font size for mobile devices */
    padding: 3px 7px; /* Smaller padding for mobile devices */
  }
}

/* Loading Spinner Backdrop - Covers full viewport with transparency */
#backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1045;
    background-color: rgba(0, 0, 0, 0.3);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

/* When backdrop is shown via JavaScript */
#backdrop[style*="display: block"],
#backdrop[style*="display: flex"] {
    display: flex !important;
}

/* Ensure datepickers and date range pickers appear above ALL overlays and modals */
.daterangepicker,
.datepicker,
.datepicker-dropdown,
.ui-datepicker,
.picker,
.picker__holder,
.picker__frame {
    z-index: 9999 !important;
    pointer-events: auto !important;
}

/* Prevent datepicker containers from being blocked */
.daterangepicker * {
    pointer-events: auto !important;
}


.bottom-bar-item:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.tooltip {
  visibility: hidden;
  opacity: 0;
  width: 220px;
  background-color: #5f5f7d;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -110px;
  transition: opacity 0.3s, visibility 0.3s;
}

.custom-multi-select {
    height: auto;
}

.color-white {
	color: white;
}

.bg-color-green {
	background-color: green;
}

.td_checkbox {
	font-size: 25px;
	margin: 25px;
}

.display-flex {
	display: flex;
}


.day-column {
	width: 200px;
	padding: 10px;
	border: 1px solid #ccc;
	margin-right: 10px;
	text-align: center;
}

.day-column:last-child {
	margin-right: 0;
}

.shift-item {
	margin-bottom: 10px;
	padding: 5px;
	background-color: rgb(128, 128, 0);
	border-radius: 4px;
	color: white
}

/* Lighter Button Colors */
.btn-danger {
  background-color: #fc8181 !important;
  border-color: #fc8181 !important;
}

.btn-danger:hover {
  background-color: #f56565 !important;
  border-color: #f56565 !important;
}

.btn-success {
  background-color: #68d391 !important;
  border-color: #68d391 !important;
}

.btn-success:hover {
  background-color: #48bb78 !important;
  border-color: #48bb78 !important;
}

/* ========================================
   NOTIFICATION BELL STYLES
   ======================================== */

/* Header Navigation Layout */
.header .header-nav {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 20px;
}

.header .header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header .header-nav .nav-icon {
  font-size: 22px;
  color: #6c757d;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
  padding: 8px 12px;
}

.header .header-nav .nav-icon:hover {
  color: #495057;
}

.header .header-nav .nav-icon i {
  color: inherit;
}

/* Badge Number Positioning */
.header .header-nav .badge-number {
  position: absolute;
  top: 2px;
  right: 2px;
  font-weight: 600;
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  background: linear-gradient(135deg, #718096 0%, #4a5568 100%) !important;
  color: white !important;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(113, 128, 150, 0.3);
  line-height: 1;
}

/* Enhanced Notification Dropdown */
.header-nav .notifications {
  min-width: 360px;
  max-height: 400px;
  overflow-y: auto;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.header-nav .notifications .dropdown-header {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background: #f8f9fa;
  border-bottom: 1px solid #e2e8f0;
}

.header-nav .notifications .notification-item {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.header-nav .notifications .notification-item:hover {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-left-color: #718096;
}

.header-nav .notifications .notification-item h6 {
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 4px;
}

.header-nav .notifications .notification-item h6 a {
  color: inherit;
  text-decoration: none;
}

.header-nav .notifications .notification-item h6 a:hover {
  color: #4a5568;
}

.header-nav .notifications .notification-item p {
  font-size: 12px;
  color: #718096;
  margin: 0;
  line-height: 1.4;
}

/* Dropdown Arrow for Notifications */
@media (min-width: 768px) {
  .dropdown-menu-arrow.notifications::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

/* Fix notification dropdown positioning */
.header-nav .dropdown-menu.notifications {
  position: absolute;
  right: 0;
  left: auto;
}

/* Badge styling */
.badge.bg-primary {
  background: linear-gradient(135deg, #718096 0%, #4a5568 100%) !important;
  color: white;
  font-weight: 600;
}

/* ========================================
   END NOTIFICATION BELL STYLES
   ======================================== */