.chc-brand-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.chc-auth-logo {
  max-height: 90px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.chc-toast-popup.swal2-popup.swal2-toast {
  width: auto !important;
  min-width: 320px;
  max-width: 420px;
  padding: 0.85rem 1rem !important;
  align-items: center !important;
}

.chc-toast-popup.swal2-popup.swal2-toast .swal2-title {
  margin: 0 0 0.15rem 0 !important;
  padding: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

.chc-toast-popup.swal2-popup.swal2-toast .swal2-html-container,
.chc-toast-popup.swal2-popup.swal2-toast .chc-toast-text {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.875rem !important;
  line-height: 1.45 !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: normal !important;
}

.chc-toast-popup.swal2-popup.swal2-toast .swal2-icon {
  width: 1.75rem !important;
  height: 1.75rem !important;
  min-width: 1.75rem !important;
  margin: 0 0.75rem 0 0 !important;
  scale: 0.85;
}

#formAlert {
  font-size: 0.9rem;
  line-height: 1.5;
}

.chc-password-field {
  position: relative;
}

.chc-password-field .form-control {
  padding-inline-end: 2.75rem;
}

.chc-password-field .chc-password-toggle {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0.75rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bs-body-color);
  transform: translateY(-50%);
  cursor: pointer;
  pointer-events: auto;
}

.chc-image-preview {
  display: block;
}

.chc-image-preview.d-none {
  display: none !important;
}

.chc-image-preview-img {
  max-height: 180px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--bs-body-bg);
}
