.profile .table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-table-tbody);
    color: var(---text-color);
    font-family: Arial, sans-serif;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.profile .table thead {
    background-color: var(--background-table-thead);
}

.profile .table th,
.profile .table td {
    padding: 5px;
    border: 1px solid var(--background-table-th);
    font-family: var(--font-mod);
    font-size: 14px;
}

.profile .table th {
    font-family: var(--font-mod);
    text-align: left;
    font-size: 13px;
}

.profile .table tbody tr:nth-child(even) {
    background-color: var(--background-table-tr);
}

.text-center {
    text-align: center;
}

.profile .table-body {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.container-profile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-ctrorl {
    order: 2;
    align-self: flex-start;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.profile-ctrorl__item {
    padding: 13px 15px;
    border-radius: 8px;
    background: var(--background-color);
    border: 2px solid #00000014;
    display: flex;
    border-top: 3px solid #00000014;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    transition: all linear .3s;
    color: var(--text-color);
}

.profile-info-item {
    font-size: 17px;
}

.profile-info-lie {
    font-family: var(--font-mod);
    font-size: 15px;
}

.form-control-value.mb-2 {
    font-size: 15px;
    font-family: var(--font-mod);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    background: var(--background-form-control);
    color: var(--text-color);
    transition: all linear .3s;
}

.profile__info__balance__item {
    padding: 10px;
    background: var(--background-form-control);
    border-radius: 10px;
    cursor: pointer;
    transition: all linear .2s;
}

.profile__info__balance__item:hover {
    background: var(--color-theme);
    color: #fff;
}

.profile__info__balance__item:focus {
    background: var(--color-theme);
    color: #fff;
}

.form-control-value.mb-2:focus {
    border: 1px solid var(--color-theme);
}

.profile__info__name__item__value {
    display: flex;
    flex-direction: column;
    padding: 5px 0px;
    gap: 5px
}

.profile-ctrorl__item .profile-ctrorl__item__link {
    color: var(--text-color);
}

.profile-ctrorl__item.active {
    border-top: 3px solid var(--color-theme);
    color: var(--color-theme);
}

.profile-ctrorl__item:hover {
    border: 2px solid var(--color-theme);
    border-top: 3px solid var(--color-theme);
    color: var(--color-theme);
}

.profile-ctrorl__item a {
    width: 100%;
}

.profile {
    order: 1;
    font-family: var(--font-mod);
    display: flex;
    border-radius: 10px;
    flex-direction: column;
}

.profile__balance_fluctuation {
    padding: 10px;
    font-family: var(--font-mod);
    display: flex;
    background: var(--background-color);
    box-shadow: 1px 8px 5px var(--box-show);
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
}

.profile__info {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.profile__info__name, .profile__info__balance, .profile__info__security {
    padding: 10px;
    font-family: var(--font-mod);
    display: flex;
    background: var(--background-color);
    box-shadow: 1px 8px 5px var(--box-show);
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    gap: 10px;
}

.profile__info__security__item,
.profile__info__name__item {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}


@media (min-width: 1000px) {
    .container-profile {
        flex-direction: row;
    }

    .profile-ctrorl {
        order: 1;
        width: 30%;
        padding : 0px 10px;
    }

    .profile {
        order: 2;
        width: 70%;
    }
    .profile__info__name__item {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .profile__info__security__item{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}