   .select2-container {
      width: 180px;
      background: #fff;
      border: #c2c2c2 1px solid;
   }

   /* CSS */
   .button-33 {
      background-color: #c2fbd7;
      border-radius: 100px;
      box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset, rgba(44, 187, 99, .15) 0 1px 2px, rgba(44, 187, 99, .15) 0 2px 4px, rgba(44, 187, 99, .15) 0 4px 8px, rgba(44, 187, 99, .15) 0 8px 16px, rgba(44, 187, 99, .15) 0 16px 32px;
      color: green;
      cursor: pointer;
      display: inline-block;
      font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
      padding: 7px 20px;
      text-align: center;
      text-decoration: none;
      transition: all 250ms;
      border: 0;
      font-size: 12px;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
   }

   .button-33:hover {
      box-shadow: rgba(44, 187, 99, .35) 0 -25px 18px -14px inset, rgba(44, 187, 99, .25) 0 1px 2px, rgba(44, 187, 99, .25) 0 2px 4px, rgba(44, 187, 99, .25) 0 4px 8px, rgba(44, 187, 99, .25) 0 8px 16px, rgba(44, 187, 99, .25) 0 16px 32px;
      transform: scale(1.05) rotate(-1deg);
   }

   .modal-content {
      padding: 3.5em;
   }

   .width-btn {
      width: 110px;
   }


   .chat-history {
      max-height: 200px; /* Limit initial height */
      overflow: hidden; /* Hide overflowing content */
      background-color: lightgrey;
      padding: 10px;
      border-radius: 5px;
    }

    .chat-message {
      margin-bottom: 5px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
    }

    .message-text {
      flex: 1;
    }

    .message-time {
      margin-left: 10px;
      color: grey;
      font-size: 12px;
      text-align: right;
    }

  .show-more-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 10px auto;
      padding: 8px 20px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      text-align: center;
      font-size: 14px;
      font-weight: bold;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .show-more-btn:hover {
      background-color: #0056b3;
      transform: scale(1.05);
    }

    .show-more-btn span {
      margin-left: 5px;
      font-size: 18px;
      line-height: 1;
    }

    /* Add animation for dots */
    .dots {
      animation: blink 1.5s infinite;
    }

    @keyframes blink {
      0%, 20% {
        opacity: 0;
      }
      50% {
        opacity: 1;
      }
    }

    /* user menu settings */
    #dropdown { 
   display: block;
   padding: 7px 16px;
   width: 160px;
   /* margin: 0 auto; */
   position: relative;
   cursor: pointer;
   border-right: 4px solid #228b22;
   background: #fff;
   /* font-size: 1.55em; */
   color:  #656565;
   font-weight: normal;
   -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
   -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
   box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
   -webkit-transition: all 0.15s linear;
   -moz-transition: all 0.15s linear;
   -ms-transition: all 0.15s linear;
   -o-transition: all 0.15s linear;
   transition: all 0.15s linear;
   }
   #dropdown:hover { color: #898989; }

   #dropdown.open {
   background:#228B22;
   color: #fff;
   border-right-color: #228B22;
   }

   #dropdown ul { 
   position: absolute;
   top: 100%;
   left: -4px; /* move content -4px because of container left border */
   width: 163px;
   padding: 5px 0px;
   display: none;
   border-right: 4px solid #8e9196;
   background: #fff;
   -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
   -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
   box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
   }
   #dropdown ul li { font-size: 0.9em; }
   #dropdown ul li a { 
   text-decoration: none;
   display: block;
  
   color: #228b22;
   padding: 7px 15px;
   }
   #dropdown ul li a:hover {
   color: #89c405;
   background: #f2ffd6;
   }

   .hide {
      visibility: hidden;
      opacity: 0;
      transform: translateX(-50%) translateY(-50%) scale(0.8) !important;
      -moz-transform: translateX(-50%) translateY(-50%) scale(0.8) !important;
      -o-transform: translateX(-50%) translateY(-50%) scale(0.8) !important;
      -webkit-transform: translateX(-50%) translateY(-50%) scale(0.8) !important;
      }

      .close {
         position: absolute;
         right: 0;
         top: 0;
         width: 51px;
         height: 51px;
         font-size: 0;
         cursor: pointer;
      }

      .close:before, .close:after {
      content: '';
         position: absolute;
         background: #767676;
         -moz-border-radius: 1px;
         -webkit-border-radius: 1px;
         -o-border-radius: 1px;
         border-radius: 1px;
         left: 14px;
         right: 14px;
         top: 30px;
         height: 3px;
         -webkit-transform: rotate(45deg);
         -moz-transform: rotate(45deg);
         -o-transform: rotate(45deg);
         transform: rotate(45deg);
         transition: all 100ms ease-in;
         -moz-transition: all 100ms ease-in;
         -webkit-transition: all 100ms ease-in;
         -o-transition: all 100ms ease-in;
      }

      .close:after {
         -moz-transform: rotate(-45deg);
         -webkit-transform: rotate(-45deg);
         -o-transform: rotate(-45deg);
         transform: rotate(-45deg);
      }

      .popup {
         position: absolute;
         top: 50%;
         left: 50%;
         -webkit-transform: translateX(-50%) translateY(-50%);
         -moz-transform: translateX(-50%) translateY(-50%);
         -o-transform: translateX(-50%) translateY(-50%);
         transform: translateX(-50%) translateY(-50%);
         background: #FAFDFF;
         -moz-border-radius: 5px;
         -o-border-radius: 5px;
         -webkit-border-radius: 5px;
         border-radius: 5px;
         width: 600px;
         box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.09), 0px 11px 12px 7px rgba(0, 0, 0, 0.02);
         -moz-transition: all 120ms;
         -webkit-transition: all 120ms;
         -o-transition: all 120ms;
         transition: all 120ms;
         z-index: 99;
      padding: 25px;
      color: #5E5E5E;
      }

      @media screen and (max-width: 1000px) {
      .popup {
         width: 80%;
      }
      }

      .popup-header {
         text-transform: uppercase;
         font-size: 18px;
      }

      .popup-body {
        padding: 25px 0;
      }

      .button {
         background: darkseagreen;
         padding: 4px 15px;
         border: 1px solid #228B22;
         text-transform: uppercase;
         box-shadow: 1px 2px 3px #228B22;
         /* color: #5E5E5E; */
         color: #FFF;
         cursor: pointer;
         transition: all 120ms ease-in;
         outline:none;
      }

      .button:hover {
         box-shadow: 1px 3px 5px #E9E9E9;
         transform: translateY(-1px);
      }

      .button:active, .button:visited {
         transform: translateY(1px);
         outline:none;
         box-shadow: 1px 2px 3px #F5F5F5;
      }

      .spinner {
      border: 4px solid #f3f3f3; /* Light gray */
      border-top: 4px solid #3498db; /* Blue */
      border-radius: 50%;
      width: 24px;
      height: 24px;
      animation: spin 1s linear infinite;
      margin: auto;
      }

      @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
      }

      /* overlay */
