#profile {
    min-height: 999px;
    margin-top: 1rem;
}

#profile-settings {
    min-height: 100%;
    margin-top: 1rem;
}

h1, .h1 {
    font-family: var(--second-family), sans-serif;
    font-weight: 400 !important;
    font-size: 35px !important;
    line-height: 114% !important;
    color: #faf9f9 !important;
    margin-bottom: 35px !important;
}


.top-bg {
    border-radius: 10px 10px 0 0;
    height: 110px !important;
    background-position: 0 -50px;
    /*background-size: cover;*/
    background-repeat: no-repeat;
}

.btn-block {
    position: absolute;
    left: 5px;
    top: -10px;
}

.btn-1 {
    border-radius: 5px;
    display: inline-block;
    background: #faf9f9;
    padding: 6px 10px;
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
    color: #0d172c;
    margin-left: 10px;
    height: 30px;
}

.btn-1:hover, .btn-1:focus {
    background: #dfdfdf;
}

.btn-11 {
    border-radius: 5px;
    display: inline-block;
    background: #faf9f9;
    padding: 6px 10px;
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
    color: #0d172c;
    height: 30px;
}

.btn-settings:hover, .btn-settings2:hover, .btn-settings:focus, .btn-settings2:focus {
    backdrop-filter: blur(8px) !important;
    background: rgba(186, 186, 186, 0.2) !important;
}


#profile-header-img {
    position: relative;
    min-height: 220px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--bs-border-radius) !important;
}
#profile-header-img-nojs {
    position: relative;
    min-height: 220px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--bs-border-radius) !important;
}

#profile-header-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 23, 44, 0.5);
    z-index: 0;
}
#profile-header-img-nojs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(13, 23, 44, 0.5);*/
    z-index: 0;
}

.avatar2 {
    position: absolute !important;
    bottom: 10px !important;
    left: 20px !important;
    width: 100px !important;
    height: 100px !important;
}

.avatar-img {
    border: 1px solid #2f3f5e !important;
}

.settings-btn-block {
    position: absolute;
    right: 11px;
    bottom: 10px;
}

.settings-btn-block2 {
    display: flex;
    align-items: center;
    margin: 10px 0 10px 0;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
}

.btn-settings, .btn-settings2 {
    border-radius: 5px !important;
    width: 200px !important;
    height: 35px !important;
    backdrop-filter: blur(7px) !important;
    background: rgba(250, 249, 249, 0.2) !important;
    font-family: var(--font-family), sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-align: center !important;
    color: #faf9f9 !important;
    padding: 7px 10px !important;
}

.color-block {
    background: #1c273e;
    border-radius: 10px;
}

img.img-fluid2 {
    width: 80px;
    height: 80px;
}

a.A3f2r3 {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    text-align: center;
    color: #6e7480;
    margin-top: 5px;
}

.first-block {
    flex-direction: row;
    width: 100%;
    height: 81px;
    display: flex;
    justify-content: space-between !important;
    align-items: center;
}

.min-block {
    min-height: 365px;
    /*padding: 20px 20px 0 20px;*/
}

.block1 {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #e3e3e3;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.block2 {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #e3e3e3;
}

.block3 {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #e3e3e3;
    display: flex;
    flex-direction: column;
    padding-right: 20px !important;
    align-items: flex-end;
}

.block4 {
    display: none !important;
}

.block4 .scount {
    font-weight: 400;
    font-size: 13px;
    line-height: 123%;
    color: #e3e3e3;
}

.block4 .sname {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 123%;
    color: #e3e3e3;
}

.AD231df {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(199, 42, 34, 0.3);
    border-radius: 10px;
    margin-top: 15px;
}

.AD231df .sname {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #e3e3e3;
}

.AD231df .scount {
    font-family: var(--font-family), sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 133%;
    text-align: right;
    color: #faf9f9;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.r-block {
    border-radius: 10px;
    min-height: 260px;
    background: #1c273e;
    padding: 20px 20px;
}

