.profile_tab__wrapper:not(.active) {
    display: none;
}

.profile_tab {
    counter-reset: sections;
}

.profile_tab__header {
    display: flex;
    align-items: center;
    gap: 35px;
}

.profile_tab__title {
    flex-shrink: 0;
}

.profile_tab__notification {
    display: flex;
    align-items: center;
    flex-basis: 0;
    flex-grow: 1;
    background-color: #1b2b38;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 600;
    gap: 20px;
}

.profile_tab__notification:empty {
    display: none;
}

.profile_tab__notification:before {
    content: "i";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #dafe31;
    color: #1b2b38;
    border-radius: 100%;
    font-weight: bold;
    flex-shrink: 0;
}

.profile_tab__notification_list {
    align-items: flex-start;
    flex-direction: column;
    margin: 15px 0;
    font-weight: 400;
    gap: 14px;
}

.profile_tab__notification_list:before {
    display: none;
}

.profile_tab__section {
    padding: 25px 0;
}

.profile_tab__section:not(:first-child) {
    border-top: 3px solid #1b2b38;
}

.profile_tab__section_title {
    line-height: 1;
    padding-bottom: 25px;
}

.profile_tab__section_title:before {
    counter-increment: sections;
    content: counter(sections) ".";
}

.profile_tab__payment_systems {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.profile_tab__payment_system {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    border-radius: 15px;
    background-color: #1b2b38;
    cursor: pointer;
    max-width: 240px;
    position: relative;
    overflow: hidden;
}

.profile_tab__payment_system.active,
.profile_tab__payment_system:hover {
    box-shadow: 0 0 10px 3px #dafe31;
}

.profile_tab__payment_system.active .profile_tab__payment_system__commission,
.profile_tab__payment_system:hover .profile_tab__payment_system__commission {
    display: flex;
}

.profile_tab__payment_system__commission {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 2px 3px;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
    background-color: #735cfc;
    line-height: 1;
}

.profile_tab__payment_system__tag {
    position: absolute;
    background: #dafe31;
    top: 0;
    right: 0;
    border-top-right-radius: inherit;
}

.profile_tab__payment_system__image {
    background-size: cover;
    padding-bottom: 62%;
    width: 100%;
}

.profile_tab__payment_system__label {
    background-color: #735cfc;
    border-radius: 15px 4px 15px 4px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-top: -10px;
}

.profile_tab__section_form input[type = number]::-webkit-outer-spin-button,
.profile_tab__section_form input[type = number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.profile_tab__section_form input[type = number] {
    -moz-appearance: textfield;
}

.profile_tab__section_form .profile_tab__input {
    background-color: #1b2b38;
    border-radius: 20px;
    box-shadow: unset;
    margin: 6px 0;
    padding: 10px 15px;
    width: 100%;
    display: block;
}

.profile_tab__field_wrapper {
    position: relative;
    display: flex;
    gap: 10px;
    max-width: 420px;
}

.profile_tab__field_wrapper [id = payment_details__input_amount] {
    padding-right: 35px;
}

[id = payment_details__input_expiration] {
    max-width: 84px;
    flex-shrink: 0;
}

.profile_tab__field_wrapper .profile_tab_input_ico {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #868686;
    pointer-events: none;
}

.profile_tab__fieldset {
    margin-bottom: 25px;
}

.profile_tab__label {
    padding: 0 15px;
    font-size: 13px;
    font-weight: 600;
    color: #868686;
}

.profile_tab__label.required::after {
    content: '*';
    font-size: 10px;
}

.profile_tab__section_form .profile_tab__input::placeholder {
    color: #868686;
}

.profile_tab__excerpt {
    padding: 0 15px;
    font-size: 11px;
    color: #dafe31;
}

.profile_tab__form_notification:empty {
    display: none;
}

.profile_tab__form_notification {
    margin-bottom: 25px;
}

.profile_tab__theme_notification:before {
    background-color: #ff7a00;
    content: "!";
}

.profile_tab__list_previewer {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border: 2px solid;
    color: #ff7a00;
    border-radius: 10px;
    background: #1b2b38;
    width: 100%;
    cursor: pointer;
}

.profile_tab__list_previewer__section {
    min-height: 100px;
    padding: 15px;
}

.profile_tab__list_previewer_image {
    width: 100px;
    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.profile_tab__list_previewer__section + .profile_tab__list_previewer__section {
    border-left: 1px dashed rgba(212, 225, 245, .2);
}

.profile_tab__list_previewer_body {
    font-weight: 700;
    font-size: 14px;
    text-align: left;
}

.profile_tab__list_previewer_title {
    font-size: 16px;
}

.profile_tab__list_previewer_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.profile_tab__list_previewer svg {
    fill: #323b45;
}

.profile_tab__mobile_only {
    display: none !important;
}

.profile_tab__section_body__title_text {
    width: 90%;
}

.profile_tab__close_x {
    width: 15px;
    height: 15px;
    cursor: pointer;
    padding-top: 10px;
    margin-left: auto;
}

.profile_tab__link_btn.btn {
    display: inline-block;
    margin: 10px 0;
}

.profile_tab__info_option {
    margin: 15px 0;
}

.profile_tab__relative {
    position: relative;
}

.profile_tab__copy-icon {
    height: 16px;
    fill: #fff;
    vertical-align: baseline;
    padding-left: 4px;
    cursor: pointer;
}

.profile_tab__copy-message {
    display: inline-block;
    font-size: 13px;
    white-space: nowrap;
    border-radius: 5px;
    background-color: #1b2b38;
    opacity: 0;
    margin-left: 15px;
    transition: opacity 0.2s ease-in-out;
    vertical-align: baseline;
    pointer-events: none;
    padding: 2px 6px;
}

.profile_tab__copy-message.active {
    opacity: 1;
}

.profile_tab__table {
    border: 1px solid rgba(255, 255, 255, .1);
    background: #1b2b38;
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    width: 100%;
    overflow: hidden;
}

.profile_tab__table_cell {
    border: 1px solid rgba(255, 255, 255, .1);
    padding: 10px 15px;
}

.profile_tab__table_header {
    display: none;
}

.profile_tab__table_header .profile_tab__table_cell {
    background-color: #243a4b;
    border-bottom: 2px solid #dafe31;
    font-weight: 600;
}

.bonus-panel__withdrawal-info {
    border-bottom: 1px solid;
    border-color: #dafe31;
    padding: 5px 0;
    text-align: center;
}

.profile_tab__modal__wrapper {
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    position: fixed;
    opacity: 1;
    z-index: 102;
    transition: 0.3s ease-in-out all;
}

.profile_tab__modal__wrapper:not(.active) {
    pointer-events: none;
    opacity: 0;
}

.profile_tab__modal__wrapper.active .profile_tab__modal__overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background-color: rgba(27, 43, 56, .65);
}

.profile_tab__modal__wrapper .profile_tab__modal {
    margin: auto;
    max-width: 500px;
    max-height: calc(100% - 60px);
    background-color: #151a22;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.profile_tab__modal__wrapper .profile_tab__modal__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 0 30px;
    position: relative;
    width: 100%;
    text-align: center;
}

.profile_tab__modal__wrapper .profile_tab__modal__content {
    display: flex;
    flex-direction: column;
    overflow: auto;
    background: #2a3a47;
}

.profile_tab__modal__wrapper .profile_tab__modal__image {
    height: 300px;
    min-width: 420px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.profile_tab__modal__wrapper .profile_tab__modal__description {
    overflow: auto;
    padding: 0 20px;
    margin: 20px 0;
}

.profile_tab__modal__wrapper .profile_tab__modal__btn {
    padding: 16px 36px;
    margin: 0 auto 20px;
}

.profile_tab__modal__wrapper .profile_tab__modal__actions {
    display: flex;
    justify-content: center;
    padding: 30px 10px 0;
    gap: 20px;
}

.profile_tab__modal__wrapper .profile_tab__modal__close_small {
    height: 24px;
    width: 24px;
    top: calc(50% - 12px);
    transform: scale(1.5);
    right: 0;
    position: absolute;
    transition: color 0.1s ease-in-out;
    cursor: pointer;
}

.profile_tab__modal__wrapper .profile_tab__modal__close_small svg {
    fill: #fff;
    transition: color 0.3s ease-in-out;
}

.profile_tab__modal__wrapper .profile_tab__modal__close_small:hover svg {
    fill: #dafe31;
}

.profile_tab__modal__wrapper ::-webkit-scrollbar {
    width: 2px;
}

.profile_tab__modal__wrapper ::-webkit-scrollbar-thumb {
    background-color: #fff;
}

[id = payment_details__section__iframe] {
    width: 100%;
    min-height: 500px;
    margin-top: 35px;
    border-radius: 20px;
}


@media screen and (max-width: 850px) {
    [id = payment_details__section__iframe] {
        min-height: 700px;
    }
}

@media screen and (min-width: 800px) {
    .profile_tab__table {
        display: table;
        border-collapse: collapse;
        border-spacing: 0
    }

    .profile_tab__table_header {
        display: table-header-group;
    }

    .profile_tab__table_body {
        display: table-row-group;
    }

    .profile_tab__table_row {
        display: table-row;
    }

    .profile_tab__table_cell {
        display: table-cell;
    }

    .profile_tab__table_cell span {
        display: none;
    }
}

@media screen and (max-width: 799px) {
    .profile_tab__table_body {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .profile_tab__table_row {
        display: flex;
        flex-wrap: wrap;
        border: 1px solid rgba(255, 255, 255, .1);
        background-color: #243a4b;
        border-radius: 20px;
        overflow: hidden;
        font-size: 12px;
    }

    .profile_tab__table_cell {
        width: calc(100% / 3);
    }

    .profile_tab__table_cell span {
        font-weight: 600;
    }
}

@media screen and (max-width: 600px) {
    .profile_tab__table_cell {
        width: 50%;
    }
}

@media screen and (max-width: 480px) {
    .profile_tab__table_cell {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .profile_tab__section_title:before {
        content: none;
    }

    .profile_tab__section_form {
        width: auto;
        display: block;
        margin: auto;
        max-width: 460px;
    }

    .profile_tab__form_submit {
        margin: auto;
    }
}

@media screen and (max-width: 800px) {
    .profile_tab__title {
        font-size: 20px;
    }

    .profile_tab__section_title {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .profile_tab__mobile_only {
        display: flex !important;
    }

    .profile_tab__mobile_popup {
        transition: all 300ms ease-in-out;
    }

    .profile_tab__mobile_popup:not(.active) {
        transform: translateY(-20px);
        pointer-events: none;
        opacity: 0;
    }

    .profile_tab__section_body__title {
        display: flex;
        padding: 30px 15px 0;
        font-size: 24px;
        text-align: center;
    }

    .profile_tab__mobile_popup {
        background-color: #13212d;
        z-index: 20;
        position: fixed;
        width: 100vw;
        height: 100vh;
        overflow: auto;
        top: 0;
        left: 0;
    }

    .profile_tab__payment_systems {
        gap: 10px;
        padding: 30px 15px 40px;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .profile_tab__close_btn {
        margin: auto;
    }
}