.modalbox.success,
.modalbox.error,
.modalbox.warning {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background: #fff;
  padding: 25px 25px 15px;
  align-items: center;
}

.modalbox.success.animate .icon,
.modalbox.error.animate .icon,
.modalbox.warning.animate .icon {
  -webkit-animation: fall-in 0.75s;
  -moz-animation: fall-in 0.75s;
  -o-animation: fall-in 0.75s;
  animation: fall-in 0.75s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.modalbox.success h1,
.modalbox.error h1,
.modalbox.warning h1 {
  font-family: 'Montserrat', sans-serif;
}
.modalbox.success p,
.modalbox.error p,
.modalbox.warning p {
  font-family: 'Open Sans', sans-serif;
}
.modalbox.success button,
.modalbox.error button,
.modalbox.warning button,
.modalbox.success button:active,
.modalbox.error button:active,
.modalbox.warning button:active,
.modalbox.success button:focus,
.modalbox.error button:active,
.modalbox.warning button:focus {
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  margin-top: 15px;
  width: 80%;
  background: transparent;
  color: #4caf50;
  border-color: #4caf50;
  outline: none;
}
.modalbox.success button:hover,
.modalbox.error button:hover,
.modalbox.warning button:hover,
.modalbox.success button:active:hover,
.modalbox.error button:active:hover,
.modalbox.warning button:active:hover,
.modalbox.success button:focus:hover,
.modalbox.error button:focus:hover,
.modalbox.warning button:focus:hover	{
  color: #fff;
  background: #4caf50;
  border-color: transparent;
}
.modalbox.success .icon,
.modalbox.error .icon,
.modalbox.warning .icon	{
  position: relative;
  margin: 0 auto;
  margin-top: -75px;
  background: #4caf50;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  text-align: center;
}
.modalbox.success .icon span,
.modalbox.error .icon span,
.modalbox.warning .icon span	{
  position:fixed;
  font-size: 4.7em;
  color: #fff;
  padding-top: 15px;
}
.modalbox.error button,
.modalbox.error button:active,
.modalbox.error button:focus {
  color: #f44336;
  border-color: #f44336;
}
.modalbox.error button:hover,
.modalbox.error button:active:hover,
.modalbox.error button:focus:hover {
  color: #fff;
  background: #f44336;
}
.modalbox.error .icon {
  background: #f44336;
}
/* warning */
.modalbox.warning button,
.modalbox.warning button:active,
.modalbox.warning button:focus {
  color: #F4A835;
  border-color: #F4A835;
}
.modalbox.warning button:hover,
.modalbox.warning button:active:hover,
.modalbox.warning button:focus:hover {
  color: #fff;
  background: #F4A835;
}
.modalbox.warning .icon {
  background: #F4A835;
}

.center {
  float: none;
  margin-left: auto;
  margin-right: auto;
}
.center .change {
  clear:both;
  display: block;
  font-size: 10px;
  color: #ccc;
  margin-top: 10px;
}

@-webkit-keyframes fall-in {
  0% {
    -ms-transform: scale(3, 3);
    -webkit-transform: scale(3, 3);
    transform: scale(3, 3);
    opacity: 0;
  }
  50% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  60% {
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
  100% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-moz-keyframes fall-in {
  0% {
    -ms-transform: scale(3, 3);
    -webkit-transform: scale(3, 3);
    transform: scale(3, 3);
    opacity: 0;
  }
  50% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  60% {
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
  100% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-o-keyframes fall-in {
  0% {
    -ms-transform: scale(3, 3);
    -webkit-transform: scale(3, 3);
    transform: scale(3, 3);
    opacity: 0;
  }
  50% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  60% {
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
  100% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-webkit-keyframes plunge {
  0% {
    margin-top: -100%;
  }
  100% {
    margin-top: 25%;
  }
}
@-moz-keyframes plunge {
  0% {
    margin-top: -100%;
  }
  100% {
    margin-top: 25%;
  }
}
@-o-keyframes plunge {
  0% {
    margin-top: -100%;
  }
  100% {
    margin-top: 25%;
  }
}
@-moz-keyframes fall-in {
  0% {
    -ms-transform: scale(3, 3);
    -webkit-transform: scale(3, 3);
    transform: scale(3, 3);
    opacity: 0;
  }
  50% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  60% {
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
  100% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-webkit-keyframes fall-in {
  0% {
    -ms-transform: scale(3, 3);
    -webkit-transform: scale(3, 3);
    transform: scale(3, 3);
    opacity: 0;
  }
  50% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  60% {
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
  100% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-o-keyframes fall-in {
  0% {
    -ms-transform: scale(3, 3);
    -webkit-transform: scale(3, 3);
    transform: scale(3, 3);
    opacity: 0;
  }
  50% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  60% {
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
  100% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@keyframes fall-in {
  0% {
    -ms-transform: scale(3, 3);
    -webkit-transform: scale(3, 3);
    transform: scale(3, 3);
    opacity: 0;
  }
  50% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  60% {
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
  100% {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-moz-keyframes plunge {
  0% {
    margin-top: -100%;
  }
  100% {
    margin-top: 15%;
  }
}
@-webkit-keyframes plunge {
  0% {
    margin-top: -100%;
  }
  100% {
    margin-top: 15%;
  }
}
@-o-keyframes plunge {
  0% {
    margin-top: -100%;
  }
  100% {
    margin-top: 15%;
  }
}
@keyframes plunge {
  0% {
    margin-top: -100%;
  }
  100% {
    margin-top: 15%;
  }
}

/* modal confirmation */
#confirmationUpdateModal .modal-content{
  display: flex;
  justify-content: center;
  padding: 25px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
#confirmationUpdateModal .conf-btn{
  display: flex;
  justify-content: center;
}
#confirmationUpdateModal .content span,
#confirmationUpdateModal .content i {
  font-size: 2rem;
}
#confirmationUpdateModal .conf-btn button{
  width: 200px;
  height: auto;
  padding: 10px;
  margin: 15px;
}

/* Select2 css for customization */
.selectsearch{
  width: 100%;
}

.select2-container .select2-selection--single {
  height: 35px;  /* Adjust the height of the input box */
  padding: 5px 10px;  /* Add padding for inner spacing */
  border-radius: 5px;  /* Rounded corners */
  font-size: 17px;  /* Adjust font size */
  border: 1px solid #ced4da;  /* Light border color */
  color: #000000;
  display: flex;
  align-items: center; /* Vertically center the text */
}

/* Focus style for the dropdown input */
.select2-container .select2-selection--single:focus {
  border-color: #80bdff;  /* Blue border color on focus */
  outline: none;  /* Remove default focus outline */
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 1.5; /* Vertically center the selected option text */
    text-align: center; /* Center text horizontally */
    padding-left: 0; /* Remove any unnecessary padding */
    padding-right: 0; /* Remove any unnecessary padding */
}

.select2-container .select2-selection__arrow {
    height: 50px; /* Adjust arrow height */
    display: flex;
    align-items: center; /* Vertically center the arrow */
    justify-content: center; /* Center the icon horizontally */
    margin-top: 3px;
    border: none;
    font-size: 17px;
}

/* Style the dropdown list */
.select2-container .select2-dropdown {
  border-radius: 5px;  /* Rounded corners for the dropdown */
  font-size: 14px;  /* Same font size as input */
  border: 1px solid #ced4da;  /* Border for the dropdown */
}

/* Style the options inside the dropdown */
.select2-container .select2-results__option {
  padding: 8px 10px;  /* Padding for each option */
  font-size: 14px;  /* Font size for options */
}

/* Hover effect for options */
.select2-container .select2-results__option:hover {
  background-color: #e9ecef;  /* Light gray background on hover */
}

/* Style the clear button */
.select2-container .select2-selection__clear {
  color:rgb(37, 1, 1);  /* Blue color for clear button */
  position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%); /* Vertically center the button */
    color: #007bff; /* Customize the color if needed */
}

/* modal for upload image */

#UploadPicture .modal {
  width: 90%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#UploadPicture .modal-header {
    border-bottom: none; /* Removes the bottom line */
}

#UploadPicture .modal-footer {
    border-top: none; /* Removes the top line */
}


#UploadPicture .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
}

#UploadPicture .logo-circle {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #e9e5ff;
  fill: #1cc972;
}

#UploadPicture .btn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.25rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

#UploadPicture .btn-close:hover,
#UploadPicture .btn-close:focus {
  background-color: #e9e5ff;
}

#UploadPicture .modal-body {
  padding: 1rem 1.5rem;
}

#UploadPicture .modal-title {
  font-weight: 700;
}

#UploadPicture .modal-description {
  color: #6a6b76;
}

#UploadPicture .upload-area {
  margin-top: 1.25rem;
  background-color: transparent;
  padding: 3rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px dashed #6a6b76;
}

#UploadPicture .upload-area:hover,
#UploadPicture .upload-area:focus {
  cursor: pointer;
  border: 1px solid #6a6b76;
}

#UploadPicture .upload-area:focus {
    outline: 2px dashed #1cc972;
    outline-offset: 2px;
}

#UploadPicture .upload-area:hover .upload-area-icon,
#UploadPicture .upload-area:focus .upload-area-icon {
  transform: scale(1.3);
  transition-duration: 0.3s;
}