.r-title {
    font-family: var(--second-family), sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #faf9f9;
}

.r-content div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    margin-bottom: 10px;
}

.r-content div span:first-child {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #6e7480;
}

.r-content div a {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    text-align: right;
    color: #e3e3e3;
}

.r-content div span:not(:first-child) {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    text-align: right;
    color: #e3e3e3;
}

.r-content div span a {
    font-family: var(--font-family), sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 143%;
    text-align: right;
    color: #e3e3e3;
}

.name {
    font-family: var(--font-family), sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 133%;
    color: #faf9f9;
    max-width: 200px;
    overflow: hidden;
    height: 23px;
}

.color-name {
    color: #32b5c9;
}

.sub-name2 {
    font-family: var(--font-family), sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 133%;
}

.fs15 {
    font-size: 15px !important;
}

.r-desc {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #e3e3e3;
    margin-bottom: 20px !important
}

.A49uf902 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-bottom: 20px !important;
}

.A432fd {
    font-family: var(--second-family), sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #faf9f9;
    padding: 20px 10px 0 20px;
}

.Af43ffd {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 11px;
    text-align: center;
    color: #6e7480;
}

.Af43ff-active {
    color: #e3e3e3;
}

thead, tbody, tfoot, td, th {
    background: transparent !important;
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #faf9f9;
}

.table, th {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #6e7480;
}

.btn-settings3 {
    border: 1px solid #434e65;
    border-radius: 5px;
    width: 100%;
    height: 35px;
    backdrop-filter: blur(7px);
    background: #1c273e;
    font-family: var(--font-family), sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    color: #faf9f9;
    padding: 7px 10px;
}

.hide-desktop-flex {
    display: none;
}

.settings-block-profile {
    border-radius: 10px;
    background: #1c273e;
    padding: 20px;
}

.settings-block-profile2 {
    border-radius: 10px;
    background: #1c273e;
    padding: 20px 20px 50px 20px;
}

.btn-settings-submit {
    border-radius: 5px !important;
    width: 200px;
    height: 45px !important;
    font-family: var(--font-family), sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-align: center !important;
    color: #fff !important;
    background: #32b5c9 !important;
}

.btn-settings-submit2 {
    border-radius: 5px !important;
    height: 35px !important;
    font-family: var(--font-family), sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    text-align: center !important;
    color: #fff !important;
    background: #32b5c9 !important;
}

.btn-settings-submit2:hover, .btn-settings-submit2:focus {
    background: #328fb5 !important;
}

.btn-settings-submit:hover, .btn-settings-submit:focus {
    background: #328fb5 !important;
}

.as3fs {
    display: flex;
    margin: 0 0 5px 0;
    padding: 11px 0 0 0;
    justify-content: space-between;
    align-items: center;
}

.as3fs img {
    margin: -12px 0 0 0;
}

.as3fs a {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #e3e3e3;
}

.Ac342r23 {
    background: #1c273e;
    border-radius: 10px;
    padding: 20px;
}

.as3fs:not(:first-child) {
    border-top: 1px solid #2a3345;
}

.dQFCdas .nav-link.active, .dQFCdas .nav-link:hover {
    color: #e3e3e3 !important;
}

.dQFCdas .nav-link img {
    height: 16px;
    margin: -5px 5px 0 5px;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1 !important;
}

.sticky-top #save-bg {
    background: #32b5c9;
    font-family: var(--font-family), sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    color: #fff;
}

.dimgbg-c {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    object-fit: contain;
}

.cf34f67 {
    border: 2px solid transparent;
    object-fit: cover;
    height: 150px !important;
    width: 100% !important;
}

.C32dfm9 {
    background-color: #182135 !important;
    padding: 15px;
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: #faf9f9;
}

.C32dfm92 {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #faf9f9;
    border: 1px solid #434e65;
    border-radius: 5px;
    height: 35px;
    background: #1c273e;
    padding: 8px 20px 8px 20px;
    letter-spacing: 1px;
}