#loader-overlay {
  position: fixed;
  inset: 0;                     /* top:0; right:0; bottom:0; left:0; */
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  /* hidden by default via opacity and pointer-events */
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

/* visible state */
#loader-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* spinner (simple, no bootstrap dependency) */
.loader-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid rgba(0,0,0,0.08);
  border-top-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


.breadcrumb_head_new {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid #d9d0d0;
  border-top: 2px solid #228B22;
  background-color: #f5f5f5;
  padding: 8px 5px;
  display: block;
  width: 100%;
  box-shadow: inset 0 -1px 0 #ddd;
}

.accordion-button{
    background: #f5f5f5;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
}

#loaneeSearchBlock{
   display:none;
}


/* Row alignment */
.breadcrumb_head_new .row{
    display: flex;
    align-items: flex-end;   /* align bottoms */
}

/* Visitor field */
.visitor-field select,
#student_search,
#searchType{
    height: 25px !important;
    line-height: 25px;
    padding: 4px 10px;
    font-size: 12px;
}

.visitor-field label{
   margin-bottom: 2px;
}


/* error text spacing */
#visitorTypeError{
   font-size: 11px;
   margin-top: 2px;
}

/* hide visitor name initially (override bootstrap d-flex) */
#visitorNameBlock{
   display:none;
}

/* icon inside input/select */
.visitor-select-wrapper{
   position:relative;
}

.visitor-select-wrapper i{
   position:absolute;
   left:10px;
   top:50%;
   transform:translateY(-50%);
   color:#666;
   font-size:13px;
   pointer-events:none;
}

.visitor-select-wrapper select,
.visitor-select-wrapper input{
   padding-left:32px !important;
   height:30px;
}

.visitor-field,
.visitor-name-field,
#loaneeSearchBlock{
   padding-right:6px;
   padding-left:6px;
}

#visitorName{
   width:100%;
}

#student_search{
   width:100%;
} 