.modal-cal {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -40%);
  font-family: 'Catalogue', Arial, sans-serif !important;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  display: none;
}
.modal-cal.active {
  display: flex;
}
.modal-cal .footer-btn-wrapper button {
  font-family: Raleway, Arial, sans-serif;
}
.modal-cal .toggle-btn {
  font-family: Raleway, Arial, sans-serif;
}
.modal-cal-content {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  display: flex;
  margin: 16px;
  max-height: 85vh;
  flex-direction: column;
  overflow: hidden;
}
.modal-cal-content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  padding: 24px;
}
.modal-cal-content-head h4 {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
}
.modal-cal-content-head .close {
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.modal-cal-content-head .close img {
  width: 100%;
}
.modal-cal-content-body {
  padding: 24px;
}
.modal-cal-content-body h4 {
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
}
.modal-cal-content-footer {
  padding: 24px;
  border-top: 1px solid #f0f0f0;
  padding: 24px;
  position: sticky;
  bottom: 0;
  z-index: 99999;
  background: #fff;
}
.modal-cal .icon-btn {
  padding: 8px;
  font-size: 11px;
}
.modal-cal-content form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.field-cal label {
  font-weight: 500;
  _color: #000;
  display: block;
  _margin-bottom: 12px;
}
.field-cal .field {
  height: 56px;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px 16px;
  position: relative;
  z-index: 100000;
  background: #fff;
}
.field-cal .field input {
  flex: 1;
  border: none;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #333;
}
.field-cal .field input::placeholder {
  font-size: 16px !important;
  font-weight: 400;
  color: #666666;
}
.field-cal .field input[type="text"], .field-cal .field input[type="email"] {
  cursor: text;
}
.field-cal .field img {
  width: 24px;
  height: 24px;
}
.field-dropdown {
  position: relative;
}
.field-dropdown .field.active {
  border: solid 1px #5fb4ff;
  border-bottom: none;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
#applicant-type-dropdown {
  background: #fff;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 8px 8px;
  position: fixed;
  z-index: 100000;
  min-width: 200px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}
#applicant-type-dropdown.down {
  grid-template-rows: 1fr;
}
#applicant-type-dropdown .down-option-row {
  overflow: hidden;
}
#applicant-type-dropdown .down-option-row .down-option-item {
  height: 56px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 16px;
  font-family: Catalogue, Arial, sans-serif !important;
}
#applicant-type-dropdown .down-option-row .down-option-item img {
  width: 24px;
  height: 24px;
  display: block;
  margin-right: 10px;
}
#applicant-type-dropdown .down-option-row .down-option-item .text {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}
#applicant-type-dropdown .down-option-row .down-option-item:last-child {
  height: 71px;
}
.field-dropdown .down-option {
  background: #fff;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 8px 8px;
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  z-index: 100000;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}
.field-dropdown .down-option.down {
  grid-template-rows: 1fr;
}
.field-dropdown .down-option .down-option-row {
  overflow-x: hidden;
  overflow-y: scroll;
  max-height: 230px;
}
.field-dropdown .down-option .down-option-row .down-option-item {
  height: 56px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 16px;
}
.field-dropdown .down-option .down-option-row .down-option-item img {
  width: 24px;
  height: 24px;
  display: block;
  margin-right: 10px;
}
.field-dropdown .down-option .down-option-row .down-option-item .text {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}
/* display */
.flex {
  display: flex;
}
.grid {
  display: grid;
}
/* direction */
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
  flex-wrap: wrap;
}
/* grid columns */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.d-flex {
  display: flex;
}
.justify-center {
  justify-content: center;
}
/* gap */
.gap-2 {
  gap: 8px;
}
.gap-3 {
  gap: 12px;
}
.gap-4 {
  gap: 16px;
}
.gap-6 {
  gap: 24px;
}
.sm\:gap-6 {
  gap: 16px;
}
.md\:gap-6 {
  gap: 24px;
}
/* width */
.w-full {
  width: 100%;
}
.sm\:mt-0 {
  margin-top: 0px !important;
}
#btn-apply.icon-btn {
  padding: 13px;
  width: 100%;
}
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:flex-row {
    flex-direction: row;
  }
}
.flex-col-gap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.d-none {
  display: none !important;
}
.border {
  border: 1px solid #d1d5db;
}
.rounded {
  border-radius: 6px;
}
.px-3 {
  padding-left: 12px;
  padding-right: 12px;
}
.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}
.input-container {
  height: 56px;
}
.input-container input {
  border: none;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  font-family: 'Catalogue', Arial, sans-serif;
}
.caption {
  font-size: 12px !important;
  font-weight: 500 !important;
  padding-bottom: 10px;
  margin-top: 24px;
}
form #broker-or-agent .subtext {
  font-size: 12px;
  font-weight: 400;
  color: #323232;
}
#me.field-me {
  padding-left: 10px;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  font-family: Catalogue, Arial, sans-serif;
}
#me.field-me::placeholder {
  font-size: 14px !important;
}
.toast {
  position: fixed;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #323232;
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  height: 86px;
  max-width: 806px;
  min-width: calc(100% - 32px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show, .toast.show-flex {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4ade80;
  /* green */
  color: #1f2937;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-content {
  font-size: 16px;
  line-height: 20px;
  font-family: 'Catalogue', Arial, sans-serif;
}
.toast-subtext {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 2px;
}
#applicant-type {
  cursor: pointer;
}
@media (min-width: 1024px) {
  .md\:mt-6 {
    margin-top: 24px !important;
  }
  .toast {
    min-width: 200px !important;
  }
  #btn-apply.icon-btn {
    width: 189.33px;
  }
  .modal-cal {
    transform: translate(-50%, -50%);
    font-family: 'Catalogue', Arial, sans-serif;
  }
  .modal-cal #applicant-type {
    cursor: pointer;
  }
  .modal-cal-content-body h4 {
    font-size: 18px !important;
    line-height: 26px !important;
    font-weight: 600 !important;
  }
  .modal-cal-content-body .error-message {
    margin-top: -8px;
  }
  .modal-cal .icon-btn {
    padding: 14px;
    font-size: 18px;
  }
  .modal-cal .icon-btn svg {
    display: block;
  }
  .modal-cal .field-cal label {
    margin-bottom: 0px;
    letter-spacing: 0%;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    font-family: 'Catalogue', Arial, sans-serif;
  }
  .modal-cal .field-cal .field input {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #323232;
    font-family: 'Catalogue', Arial, sans-serif;
  }
  .modal-cal #details-step .caption {
    margin-top: 24px;
  }
  .modal-cal #details-step h4 {
    margin-bottom: -7px;
  }
  .modal-cal .caption {
    font-size: 14px !important;
    line-height: 18px;
    font-weight: 400 !important;
    padding-bottom: 0px;
    margin-top: 0px;
  }
  #me.field-me {
    padding-left: 34px;
    cursor: pointer;
  }
  #me.field-me::placeholder {
    font-size: 18px !important;
  }
  .down-option-row {
    overflow: hidden;
  }
  .down-option-row .down-option-item {
    height: 56px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 16px;
  }
  .down-option-row .down-option-item img {
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 10px;
  }
  .down-option-row .down-option-item .text {
    font-size: 16px;
    font-weight: 400;
  }
  .down-option-row .down-option-item:last-child {
    height: 56px !important;
  }
  .field-cal.error .field, .field-cal.error .input-container {
    border-color: #D32F2F;
  }
  .field-cal label {
    font-weight: 500;
    _color: #000;
    display: block;
    margin-bottom: 12px;
  }
  .field-cal .field {
    height: 56px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px 16px;
    position: relative;
    z-index: 100000;
    background: #fff;
  }
  .field-cal .field input {
    flex: 1;
    border: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
  }
  .field-cal .field input::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: #666;
  }
  #applicant-type-dropdown .down-option-row {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 230px;
  }
  #applicant-type-dropdown .down-option-row .down-option-item {
    height: 56px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 16px;
  }
  #applicant-type-dropdown .down-option-row .down-option-item img {
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 10px;
  }
  #applicant-type-dropdown .down-option-row .down-option-item .text {
    font-size: 16px;
    font-weight: 400;
  }
  .field-dropdown {
    position: relative;
  }
  .field-dropdown .down-option {
    background: #fff;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 8px 8px;
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    z-index: 100000;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease;
  }
  .field-dropdown .down-option.down {
    grid-template-rows: 1fr;
  }
  .field-dropdown .down-option .down-option-row {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 230px;
  }
  .field-dropdown .down-option .down-option-row .down-option-item {
    height: 56px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 16px;
  }
  .field-dropdown .down-option .down-option-row .down-option-item img {
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 10px;
  }
  .field-dropdown .down-option .down-option-row .down-option-item .text {
    font-size: 16px;
    font-weight: 400;
  }
  .modal-cal {
    top: 50%;
  }
  .modal-cal-content {
    max-height: 93vh;
  }
  .input-container input {
    border: none;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Catalogue', Arial, sans-serif;
  }
  .gap-6 {
    gap: 24px !important;
  }
}
