.account {
  display: flex;
}
@media (max-width: 768px) {
  .account {
    flex-direction: column;
  }
}
.account-menu {
  flex: 0 0 200px;
}
@media (max-width: 768px) {
  .account-menu {
    display: flex;
  }
}
.account-menu ul {
  list-style: none;
}
@media (max-width: 768px) {
  .account-menu ul {
    display: flex;
    flex-wrap: wrap;
  }
}
.account-menu ul a {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 10px;
  display: flex;
  text-decoration: none;
  width: 100%;
  color: #5a5c5c;
}
.account-menu ul a:hover {
  color: #3537ab;
  text-decoration: underline;
}
.account-menu ul a.active {
  color: #3537ab;
  cursor: default;
}
@media (max-width: 768px) {
  .account-menu ul a {
    display: flex;
    padding: 5px;
  }
}
.account-menu ul ul {
  padding-left: 30px;
  display: none;
}
.account-menu ul ul.show {
  display: block;
}
.account-menu ul span {
  width: 102px;
  margin-left: 15px;
  margin-right: auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}
@media (max-width: 768px) {
  .account-menu ul span {
    font-size: 11px;
    width: 85px;
    margin-left: 5px;
  }
}
.account-content {
  padding: 30px;
  flex: 1 1 auto;
  border: 1px solid #d4d9e7;
  border-radius: 5px;
  color: #2d2f32;
}
.account-content h2 {
  text-align: left;
  margin: 0;
  line-height: normal;
  white-space: normal;
  font-size: 20px;
  font-weight: 600;
  color: #5a5c5c;
}
.account-content p {
  line-height: inherit;
  padding-top: 10px;
  font-size: 14px;
  white-space: pre-wrap;
  color: #2d2f32;
}
.account-content p.danger {
  line-height: normal;
  color: #e45959;
  font-size: 14px;
  font-weight: 400;
  padding: 0px 30px;
}
.tm {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: url("/images/trade-menu.png") no-repeat;
}
.tm--account {
  background-position-x: 0;
}
.tm--refill {
  background-position-x: -20px;
}
.tm--withdrawal {
  background-position-x: -40px;
}
.tm--profile {
  background-position-x: -60px;
}
.tm--status {
  background-position-x: -80px;
}
.tm--promo {
  background-position-x: -100px;
}
.tm--logout {
  background-position-x: -120px;
}
.tm--document {
  background-position-x: -140px;
}
.tm--down {
  margin-right: 10px;
  background-position-x: -160px;
}
.tm--up {
  margin-right: 10px;
  background-position-x: -180px;
}
@media (max-width: 768px) {
  .tm {
    scale: .5;
  }
}
.header__section {
  margin-bottom: 25px;
}
.header__section .header__title {
  color: #5a5c5c;
  font-size: 20px;
  font-weight: 600;
}
.header__section .header__description {
  color: #2d2f32;
}
.personal-data .text-field-label-wrapper {
  padding: 5px 0;
}
@media (min-width: 768px) {
  .personal-data .text-field-label-wrapper {
    max-width: 40%;
  }
}
.personal-data .text-field-label-wrapper label {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
  line-height: 35px;
  color: #888fa3;
  font-weight: 400;
}
.personal-data .text-field-label-wrapper input,
.personal-data .text-field-label-wrapper span:first-child {
  background: #f6f7fa;
  border: 1px solid #d4d9e7;
  color: #5a5c5c;
  padding: 5px;
  border-radius: 3px;
  height: 45px;
}
@media (min-width: 768px) {
  .personal-data .text-field-label-wrapper input,
  .personal-data .text-field-label-wrapper span:first-child {
    min-width: 65%;
  }
}
.personal-data .text-field-label-wrapper input.error,
.personal-data .text-field-label-wrapper span:first-child.error {
  border-color: #dc3545;
}
.personal-data .text-field-label-wrapper span:first-child {
  border: none;
  color: #2d2f32;
  height: auto;
  line-height: 28px;
}
@media (min-width: 768px) {
  .personal-data .text-field-label-wrapper .personalDataInputValue {
    min-width: 65%;
  }
}
.change-password-form .input-wrapper {
  margin-top: 0;
  width: 325px;
  display: grid;
  grid-template: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.change-password-form .input-wrapper label {
  font-size: 13px;
  font-weight: 600;
  color: #a1a1a1;
}
.change-password-form .input-wrapper .input {
  flex-flow: row;
  box-sizing: border-box;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: start;
  justify-content: flex-start;
  background-color: #f6f7fa;
  color: #474747;
  height: 100%;
  font-weight: lighter;
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  border-color: #cccccc;
  border-radius: 3px;
  width: 100%;
  padding: 13px 20px;
  cursor: text;
}
.change-password-form .input-wrapper .input.error {
  border-color: #dc3545;
}
.change-password-form .input-wrapper .input input {
  direction: ltr;
  display: flex;
  flex-direction: column;
  -moz-box-flex: 1;
  flex-grow: 1;
  outline: 0;
  padding: 0;
  margin: 0;
  border-width: 0;
  background-color: inherit;
  line-height: 1.69;
  color: #474747;
  cursor: text;
}
.change-password-form .submit-wrapper {
  margin: 30px 0 0 0;
}
.submit-wrapper {
  margin-top: 20px;
}
.submit-wrapper.deposit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.submit-wrapper .submit-button {
  align-items: center;
  display: inline-flex;
  font-style: normal;
  max-width: 100%;
  outline: none !important;
  text-decoration: none;
  white-space: nowrap;
  background: #f99f1d;
  fill: #31394c;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38);
  text-align: center;
  -moz-box-pack: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 50px;
  vertical-align: middle;
  width: 100%;
  padding: 7px 20px;
  line-height: 1.69;
  font-weight: 600;
  font-size: 14px;
  border-radius: 3px;
  color: #ffffff;
  position: relative;
  direction: ltr;
}
.submit-wrapper .submit-button.cancel-button {
  background: #2d94f3;
  fill: #2d94f3;
  border: 1px solid #2d94f3;
}
.upload-messages {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  margin-top: 1rem;
}
.upload-messages--error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
.upload-messages--success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.uploadBlock {
  display: block;
  justify-content: space-between;
  margin-bottom: 50px;
}
.uploadBlock.submitUploadBlock {
  text-align: center;
}
.uploadBlock select,
.uploadBlock .select,
.uploadBlock .fileInput {
  align-items: center;
  border-color: #d4d9e7;
  border-radius: 3px;
  border-style: solid;
  border-width: 1px;
  cursor: default;
  display: flex;
  flex-wrap: wrap;
  -moz-box-pack: justify;
  justify-content: space-between;
  min-height: auto;
  outline: 0 !important;
  position: relative;
  transition: 100ms;
  box-sizing: border-box;
  background: #f6f7fa;
  height: 50px;
  padding: 0 2px 0 4px;
  color: #2d2f32;
  margin: 10px 0;
}
@media (min-width: 768px) {
  .uploadBlock select,
  .uploadBlock .select,
  .uploadBlock .fileInput {
    min-width: 435px;
    width: 51%;
    font-size: 16px;
  }
  .uploadBlock select.amountInput,
  .uploadBlock .select.amountInput,
  .uploadBlock .fileInput.amountInput {
    width: 30%;
    min-width: 280px;
  }
}
.uploadBlock .fileInput {
  display: none;
}
.uploadBlock .fileInput.active {
  display: flex;
}
.uploadBlock .fileInput > input[type=file] {
  font-size: 13px;
}
.uploadBlock .fileInput > input[type=file]::file-selector-button {
  display: none;
}
.uploadBlock .fileInput > i {
  position: relative;
  width: 25px;
  padding: 0 5px;
  cursor: pointer;
}
.uploadBlock .fileInput > i::before {
  display: block;
  content: "\4b";
  font-size: 12px;
  color: #d15e47;
  font-family: newsite-font;
  font-weight: 600;
}
.uploadBlock .uploadButton {
  align-items: center;
  display: inline-flex;
  font-style: normal;
  outline: none !important;
  text-decoration: none;
  white-space: nowrap;
  background: #2d94f3;
  fill: #2d94f3;
  border: 1px solid #2d94f3;
  transition: background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38);
  text-align: center;
  -moz-box-pack: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 1 0 auto;
  height: 50px;
  vertical-align: middle;
  width: 100%;
  padding: 7px 20px;
  line-height: 1.69;
  font-weight: normal;
  font-size: 14px;
  border-radius: 3px;
  align-self: flex-start;
  color: #ffffff;
  -moz-box-flex: 1;
  max-width: 170px;
  direction: ltr;
  margin-top: 12px;
}
.uploadBlock .uploadButton span {
  fill: #2d94f3;
  text-align: center;
  line-height: 1.69;
  font-weight: normal;
  font-size: 14px;
  color: #ffffff;
}
.uploadBlock .uploadButton.submitUploadButton {
  display: none;
  background: #f99f1d;
  fill: #f99f1d;
  border: 1px solid #f99f1d;
}
.uploadBlock .uploadButton.submitUploadButton.active {
  display: inline-flex;
}
.uploadBlock .uploadButton.submitUploadButton span {
  fill: #f99f1d;
}
.uploadBlock .uploadBlockForm {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: 20px 0;
  flex-flow: wrap;
}
.uploadBlock :has(select[name=document_type] > option[value="1"]:checked) .passportDescription {
  display: block;
}
.uploadBlock .passportDescription {
  display: none;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #ff9900;
}
.uploadBlock .passportDescription > svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-right: 5px;
  margin-bottom: -5px;
}
.uploadBlockTable {
  width: 100%;
}
.uploadBlockTable thead {
  display: grid;
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #ffffff;
  border-bottom: medium !important;
}
.uploadBlockTable tbody {
  --virtual-padding-left: 0;
  --virtual-padding-right: -300;
  --virtual-padding-right-display: flex;
  --virtual-padding-left-display: none;
  --header-transactionDate-size: 100;
  --col-transactionDate-size: 100;
  --header-dealNumber-size: 100;
  --col-dealNumber-size: 100;
  --header-transactionTypeName-size: 150;
  --col-transactionTypeName-size: 150;
  --header-amount-size: 150;
  --col-amount-size: 150;
  --header-postBalance-size: 150;
  --col-postBalance-size: 150;
  --header-externalTransactionId-size: 300;
  --col-externalTransactionId-size: 300;
}
.uploadBlockTable tr {
  display: flex;
  -moz-box-pack: justify;
  justify-content: space-between;
  border-width: medium medium 1px !important;
  border-style: none none solid !important;
  border-color: currentcolor currentcolor #d4d9e7 !important;
  border-image: none !important;
  font-size: 16px;
}
.uploadBlockTable tr.tr__table-row-group {
  display: table-row-group;
}
@media (max-width: 768px) {
  .uploadBlockTable tr {
    font-size: 10px;
  }
  .uploadBlockTable tr.tr__table-row-group {
    display: unset;
  }
}
.uploadBlockTable tr td,
.uploadBlockTable tr th {
  width: 30%;
  text-align: left;
}
.uploadBlockTable tr td {
  font-size: 13px;
}
.uploadBlockTable tr td.td__margin-left {
  margin-left: 15%;
}
@media (max-width: 768px) {
  .uploadBlockTable tr td {
    font-size: 8px;
  }
  .uploadBlockTable tr td.td__margin-left {
    margin-left: auto;
  }
}
.uploadBlockTable.payoutsTable tr td,
.uploadBlockTable.payoutsTable tr th {
  width: 24%;
}
.uploadBlockTitle {
  font-size: 16px;
  margin-bottom: 15px;
  margin-top: 10px;
}
.input__country.input .custom-select__text-holder {
  min-height: auto;
  line-height: 46px;
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: normal;
}
.input__country.input .custom-select__list-item {
  padding: 0 5px 0 45px;
  min-height: auto;
  line-height: 46px;
  display: flex;
  flex-direction: row;
}
.input__country.input .custom-select__list-title {
  line-height: 22px;
  margin-right: auto !important;
}
.input__country.input .custom-select__list-code {
  font-size: 12px;
  font-weight: 300;
  flex: 0 0 auto;
}
.input__country.input .custom-select__list-code:before {
  content: '(';
}
.input__country.input .custom-select__list-code:after {
  content: ')';
}
.input__country.input .custom-select__image {
  left: 10px;
}
/* Mobile Navigation Improvements */
@media (max-width: 767px) {
  .b-hidden-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    overflow-y: auto;
  }
  .headerSmall__topMenu {
    display: none;
  }
  .headerTop {
    display: none;
  }
  .mobile-menu {
    display: block !important;
  }
  .mobile-menu__container {
    padding: 20px;
  }
  .icon-hamburger {
    display: block;
    cursor: pointer;
  }
  .icon-hamburger i {
    display: block;
    width: 25px;
    height: 3px;
    margin: 6px 0 6px -6px;
    transition: 0.3s;
  }
  .mobile-menu__hidden {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .mobile-menu.active .mobile-menu__hidden {
    display: block;
  }
  .mobile-menu.active .icon-hamburger i:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .mobile-menu.active .icon-hamburger i:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu.active .icon-hamburger i:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  .mob-menu__list {
    flex-direction: column;
    padding: 0;
  }
  .mob-menu__listItem {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }
  .mob-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-weight: 600;
  }
  .mob-menu__link--arrow-down {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333" viewBox="0 0 16 16"><path d="M7.247 11.14L2.124 5.577l-.894.448L7.247 12.7l5.774-2.876-.894-.448z"/></svg>') no-repeat right center;
    background-size: 16px;
  }
  .submenu {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
  }
  .submenu.show {
    display: block;
  }
  .submenu li {
    padding: 8px 0;
    border-bottom: none;
  }
  .submenu a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
  }
  .languages__holder {
    justify-content: space-between;
  }
  .languages__title {
    font-size: 14px;
  }
  .languages-list__link {
    padding: 10px 15px;
  }
  .buttonCE {
    flex-direction: column;
    gap: 10px;
  }
  .buttonC {
    width: 100%;
  }
  .buttonQ {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .block__entry {
    font-size: 14px;
  }
  .button__entry_simple {
    padding: 5px 10px;
  }
}
/* Improved Table Responsiveness */
@media (max-width: 767px) {
  .uploadBlockTable {
    font-size: 12px;
  }
  .uploadBlockTable thead {
    display: none;
  }
  .uploadBlockTable tbody {
    display: block;
  }
  .uploadBlockTable tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
  }
  .uploadBlockTable tr td {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    width: 100%;
    border: none;
    font-size: 12px;
  }
  .uploadBlockTable tr td:before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    min-width: 80px;
  }
  .payoutsTable tr td {
    width: 100% !important;
  }
  .payoutsTable tr td:before {
    min-width: 100px;
  }
}
/* Footer Improvements */
@media (max-width: 767px) {
  .footer {
    background: #33434d;
  }
  .footer-top {
    flex-direction: column;
    padding: 20px;
  }
  .footer-top__list {
    order: 2;
    margin-top: 20px;
  }
  .footer-top__list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-top__list li {
    margin: 5px 10px;
  }
  .contact-top {
    order: 1;
  }
  .app-top__appstore-googleplay {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  .app-top__mobile {
    text-align: center;
  }
  .iphone {
    max-width: 200px;
    height: auto;
  }
}
/* General Mobile Improvements */
@media (max-width: 767px) {
  .b-default {
    padding-top: 80px;
  }
  .b-default__title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .account {
    margin: 0 15px;
  }
  .account-menu {
    flex: 0 0 150px;
  }
  .account-content {
    padding: 20px;
  }
  .account-content h2 {
    font-size: 18px;
  }
  .account-content p {
    font-size: 13px;
  }
  .tm {
    width: 16px;
    height: 16px;
  }
  .b-container {
    padding: 0 15px;
  }
  .error-block__content {
    width: 95%;
  }
  .pop-up {
    padding: 20px;
  }
  .wrapperPop-up h2 {
    font-size: 18px;
  }
  .wrapperPop-up p {
    font-size: 14px;
  }
}
/* Small Mobile Devices */
@media (max-width: 480px) {
  .b-default__title {
    font-size: 20px;
  }
  .account-menu {
    flex: 0 0 120px;
  }
  .account-menu ul a {
    font-size: 12px;
    padding: 8px;
  }
  .account-menu ul span {
    font-size: 11px;
    width: 70px;
    margin-left: 5px;
  }
  .account-content {
    padding: 15px;
  }
  .uploadBlock select,
  .uploadBlock .select,
  .uploadBlock .fileInput {
    min-width: 100%;
    width: 100%;
  }
  .uploadBlock .uploadBlockForm {
    flex-direction: column;
  }
  .uploadBlock .fileInput > i {
    display: none;
  }
  .uploadBlock .uploadButton {
    max-width: 100%;
  }
  .footer {
    padding: 20px;
  }
  .wrapperContacts {
    padding: 0 15px;
  }
  .contactDegLeft,
  .contactDegCenter,
  .contactDegRight {
    float: none;
    width: 100%;
  }
  .contactLeft {
    text-align: center;
  }
  .contactLeft a {
    display: block;
    margin: 10px 0;
  }
  .contactCenter .app {
    flex-direction: column;
    align-items: center;
  }
  .appstoreGoogleplay {
    order: 2;
    margin-top: 20px;
  }
  .mobilePic {
    order: 1;
  }
  .contactRight ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .contactRight li {
    margin: 5px 10px;
  }
}
