/*
* custom.css
* File include item custom only specific css only
******************************************************************************/
select.editable-dropdown option {
  padding: 8px 12px; /* Increase padding inside options */
  line-height: 1.5;  /* Increase vertical spacing */
  cursor: pointer;   /* Show pointer cursor for better UX */
}

/* Add a hover effect for options */
select.editable-dropdown option:hover {
  background-color: #f0f0f0; /* Light gray background on hover */
  color: #333;               /* Darker text color on hover */
}

/* Optional: Style the dropdown when expanded */
select.editable-dropdown {
  max-height: 300px; /* Limit the dropdown's height */
  overflow-y: auto;  /* Add scroll if there are too many options */
  border: 1px solid #ccc; /* Optional border */
  border-radius: 4px;     /* Optional rounded corners */
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
  }

  #snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }

  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }

  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }

  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }

  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }

 #dropdownLabel {
   background-color: transparent !important;
   color: #8c949b !important;
   border-color: #c3c8cd;
   padding: 0.5rem 0.75rem;
   width: 100%;
   overflow: hidden;
   position: relative;
 }

 #dropdownLabel span#dropdownText {
   flex-grow: 1;
   text-align: left;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
 }

 .dropdown-caret::after {
   content: '▼';
   font-size: 0.75rem;
   color: #8c949b;
   margin-left: 0.5rem;
 }

 #dropdownLabel:focus {
   background-color: transparent !important;
   color: #212529;
   border-color: #6c757d;
   box-shadow: none;
 }


 .dropdown-menu {
   max-width: 100%;
   white-space: normal;
   max-height: 300px;
   overflow-y: auto;
 }

 .dropdown-item small.text-muted {
   display: block;
   max-width: 100%;
   white-space: normal;
   word-wrap: break-word;
   word-break: break-word;
   font-size: 0.8rem;
 }
 .avatar {
   width: 32px;
   height: 32px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 600;
   color: #4361ee;
   background: rgba(67, 97, 238, 0.1);
   border-radius: 50%;
 }

 .avatar-sm {
   width: 28px;
   height: 28px;
   font-size: 0.8rem;
 }

 .avatar-initials {
   font-weight: 600;
   font-size: 0.75rem;
   color: #4361ee;
 }

