:root {
  --mainColor: #8ca080;
  --secondaryColor: #619897;
  --tertiaryColor: #4A6A7D;
}
body{
  font-family: 'Comfortaa'
}
h4{
  font-family: 'Comfortaa'
}
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid var(--mainColor);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  
}
.tiny-spinner-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.tiny-loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--mainColor);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  
}
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(360deg);
  }
}
.navbar {
  border-radius: 25px;
  margin: 5px;
}
button {
  font-family: 'Comfortaa';
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%; /* Ensures all buttons have the same width */
  text-align: center; /* Centers the text inside the buttons */
}
.saveButton {
  background-color: var(--mainColor);
  color: white;
}
.saveButton:hover {
  background-color: var(--tertiaryColor);
  transform: scale(1.05);
}
.saveButtonSpan:hover{
  color: white;
}
.updateButton {
  background-color: var(--mainColor);
  color: white;
}
.updateButton:hover {
  background-color: var(--tertiaryColor);
  transform: scale(1.05);
}
.custom-select {
  position: relative;
  display: inline-block;
  font-family: comfortaa;
  width: 100%;
}

/* Base Select Styling */
.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Select Focus State */
.custom-select select:focus {
  border-color: var(--secondaryColor);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

/* Custom Arrow */
.custom-select::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #333;
}

/* Disable Arrow for Safari */
.custom-select select::-ms-expand {
  display: none;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .custom-select select {
    font-size: 14px;
    padding: 8px 14px;
  }
}
.plusImage{
  max-width: 30px;
  height: auto;
  transition: all 0.3s ease-in-out;

}
.plusImage:hover {
  transform: scale(1.10);
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Style the custom checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  font-family: comfortaa;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  gap: 10px;
}

/* Checkmark box */
.custom-checkbox .checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--mainColor);
  border-radius: 5px;
  position: relative;
  transition: all 0.3s ease;
}

/* Checkmark appearance when checked */
.custom-checkbox input:checked + .checkmark {
  background-color: var(--mainColor);
  border-color: var(--mainColor);
}

/* Custom checkmark icon */
.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 7px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  display: none;
}

/* Show the checkmark when input is checked */
.custom-checkbox input:checked + .checkmark::after {
  display: block;
}

/* Hover and Focus Effects */
.custom-checkbox:hover .checkmark {
  border-color: var(--secondaryColor);
}

.custom-checkbox input:focus + .checkmark {
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-checkbox {
    font-size: 14px;
  }

  .custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
  }

  .custom-checkbox .checkmark::after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
  }
}
@import url('https://content.powerapps.com/resource/powerappsportal/fonts/comfortaa/v40/400.css');
.table-container {
    max-width: 100%;
    overflow-x: auto;
    padding: 20px;
    background-color: #f4f4f4;
  }
  
  /* Modern table styling */
  .modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Table header styling */
  .modern-table thead {
    background-color: var(--mainColor);
    color: white;
    text-align: left;
  }
  
  .modern-table th, 
  .modern-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
  }
  
  /* Hover effect on rows */
  .modern-table tbody tr:hover {
    background-color: #f1f1f1;
  }
  
  /* Zebra striping for rows */
  .modern-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  /* Last row border removal */
  .modern-table tbody tr:last-child td {
    border-bottom: none;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .modern-table th, 
    .modern-table td {
      padding: 10px 15px;
      font-size: 14px;
    }
  }
  .popover-tray {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
}
.popover-tray.open {
    right: 0;
}
.popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}
.close-btn {
    cursor: pointer;
    font-size: 24px;
}
.filter-options {
    margin-top: 20px;
}
.filter-options label {
    display: block;
    margin-bottom: 10px;
}
.filter-options input[type="checkbox"] {
    margin-right: 10px;
}
.open-tray-btn {
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.open-tray-btn img {
    width: 20px;
    height: 20px;
}
.toolbar {
    background: white;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content:right;
    align-items: right;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 10px;
}
.toolbar button {
    border: none;
    color: #fff;
    padding: 0px 4px;
    cursor: pointer;
    border-radius: 5px;
    max-width: 50px;
    transform: scale(1.10);
}
.toolbarBtn{
  cursor: pointer;
}
.toolbarBtn:hover{
  transform: scale(1.10);
  transition: all 0.3s ease-in-out;
  
}
.toolbarButtonText{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
    position: relative;
    max-width: fit-content;
}
.toolbar button{
    color: #fff;
    max-width: fit-content;
    padding: 0px;
}
.toolbarSpan{
     color: black;
      font-size: 14px;
      line-height: 1;
      display: inline-block;
      flex-shrink: 0;
}
.toolbarSpan:hover{
     color: white;
 
}
.toolbarButtonImage{
       width: 20px;
      height: 20px;
      flex-shrink: 0;
}