/* Opt-in presentation for the application form; other site dialogs keep their theme. */
.xchanger-form-dialog { font-size: 16px; color: #2d3339; }
.xchanger-form-dialog .modal-dialog { max-width: 480px; }
.xchanger-form-dialog .modal-content { border: 1px solid #e1e4e7; border-radius: 20px; box-shadow: 0 24px 80px rgba(20, 26, 32, .18); overflow: hidden; }
.xchanger-form-dialog .modal-header { gap: 12px; padding: 20px 20px 16px 24px; border-bottom: 0; align-items: center; }
.xchanger-form-dialog .modal-title { flex: 1; min-width: 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: #2d3339; }
.xchanger-form-dialog .btn-close { flex: 0 0 44px; box-sizing: border-box; width: 44px; height: 44px; margin: 0; padding: 12px; background-size: 14px; border-radius: 10px; opacity: .65; }
.xchanger-form-dialog .btn-close:hover { background-color: #f0f1f2; opacity: 1; }
.xchanger-form-dialog .modal-body { padding: 4px 24px 24px; line-height: 1.55; }
.xchanger-form-dialog .modal-footer { padding: 16px 24px; gap: 10px; border-top: 1px solid #eceef0; }
.xchanger-form-dialog .modal-footer > * { margin: 0; }
.xchanger-form-dialog .btn { min-height: 44px; border-radius: 12px; font-size: 16px; line-height: 1.4; }
.xchanger-form-dialog .step_button, .xchanger-form-dialog .btn-warning { background: #ffdd2e; border: 1px solid #ffdd2e; color: #252b31; box-shadow: none; }
.xchanger-form-dialog .btn-light { background: #f2f3f4; border: 1px solid #e7e9eb; color: #2d3339; }
.xchanger-form-dialog .btn-outline-secondary { background: #fff; color: #4b545d; border-color: #b8bec4; }
.xchanger-form-dialog .btn-outline-secondary:hover { background: #f2f3f4; color: #2d3339; }
.xchanger-form-dialog :is(button, input, a, [role="button"]):focus-visible,
.xchanger-form-dialog .btn-check:focus-visible + label { outline: 2px solid #4c5965; outline-offset: 3px; box-shadow: none; }
#step_2 :is(.selectBankRub, .selectBankThb, #selectDeliveryDistrict):focus-visible { outline: 2px solid #4c5965; outline-offset: 3px; }
.form-dialog-symbol { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #fff7d2; color: #343b42; }
.form-dialog-symbol svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#errorInFormModal.xchanger-form-dialog .modal-dialog { max-width: 420px; }
#errorInFormModal.xchanger-form-dialog .modal-body { padding-top: 4px; }
#errorInFormModal.xchanger-form-dialog .form-dialog-symbol { display: flex; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; }
#errorInFormModal.xchanger-form-dialog .form-dialog-symbol svg { width: 34px; height: 34px; }
#errorInFormModal.xchanger-form-dialog #error_in_form { margin-bottom: 0 !important; line-height: 1.55; }
#errorInFormModal.xchanger-form-dialog #error_in_form > button { width: 100%; }
#errorInFormModal.xchanger-form-dialog .modal-footer > button { width: 100%; }
.xchanger-form-dialog .bankModal_img { width: 36px; height: 36px; margin: 0 auto 8px; background-size: contain; background-position: center; background-repeat: no-repeat; }
.xchanger-form-dialog .bankModal_name { display: block; font-size: 13px; line-height: 1.3; color: #505860; overflow-wrap: anywhere; }
.xchanger-form-dialog .item_label { border-radius: 12px; background: #fff; color: #2d3339 !important; box-shadow: none; }
:is(#selectBankRubModal, #selectBankThbModal).xchanger-form-dialog .item_label { min-height: 96px; padding: 12px 6px !important; }
.xchanger-form-dialog .btn-check:checked + .item_label { background: #fff9df; border-color: #b49720 !important; color: #252b31 !important; }
.xchanger-form-dialog .form-label { font-size: 14px; font-weight: 500 !important; text-align: left; color: #515a63; }
.xchanger-form-dialog .form-control { min-height: 44px; padding-right: 44px; border-radius: 10px; font-size: 16px; border-color: #c5cbd1; }
.xchanger-form-dialog .custom_bank_clear { display: none; text-align: center; line-height: 44px; transform: none; top: 0; right: 0; width: 44px; height: 44px; font-size: 24px; color: #68717a; border-radius: 10px; }
#selectDeliveryDistrictModal.xchanger-form-dialog .item_label { margin-bottom: 8px !important; padding: 13px 16px !important; font-size: 15px; text-transform: none !important; }
.xchanger-form-dialog.service-help-modal h6 { margin-bottom: 6px; font-size: 16px; line-height: 1.4; }
.xchanger-form-dialog.service-help-modal p { margin-bottom: 20px; }
.xchanger-form-dialog.service-help-modal .modal-body p:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
  .xchanger-form-dialog .modal-dialog { margin: 16px; min-height: calc(100% - 32px); }
  .xchanger-form-dialog .modal-dialog-scrollable { height: calc(100% - 32px); }
  .xchanger-form-dialog .modal-header { padding: 16px 16px 12px 20px; gap: 10px; }
  .xchanger-form-dialog .modal-title { font-size: 19px; }
  .xchanger-form-dialog .modal-body { padding: 4px 20px 20px; }
  .xchanger-form-dialog .modal-footer { padding: 14px 20px; }
  :is(#selectBankRubModal, #selectBankThbModal).xchanger-form-dialog .col-4 { width: 50%; }
  :is(#selectBankRubModal, #selectBankThbModal).xchanger-form-dialog .item_label { display: flex !important; align-items: center; gap: 4px; min-height: 68px; padding: 12px 6px !important; text-align: left; }
  .xchanger-form-dialog .bankModal_img { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; }
  .xchanger-form-dialog .bankModal_name { flex: 1; min-width: 0; }
}
@media (max-width: 360px) {
  :is(#selectBankRubModal, #selectBankThbModal).xchanger-form-dialog .item_label { flex-direction: column; min-height: 96px; padding: 12px 6px !important; text-align: center; }
  .xchanger-form-dialog .bankModal_name { flex: none; }
}