.aDd43as {
    font-family: var(--font-family), sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #6e7480;
}

.aDd43as1 {
    margin-top: 16px !important;
    height: 35px !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-align: center !important;
    color: #faf9f9 !important;
}

.avatar-img-list {
    object-fit: cover;
    border: 1px solid #2f3f5e;
    border-radius: 50px;
    width: 40px;
    height: 40px;
}

.da23j {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 767px) {
    .btn-settings3 {
        margin-top: 16px !important;
    }
}

@media (max-width: 767px) {
    #profile-header-img {
        position: relative;
        min-height: 100px;
        max-height: 130px;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: var(--bs-border-radius) !important;
    }
    #profile-header-img-nojs {
        position: relative;
        min-height: 100px;
        max-height: 130px;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: var(--bs-border-radius) !important;
    }
    .cf34f67 {
        width: 100%;
        height: auto;
    }

    .Asa233d {
        background: transparent !important;
    }

    h1, .h1 {
        font-size: 22px !important;
        line-height: 109% !important;
        margin-bottom: 30px !important;
    }

    .sticky-top {
        position: sticky !important;
        top: 20px !important;
        z-index: 1020 !important;
        background-color: #1c273e !important;
        padding: 1rem !important;
        border-radius: 6px !important;
        justify-content: space-between !important;
        align-items: normal !important;
    }

    .hide-desktop-flex {
        display: flex;
        align-content: center;
        justify-content: space-between;
        align-items: center;
    }

    .settings-block-profile {
        /*background: transparent;*/
    }

    .avatar2 {
        position: absolute !important;
        bottom: -90px !important;
        width: 100px !important;
        height: 100px !important;
        left: 50% !important; /* Смещаем элемент на 50% от левого края родителя */
        transform: translate(-50%, -50%) !important;
    }

    .btn-settings2 {
        top: -200px;
        position: absolute;
        right: 0;
    }

    .btn-settings {
        display: none !important;
    }

    .block1 {
        text-align: center;
        margin: 20px 0 25px 0 !important;
        padding-left: 0;
    }

    .block1 .name {
        font-weight: 700;
        font-size: 15px;
        line-height: 133%;
        text-align: center;
        color: #faf9f9;
    }

    .block1 .sub-name {
        font-weight: 400;
        font-size: 13px;
        line-height: 123%;
        text-align: center;
        color: #e3e3e3;
    }

    .first-block {
        background: transparent;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        height: auto;
        margin-bottom: 20px;
    }

    .block2, .block3 {
        display: flex;
        background: #1c273e;
        border-radius: 5px;
        width: 100%;
        font-family: var(--font-family), sans-serif;
        align-items: center;
        justify-content: space-between;
        padding: 3px 7px 0 10px !important;
        height: 35px;
        margin-bottom: 5px;
        flex-direction: row-reverse;
    }

    .block4 {
        display: flex !important;
        background: #1c273e !important;
        border-radius: 5px;
        width: 100%;
        font-family: var(--font-family), sans-serif;
        align-items: center;
        justify-content: space-between;
        padding: 5px 7px 0 10px !important;
        height: 35px;
        margin-bottom: 5px;
        flex-direction: row-reverse;
    }

    .block2 .sub-name {
        font-weight: 400;
        font-size: 13px;
        line-height: 123%;
    }

    .block3 .sub-name {
        font-weight: 400;
        font-size: 13px;
        line-height: 123%;
        color: #e3e3e3;
    }

    .block2 .name {
        font-weight: 700;
        font-size: 15px;
        line-height: 133%;
        text-align: right;
    }

    .A432fd {
        font-weight: 400;
        font-size: 16px;
        line-height: 125%;
        color: #faf9f9;
    }
}

/* Стилизация выпадающего меню загрузки */
.apexcharts-menu {
    background-color: #333 !important;
    border: 1px solid #555 !important;
    color: #FFF !important;
}

/* Стилизация выпадающего меню загрузки */
.apexcharts-menu-item:hover {
    background-color: #555 !important;
}
