/* global comments */
/*@lrflex-dir
@rlflex-dir*/
.modal-dialog {
  box-shadow: 0px 5px 25px rgba(73, 157, 255, 0.08);
  max-width: 100%;
  border-radius: 25px;
}
.modal-dialog.modal-small {
  width: 360px;
}
.modal-dialog.modal-open-account {
  width: 390px;
  text-align: center;
  background-image: url('../../images/rocket.webp');
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
  padding-top: 350px;
}
.modal-content {
  padding: 35px;
  border-radius: 20px;
  box-shadow: none;
  background-clip: initial;
}
.modal-header {
  border-bottom: none;
  /*!!! defined to be rtl/ltr !!!*/
  padding: 0 35px 14px 0;
}
.modal-body {
  padding: 0px;
}
.modal-footer {
  text-align: left;
  margin-top: 21px;
}
.modal-small .modal-footer .btn {
  width: 100%;
}
.modal-small .modal-footer .btn.btn-grey {
  margin-top: 14px;
}
.modal .content {
  background: #ffffff url('../../images/personal-area/loading.gif') no-repeat -100% 50%;
}
.modal .content.show-loader {
  background-position: 50% 50%;
}
.modal .content.show-loader * {
  visibility: hidden;
}
.modal .close {
  position: absolute;
  right: 35px !important;
  left: auto !important;
  top: 35px;
  width: 22px;
  height: 24px;
  background: url("../../images/xmark-blue.svg") no-repeat center center;
  border: none;
  color: #002857;
  fill: #002857;
  font-size: 20px;
  margin: 0;
  cursor: pointer;
}
.modal .close:focus {
  outline: none;
}
.pa-popup.intro-text {
  margin: -20px -20px 30px;
  border-bottom: 6px solid #ffffff;
}
.modal .page-title {
  margin: 0;
}
.modal-small .margin-btn {
  flex-direction: column;
}
.modal-small .margin-btn .btn {
  width: 100%;
}
/* Edit tax residence details - Popup - button position*/
#client-sent-tax-residency-request-popup .modal-footer a {
  float: left !important;
}
/* Add missing accounts */
.missing-accounts-list {
  margin: 10px 0;
}
.missing-accounts-list > div {
  margin: 2px 0;
}
.missing-accounts-list a {
  cursor: pointer;
}
/* contact preferences popup */
#contact-preferences-popup-container-id .modal-dialog {
  width: 800px;
  max-width: 100%;
  border-radius: 25px;
}
.contact-preferences-popup {
  background: #fff;
  text-align: center;
  padding: 50px;
  border-radius: 25px;
}
.contact-preferences-popup h1 {
  color: #002857;
  font-weight: bold;
  font-size: 22px;
  line-height: 26px;
  margin-top: 0;
  margin-bottom: 50px;
  padding: 0 50px;
}
.contact-preferences-popup .options {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.contact-preferences-popup .options > label {
  flex-grow: 1;
  flex-basis: 33%;
  height: 160px;
  border: 1px solid #dedede;
  border-radius: 6px;
  text-align: center;
  padding: 25px;
  cursor: pointer;
  background-color: #fff;
  background-repeat: no-repeat;
}
@media (max-width: 780px) {
  .contact-preferences-popup .options > label {
    width: 334px;
    max-width: 100%;
    margin: 0px auto 0 !important;
    height: auto;
    padding: 25px;
  }
}
@media (max-width: 580px) {
  .contact-preferences-popup .options > label {
    flex-basis: 100%;
    width: 100%;
  }
}
.contact-preferences-popup .options > label:hover,
.contact-preferences-popup .options > label:active {
  border: 1px solid #00d49a;
  background-color: rgba(0, 212, 154, 0.1);
}
.contact-preferences-popup .options > label:first-child {
  background-image: url("../../images/PopUp/contactPreferences/by-phone.svg");
  background-position: center 31px;
  background-size: 54px 52px;
}
.contact-preferences-popup .options > label:nth-child(2) {
  background-image: url("../../images/PopUp/contactPreferences/by-email.svg");
  background-position: center 38px;
  background-size: 57px 44px;
}
.contact-preferences-popup .options > label:nth-child(3) {
  background-image: url("../../images/PopUp/contactPreferences/by-email-and-phone.svg");
  background-position: center 32px;
  background-size: 61px 52px;
}
.contact-preferences-popup .options > label:first-child:active {
  background-image: url("../../images/PopUp/contactPreferences/by-phone-green.svg");
}
.contact-preferences-popup .options > label:nth-child(2):active {
  background-image: url("../../images/PopUp/contactPreferences/by-email-green.svg");
}
.contact-preferences-popup .options > label:nth-child(3):active {
  background-image: url("../../images/PopUp/contactPreferences/by-email-and-phone-green.svg");
}
.contact-preferences-popup .radio-holder .controls label {
  display: none;
}
.contact-preferences-popup .options > label:hover .radio-holder .controls label:after {
  opacity: 1;
}
.contact-preferences-popup .radio-holder span {
  display: block;
  margin-top: 64px;
  font-size: 18px;
  padding: 0;
  color: #333;
}
.contact-preferences-popup .options > label:active .radio-holder span {
  color: #00d49a;
}
.contact-preferences-popup .close {
  top: 52px;
  right: 50px !important;
  left: auto !important;
  border: none;
  background: url("../../images/PopUp/contactPreferences/close.svg") no-repeat center center;
}
.miss-out-link {
  background: none;
  border: none;
  text-decoration: underline;
  display: inline-block;
  margin: 50px 0 25px;
  color: #7a7a7a;
  font-size: 16px;
}
.change-later-note {
  color: #b3b3b3;
}
.hear-about-us-popup .radio-holder span {
  padding: 0 0 2px 0;
}
.trading-conditions-popup {
  width: 640px !important;
  max-width: 100%;
}
.trading-conditions-popup iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.trading-conditions-popup .page-title {
  font-size: 20px;
}
.trading-conditions-popup .margin-btn .btn {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
}
#summary_result_body strong {
  color: #002857;
}
@media (max-width: 780px) {
  .contact-preferences-popup {
    padding: 25px;
  }
  .contact-preferences-popup h1 {
    padding: 0 30px;
  }
  .contact-preferences-popup .options {
    flex-direction: column;
    gap: 15px;
  }
  .contact-preferences-popup .options > label:first-child,
  .contact-preferences-popup .options > label:first-child:hover {
    background-position: 30px center;
    background-size: 30px 35px;
  }
  .contact-preferences-popup .options > label:nth-child(2),
  .contact-preferences-popup .options > label:nth-child(2):hover {
    background-position: 31px center;
    background-size: 30px 21px;
  }
  .contact-preferences-popup .options > label:nth-child(3),
  .contact-preferences-popup .options > label:nth-child(3):hover {
    background-position: 15px center;
    background-size: 61px 27px;
  }
  .rtl .contact-preferences-popup .options > label:nth-child(n) {
    background-position: calc((100%) - 25px) center;
  }
  .contact-preferences-popup .radio-holder {
    display: table;
    height: 100%;
  }
  .contact-preferences-popup .radio-holder span {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
  }
  .contact-preferences-popup .close {
    top: 25px;
    right: 25px !important;
    left: auto !important;
  }
  .contact-preferences-popup .options > label:first-child .radio-holder span {
    /*!!! defined to be rtl/ltr !!!*/
    padding-left: 25px;
  }
  .contact-preferences-popup .options > label:nth-child(2) .radio-holder span {
    /*!!! defined to be rtl/ltr !!!*/
    padding-left: 25px;
  }
  .contact-preferences-popup .options > label:nth-child(3) .radio-holder span {
    /*!!! defined to be rtl/ltr !!!*/
    padding-left: 26px;
  }
}
@media (max-width: 460px) {
  .modal-footer .btn {
    float: none !important;
  }
}
.sms-verification-popup .code-boxes-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(auto, 40px));
  grid-template-rows: 40px;
  justify-content: space-between;
  gap: 10px;
}
.sms-verification-popup .at-validation-error {
  font-size: 14px;
}
.sms-verification-popup .support-link-container {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.popup-hero-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 21px;
  fill: #002857;
}
