/* .error{color: red;}
.form-control.is-invalid, .was-validated .form-control:invalid {
    color: var(--bgError);
    border-color: var(--bgError) !important;
    background-image: none;
} */

.form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
  background-color: #0d6efd;
} 
.form-check-input.is-valid~.form-check-label, .was-validated .form-check-input:valid~.form-check-label, .form-check-input.is-invalid~.form-check-label, .was-validated .form-check-input:invalid~.form-check-label {
  color: #333;
}
.form-check-input.is-valid:focus, .was-validated .form-check-input:valid:focus {
  box-shadow: none !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background:var(--colorSapphireBlue) !important;
}
/* alerts */
.alert {
    display: none;
    color: red;
}

.custom-toast-container, .front_flash_container {
  position: fixed;
  top: 25px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.custom-toast {
  position: relative;
  border-radius: 12px;
  background: #fff;
  box-shadow:0 0 5px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transform: translateX(calc(100% + 30px));
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
  font-family: var(--montserrat-font);
  min-width: 360px;
  max-width: 360px;
}

.custom-toast.active {
  transform: translateX(0%);
}

.custom-toast .custom-toast-content {
  display: flex;
}

.custom-toast .custom-toast-content .left {
  flex: 0 0 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.custom-toast.success .left {
  background-color: #D4EDDA;
}

.custom-toast.error .left {
  background-color: #F8D7DA;
}

.custom-toast.warning .left {
  background-color: #FFF3CD;
}

.custom-toast.info .left {
  background-color: #EEE8FF;
}

.custom-toast .custom-toast-content .left .iconBox {
  width: 30px;
  height: 30px;
  border-radius: 50px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: zoom-in-zoom-out 1.4s ease forwards;
}
.custom-toast .custom-toast-content .left .iconBox i {
  font-size: 18px;
}
.custom-toast.success .iconBox {
  background-color: #46BE60;
}

.custom-toast.error .iconBox {
  background-color: #dc3545;
}

.custom-toast.warning .iconBox {
  background-color: #ffc107;
}

.custom-toast.info .iconBox {
  background-color: #A649DA;
}

.custom-toast .custom-toast-content .right {
  padding: 10px;
  flex: 0 0 calc(100% - 48px);
  text-align: left;
}

.custom-toast .custom-toast-content .right .title {
  font-size: var(--fontSize16);
  font-weight: 600;
  color: var(--colorDarkCharcoal);
  line-height: 24px;
}

.custom-toast .custom-toast-content .right .desc {
  font-size: var(--fontSize12);
  font-weight: 400;
  color: var(--colorGraniteGray);
  line-height: 16px;
  white-space: normal;
}

.custom-toast .closeBox {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 5px;
  cursor: pointer;
  opacity: 0.7;
  transition: all .3s ease-in-out;
  font-size: 16px;
  color: #000;
}

.custom-toast .closeBox:hover {
  opacity: 1;
}

.custom-toast .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.custom-toast .progress::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;

  /* Adjust this color as needed */
  animation: progress-animation 5s linear forwards;
}

.custom-toast.success .progress::before {
  background-color: #28a745;
}

.custom-toast.error .progress::before {
  background-color: #dc3545;
}

.custom-toast.warning .progress::before {
  background-color: #ffc107;
}

.custom-toast.info .progress::before {
  background-color: #A649DA;
}

@keyframes progress-animation {
  0% {
      right: 0;
      width: 100%;
  }

  100% {
      right: 100%;
      width: 0%;
  }
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.5, 1.5);
  }
  100% {
    transform: scale(1, 1);
  }
}

.swal2-popup{
  font-family: var(--montserrat-font) !important;
  border-radius: 18px !important;
  max-width: 100% !important;
  width: 500px !important;
}
.swal2-popup .swal2-title{
  font-size: 26px;
  font-weight: 700;
  color: #333333;
}
.swal2-popup .swal2-content .subText{
  font-size: 26px;
  font-weight: 300;
  color: #333333;
  margin-bottom: 5px;
}
.swal2-popup .swal2-content .subtextDesc{
  font-size: 14px;
  color: #666666;
}
.swal2-confirm{
  background-color: #025DBF !important;
  border-radius: 27px !important;
  font-family: var(--montserrat-font) !important;
}
.swal2-confirm:focus{
  box-shadow: none !important;
}
.swal2-popup .swal2-close{
  color: black !important;
  font-weight: bold;
  border: none !important;
    background: 0 0;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 38px !important;
    height: 40px !important;
    font-size: 36px !important;
    line-height: 40px !important;
    font-family: serif;
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    color: #ccc;
    -webkit-transition: color .1s ease;
    transition: color .1s ease;
}