.account-types {
  gap: 16px; }

.account-types__header {
  padding: 24px 24px 16px 24px; }
  .account-types__header img {
    margin-right: -8px;
    margin-top: -8px; }

.account-types__comparison {
  gap: 16px;
  margin: 16px 0; }

.accounts-comparison__item {
  width: 343px;
  background-color: #FAFAFA;
  padding-bottom: 24px;
  padding-top: 8px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; }

.accounts-comparison {
  font-size: 18px;
  text-align: left;
  margin: 0;
  display: flex;
  gap: 16px;
  justify-content: flex-end; }

.accounts-comparison__subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #666666;
  margin-bottom: 3px; }

.accounts-comparison__subtitle_basic {
  margin-top: 16px; }

.accounts-comparison__account_lists {
  margin-left: 16px; }

.accounts-comparison__header {
  height: 133px;
  display: flex;
  align-items: flex-start;
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  padding: 32px 24px;
  background-size: cover; }

.accounts-comparison__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  padding: 32px 0 8px 24px; }

.accounts-comparison__description {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  padding: 0 24px; }

.accounts-comparison__buttons {
  display: flex;
  gap: 16px;
  padding: 0 24px;
  margin-top: 59px; }

.accounts-comparison__button {
  flex: 1; }

.accounts-comparison__button_size-lg {
  flex-basis: 7%; }

.account-types__info {
  display: flex;
  gap: 16px;
  margin-left: 18px;
  flex-wrap: wrap; }

.account-types__info__item {
  padding: 8px 16px; }

.info__item_title {
  font-size: 24px;
  font-weight: 500;
  line-height: 29px; }

.info__item__description {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px; }

.accounts-comparison__table {
  margin: 0;
  border-collapse: collapse;
  border-radius: 8px;
  width: 100%;
  table-layout: fixed; }

.outer {
  position: relative; }

.inner {
  overflow-x: scroll;
  overflow-y: visible;
  width: 100%; }

.accounts-comparison__body__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  width: 187px;
  padding: 10px 12px;
  border: 1px solid #F5F5F5;
  vertical-align: baseline; }

.account-comparison-body_subtitle {
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  text-align: left; }

.accounts-comparison__body__item {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  background-color: #ffffff;
  padding: 10px 24px;
  width: 343px;
  border: 1px solid #F5F5F5;
  vertical-align: text-top; }

.accounts-comparison__button_table {
  max-width: max-content;
  padding: 8px 16px; }

.account-comparison_mobile {
  display: none; }

.account-types__promo {
  height: 312px;
  background-size: cover;
  display: flex;
  border-radius: 8px;
  padding: 24px 24px 24px 24px;
  flex-direction: column;
  justify-content: space-between; }
  .account-types__promo .button {
    max-width: 240px;
    padding: 10px 12px; }

.account-types__promo__content {
  grid-area: content;
  display: flex;
  gap: 16px;
  flex-direction: column; }

.account-types__promo__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  max-width: 50%; }

@media screen and (max-width: 1200px) {
  .account-types__header img {
    display: none; } }

@media screen and (max-width: 768px) {
  .account-types__header {
    padding: 12px 12px 24px; }
    .account-types__header img {
      top: 0;
      right: 0; }
  .account-types__info {
    margin-left: 0;
    flex-wrap: wrap;
    padding-bottom: 16px; }
  .account-types__comparison {
    padding: 8px;
    background-color: transparent; }
  .accounts-comparison__body {
    margin: 0 -8px;
    background-color: #FFFFFF; }
  .accounts-comparison__subtitle {
    margin-top: 24px;
    margin-left: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px; }
  .accounts-comparison__description {
    max-width: 85%; }
  .accounts-comparison__account_lists {
    flex-direction: column;
    margin: 0 -8px;
    background-color: #FFFFFF;
    padding-bottom: 18px; }
  .accounts-comparison__body {
    padding-top: 24px; }
  .accounts-comparison__body__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    width: 50%;
    padding: 10px 0 0 12px;
    vertical-align: top; }
  .accounts-comparison__body__item {
    padding: 10px 12px;
    width: 50%;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    vertical-align: center; }
  .accounts-comparison__item {
    width: auto;
    margin-left: 8px;
    margin-right: 8px;
    background-color: #FAFAFA;
    overflow: hidden; }
  .account-comparison_mobile {
    display: block; }
  /* Style the tab */
  .accounts-comparison__tab {
    overflow: hidden; }
  /* Style the buttons that are used to open the tab content */
  .accounts-comparison__tablink {
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    float: left;
    outline: none;
    cursor: pointer;
    padding: 0 16px 8px;
    flex-basis: 33%;
    text-align: center;
    border-bottom: 2px solid #DFDEDE;
    opacity: 0.5; }
    .accounts-comparison__tablink.active {
      border-bottom: 4px solid #4ECEA4;
      opacity: 1; }
  /* Change background color of buttons on hover */
  .accounts-comparison__tablink:hover {
    border-bottom: 4px solid #4ECEA4; }
  /* Style the tab content */
  .accounts-comparison__tabcontent {
    display: none; }
    .accounts-comparison__tabcontent.active {
      display: block; }
    .accounts-comparison__tabcontent .button_theme-primary {
      margin: 16px;
      padding: 8px;
      font-size: 18px;
      font-weight: 500;
      line-height: 24px; }
  .accounts-comparison__tab {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly; }
  .account-comparison_desktop {
    display: none; }
  .account-types__promo {
    background-position: center; }
  .account-types__promo__title {
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
    max-width: 90%; } }