#UploadPicture .upload-area-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  fill: #1cc972;
}

#UploadPicture .upload-area,
#UploadPicture .upload-area-icon {
    transition: all 0.3s ease-in-out;
}

#UploadPicture .upload-area-title {
  margin-top: 1rem;
  display: block;
  font-weight: 700;
  color: #0d0f21;
}

#UploadPicture .upload-area-description {
  display: block;
  color: #6a6b76;
}

#UploadPicture .upload-area-description strong {
  color: #1cc972;
  font-weight: 700;
}

#UploadPicture .modal-footer {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}

#UploadPicture .modal-footer [class*="btn-"] {
  margin-left: 0.75rem;
}

#UploadPicture .btn-secondary,
#UploadPicture .btn-primary {
  padding: 0.5rem 1rem;
  font-weight: 500;
  border: 2px solid #e5e5e5;
  border-radius: 0.25rem;
  background-color: transparent;
  cursor: pointer;
}

#UploadPicture .btn-primary {
  color: #fff;
  background-color: #1cc972;
  border-color: #1cc972;
  cursor: pointer;
}

#UploadPicture .file-preview {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.25rem;
    background-color: #f9f9f9;
    max-height: 300px;
    overflow: auto;
}

#UploadPicture .file-preview.hidden {
    display: none;
}

#UploadPicture #crop-canvas {
    max-width: 300px;
    max-height: 300px;
    border: 1px solid #e5e5e5;
    background-color: #f9f9f9;
}

#UploadPicture .crop-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
    max-width: 500px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
}

#UploadPicture #crop-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
}

#UploadPicture #save-crop {
    padding: 0.5rem 1rem;
    font-weight: 500;
    border: 2px solid #e5e5e5;
    border-radius: 0.25rem;
    background-color: #1cc972;
    color: white;
    cursor: pointer;
}

#UploadPicture .hidden{
    display: none;
}

@media (max-width: 768px) {
    #UploadPicture .upload-area {
        padding: 2rem;
    }
}

#UploadPicture .upload-area {
    border: 1px dashed #6a6b76;
    transition: border-color 0.3s, background-color 0.3s;
}

#UploadPicture .upload-area.drag-over {
    border-color: #1cc972;
    background-color: #f0fff4;
}