
/* Base alert reset */
.alert {
    background-color: transparent !important;
    border-width: 0px;
    border-style: solid;
    color: inherit;
}

/* Success */
.alert-success {
    border-color: #198754;
    color: #198754;
}

/* Danger */
.alert-danger {
    border-color: #dc3545;
    color: #dc3545;
}

/* Warning */
.alert-warning {
    border-color: #ffc107;
    color: #856404;
}

/* Info */
.alert-info {
    border-color: #0dcaf0;
    color: #055160;
}

/* Optional: icon spacing */
.alert i {
    margin-right: 6px;
}



/* Pulse Animation for Fontawesome icons - START*/
@keyframes text-pulse {
  0% {
    color: #ffc107; /* Bootstrap warning yellow */
    opacity: 1;
  }
  50% {
    color: #ffeb3b; /* Brighter yellow */
    opacity: 0.6;
  }
  100% {
    color: #ffc107;
    opacity: 1;
  }
}

.icon-pulse {
  animation: text-pulse 1.5s infinite;
}

/* Pulse Animation for Fontawesome icons - END */

h1, .h1 {
  font-size: 32px; /* Adjust the font size to your desired value */
  color: #cc0000;

  }
  
  h2, .h2 {
    font-size: 24px; /* Set the font size to 28 pixels */
  }
  
  h3, .h3 {
    font-size: 20px; /* Set the font size to 24 pixels */
  }
  
  h4, .h4 {
    font-size: 18px; /* Set the font size to 21 pixels */
  }
  
  h5, .h5 {
    font-size: 16px; /* Set the font size to 18 pixels */
  }
  
  h6, .h6 {
    font-size: 15px; /* Set the font size to 15 pixels */
  }
  p {
    font-size: 80%; /* Reduce the font size by 20% */
  }

  

  .sb-sidenav .sb-sidenav-menu .nav .nav-link {
    display: flex;
    align-items: center;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    position: relative;
  }
  
  .sb-sidenav .sb-sidenav-menu .nav .nav-link .sb-nav-link-icon {
    font-size: 0.8rem;
  }
  
  .sb-sidenav .sb-sidenav-menu .nav .sb-sidenav-menu-nested {
    margin-left: 1.5rem;
    flex-direction: column;
    font-size: 0.8rem;
  }
  
  .sb-sidenav .sb-sidenav-footer {
    padding: 0.7rem;
    flex-shrink: 0;
  }
  
  
  .modal-header {
    padding:16px 16px;
    background-color: #FAFAFA;
    opacity: .8;
    color: black;
 }



  /* Custom styles for header flashed messages */
  .header-flash-messages {
    display: flex;
    flex-direction: column;
    align-items: left;
    position: absolute;
    top: 50%;
    right: 2.5rem; /* Adjust the right position as needed */
    transform: translateY(-50%);
    z-index: 9999;
  }
  
  .header-flash-messages .flash {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    max-width: 500px; /* Adjust the maximum width as needed */
    height: 1.9rem; /* Adjust the height as needed */
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: left;
  }

  .header-flash-messages .flash .flash-icon {
    margin-right: 0.6rem;
  }
 

  .table {
    text-align: center;
    white-space: nowrap;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 12px;
    border-collapse: collapse;
    max-width: 100%;
    padding: 10p;
    text-align: center;
  }

  .table td {
    
    padding: 10px;
    text-align: center;
    white-space: nowrap;
  }

  .table td.image-column {
    width: 100px; /* Adjust the width as needed */
  }

  .table tr:hover {
    background-color: #CEE3FC;
  }
  
  .table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #FAFAFA;
    opacity: .8;
    color: black;
    text-align: center;
    white-space: nowrap;
  }

  /* Add these rules for custom background classes */
  .custom-bg-white th {
      background-color: white !important;
      color: black;
  }

  /* Add these rules for custom background classes */
  .custom-bg-lite-gray th {
    background-color: #F8F8F8 !important;
    color: black;
}

  .custom-bg-lite-yellow th {
      background-color: #FFFACD !important;
      color: black;
      opacity: .8;
  }

  .custom-bg-lite-blue th {
      background-color: #CEE3FC !important;
      color: black;
      opacity: .8;
  }

    .custom-bg-liter-blue th {
      background-color: #F0F8FF !important;
      color: black;
      opacity: .8;
  }

  .custom-bg-lite-purple th {
      background-color: #DCC8F6 !important;
      color: black;
      opacity: .8;
  }

  /* Increase specificity */
  table .custom-bg-lite-pink {
    background-color: #fef5f8 !important; /* Light pink background */
    color: black;
    opacity: .7;
    border: 1px solid lightgrey !important; /* Retain border for consistency */
  }


  table .custom-bg-lite-yellow {
      background-color: #FFFACD;
      color: black;
      opacity: .8;
  }

  /* Increase specificity */
  table .custom-bg-lite-green {
    background-color: #e8f4ea !important;
    color: black;
    opacity: .7;
    border: 1px solid lightgrey !important; /* Add this line */
  }

    /* Increase specificity */
  table .custom-bg-lite-blue {
      background-color: #CEE3FC !important;
      color: black;
      opacity: .7;
      border: 1px solid lightgrey !important; /* Add this line */
    }

    table .custom-bg-liter-blue {
      background-color: #F0F8FF !important;
      color: black;
      opacity: .7;
      border: 1px solid lightgrey !important; /* Add this line */
    }

  table .custom-bg-lite-purple {
      background-color: #DCC8F6 !important;
      color: black;
      opacity: .8;
  }

  .table .custom-bg-totals {
    opacity: .8;
    color:#FFF; 
    font-weight:bold;
    background-color:#7393CA;
    text-shadow: none !important;
  }

  .loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.3); /* Adjust the opacity as needed */
    z-index: 9999; /* Ensure the loader is on top of other elements */
  }
  
  .loader-container img {
    max-width: 100px; /* Adjust the max-width as needed */
    max-height: 100px; /* Adjust the max-height as needed */
  }


.table-container {
  max-width: 100%;
  width: auto;
  margin: 0 auto;
}

.text-wrap {
    white-space: normal;
    word-wrap: break-word;
}


.blurred {
  filter: blur(5px);
  cursor: pointer;
}
.blurred:hover {
  filter: none;
}

.navbar .dropdown-menu {
  right: 0 !important;
  margin-right:10px;
  left: auto !important;
  transform: none !important;
}

.navbar-nav {
  overflow: visible !important;
}

.navbar {
  overflow: visible !important;
}

.navbar-nav .dropdown {
  position: static !important;
}