/* 
 COLOR SCHEME FOR SOLUTION DESIGN 
*/
:root {
    --block-solution-bg: linear-gradient(1deg, #222222 30%, #2d2d2d 100%);
    --achiev-bg: linear-gradient(16deg, #434343 30%, #4d4d4d 100%);
    --left-achiev-gradient: linear-gradient(0deg, #323232 30%, #393939 100%);
}

.block_solution_ach {
    padding: 20px;
    border-radius: 20px;
    position: relative;
    margin-top: 13px;
    background: var(--block-solution-bg);
    margin-bottom: 20px;
    box-shadow: 0px 5px 10px #13151a4f;
}

.flex_head_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flex_head_l {
    display: flex;
    align-items: center;
    gap: 15px;
}



.flex_top_usr {
    display: flex;
    flex-direction: column;
}

.name_top_usr {
    /* font-weight: 600; */
    /* font-size: 16px; */
    /* color: #fff; */
}

.desp_top_usr {
    font-size: 12px;
    /* color: #7d849c; */
}

.achives_site_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 5px;
}

.achive_site_item {
    margin-right: 0px !important;
    height: fit-content;
    display: flex;
    border-radius: 10px;
    background: linear-gradient(1deg, #434343 30%, #4f4f4f 100%);
    width: fit-content;
    padding: 10px;
}

.achive_site_item:hover {
    background: #4a4a4a;
    transform: scale(1.05);
}

.achive_site_item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.flex_ach_all {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-direction: row;
    /* Site on left, Server on right */
}

.block_ach_server1 {
    height: 400px;
    /* Increased height as per screenshot */
    padding: 13px;
    overflow: auto;
    background: #2d2d2d;
    position: relative;
    flex: 2;
    /* Takes more space */
    border-radius: 15px;
}

.achivments_block {
    flex: 1;
    /* Takes less space */
    height: 400px;
    padding: 13px;
    background: #2d2d2d;
    border-radius: 15px;
    position: relative;
    overflow-y: auto;
}

.achiev {
    display: flex;
    position: relative;
    padding: 15px 20px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
    background: #3c3c3c6e;
    height: 90px;
    border-radius: 18px;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    border: 1px solid #ffffff08;
}

.achiev.success {
    background: linear-gradient(90deg, #514030 0%, #443629 100%);
    border: 1px solid #da92562b;
}

.left_achiev {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.achiev_img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #00000033;
    padding: 5px;
    border-radius: 10px;
}

.flex_achiev_text {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    line-height: 20px;
}

.name_achiev {
    color: #fff;
    font-size: 14px;
}

.description_achiev {
    font-size: 11px;
    color: #a7a7a7;
    max-width: 250px;
    line-height: 15px;
    margin-top: 3px;
}

.success .description_achiev {
    color: #e99e5f;
}

.absolute_number_achiev {
    position: absolute;
    font-size: 80px;
    right: 10px;
    height: 100%;
    top: 15px;
    background: linear-gradient(359deg, #65656514 0%, #6565655e 55%);
    font-weight: 600;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    line-height: 62px;
    pointer-events: none;
}


.not_found_multi {
    /* color: #7e8098; */
    font-weight: 700;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#achievs {
    height: 250px;
    overflow: auto;
}

#achievs::-webkit-scrollbar {
    display: none;
}

.achivments_block {
    display: flex;
    width: 293px;
    flex-wrap: wrap;
    height: 270px;
    padding: 13px;
    border-radius: 15px;
    background: linear-gradient(0deg, #323232 30%, #393939 100%);
}

#achivments_area {
    width: fit-content;
    overflow: auto;
    height: 240px;
}

.gradient_online_ach {
    width: 100%;
    display: block;
    height: 40px;
    position: relative;
    margin-bottom: -48px;
    top: -40px;
    z-index: 1;
    background: linear-gradient(360deg, #323232 15%, #2f324100 100%);
}

.gradient_online_ach1 {
    width: 100%;
    display: block;
    height: 60px;
    position: relative;
    margin-bottom: -48px;
    top: -50px;
    z-index: 1;
    background: linear-gradient(360deg, #323232 15%, #2f324100 100%);
}

#achivments_area::-webkit-scrollbar {
    display: none;
}

#achivments_area center {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 0px !important;
    border-radius: 15px;
}

#achivments_area span {
    margin-right: 0px !important;
    height: fit-content;
    display: flex;
    border-radius: 10px;
    background: linear-gradient(1deg, #434343 30%, #4f4f4f 100%);
    width: fit-content;
    padding: 10px;
}

#achivments_area span img {
    width: 35px;
    height: 35px;
}




.block_ach_server {
    border-radius: 14px !important;
    background: #3a3a4759 !important;
    display: flex !important;
    margin-bottom: 0px;
    width: 100%;
    font-weight: bold;
    color: #727287;
    font-size: 11px;
    border: dashed 1px #4a4a5b !important;
    padding: 40px !important;
    align-items: center !important;
    justify-content: center !important;
}

.block_ach_server1 {
    height: 270px;
    padding: 13px;
    overflow: hidden;
    background: linear-gradient(0deg, #323232 30%, #393939 100%);
    position: relative;
    width: 100%;
    border-radius: 15px;
}

.block_solution_ach {
    padding: 20px;
    border-radius: 20px;
    background: var(--block-solution-bg);
    margin-bottom: 20px;
    box-shadow: 0px 5px 10px #13151a4f;
}

.progress_punkt i {
    font-size: 13px;
    width: 31px;
    min-width: 31px;
    background: #ff707030;
    transition: 0.2s all;
    color: #ff6e6e;
    display: flex;
    height: 31px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

#case-subjects {
    border-radius: 20px;
    border: solid 1px #383838;
    backdrop-filter: blur(3px);
    background: linear-gradient(1deg, #39393961 30%, #393939f2 100%);
    padding: 20px;
}

.case_soderjimoe i {
    font-size: 19px;
    color: #ffffff;
    background: #5b5b5b;
    display: flex;
    height: 40px;
    border-radius: 9px;
    width: 40px;
    align-items: center;
    justify-content: center;
}

.flex_case_soderjimoe {
    display: flex;
    flex-direction: column;
    line-height: 17px;
    font-weight: 600;
}

.invis_case {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.text_case_b {
    font-size: 12px;
    color: #949494;
}

.text_case_a {
    font-size: 14px;
}

.case_soderjimoe {
    margin-bottom: 20px;
    background: #464646;
    padding: 16px;
    display: flex;
    gap: 15px;
    border-radius: 12px;
    align-items: center;
}

.badge_leftt {
    display: flex;
    align-items: center;
    width: 100%;
    /* border: solid 1px #515151; */
    background: linear-gradient(1deg, #434343 30%, #4f4f4f 100%);
    justify-content: space-between;
    padding: 6px 0px 6px 14px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 12px;
}

.badge_leftt img {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.btn_load_badges {
    position: relative;
    color: #ffffff !important;
    display: flex;
    height: 50px !important;
    padding: 0 25px !important;
    border: none;
    margin-top: 0;
    border-radius: 11px;
    margin-right: 6px;
    background: linear-gradient(23deg, #865023 0%, #da9256 55%) !important;
    transition: 0.2s;
    font-weight: 600;
    align-items: center;
}

.btn_off_badges {
    position: relative;
    color: #ffffff !important;
    display: flex;
    height: 50px !important;
    padding: 0 25px !important;
    border: none;
    margin-top: 0;
    border-radius: 11px;
    margin-right: 6px;
    background: linear-gradient(23deg, #932e2e 0%, #e95353 55%) !important;
    transition: 0.2s;
    font-weight: 600;
    align-items: center;
}

.btn_off_badges:hover {
    opacity: 0.7;
}

.btn_load_badges:hover {
    opacity: 0.7;
}

#badgesSettings {
    display: flex;
    gap: 7px;
    flex-direction: column;
}

.flex_badges_block {
    display: flex;
    gap: 15px;
}

#badgesSettings p {
    border-radius: 14px;
    background: #4a4a4a33;
    display: flex;
    margin-bottom: 0px;
    margin-right: 15px;
    width: 100%;
    font-weight: 700;
    color: #7b7b7b;
    font-size: 11px;
    border: dashed 1px #4c4c4c;
    padding: 40px;
    align-items: center;
    justify-content: center;
}

.left_badges {
    padding: 13px;
    overflow: hidden;
    background: linear-gradient(0deg, #323232 30%, #393939 100%);
    position: relative;
    width: 100%;
    border-radius: 15px;
}

.right_badges {
    width: 100%;
}

.double_flex_sortion {
    display: flex;
    gap: 20px;
    flex-direction: column !important;
    !ÃƒÆ’Ã¢â‚¬ËœÃƒâ€¹Ã¢â‚¬Â;
    !ÃƒÆ’Ã¢â‚¬ËœÃƒâ€¹Ã¢â‚¬Â ÃƒÆ’Ã¢â‚¬ËœÃƒâ€¦Ã¢â‚¬â„¢;
    !ÃƒÆ’Ã¢â‚¬ËœÃƒâ€¹Ã¢â‚¬Â;
}

.left_sotion {
    margin-bottom: 20px !important;
}

.flex_auction_done {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
    gap: 8px;
    color: #ffa55a;
    font-size: 14px;
}

.delparticipate {
    transition: 0.2s;
    display: flex;
    background: linear-gradient(23deg, #ad3131 0%, #e74a4a 55%);
    padding: 0 25px;
    border-radius: 50px;
    font-size: 11.5px !important;
    color: #fff;
    height: 40px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
}

.delparticipate:hover {
    opacity: 0.7;
}

.setparticipate {
    transition: 0.2s;
    display: flex;
    background: linear-gradient(23deg, #865023 0%, #da9256 55%);
    padding: 0 25px;
    border-radius: 50px;
    font-size: 11.5px !important;
    color: #fff;
    height: 40px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
}

.setparticipate:hover {
    opacity: 0.7;
}

.auctions #prizes .prize {
    display: flex;
    position: relative;
    margin-bottom: -5px;
    line-height: 16px;
    padding: 20px 22px;
    border-radius: 13px;
    margin-top: -25px;
    background: linear-gradient(354deg, #393939b8 30%, #424242 100%) !important;
    flex-direction: column;
}

.auctions #prizes .prize span {
    font-size: 15px;
    width: 100%;
    display: inline-block;
    color: #ffff;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 17px;
    font-weight: 600;
}

.auction #prizes .prize {
    display: block;
    position: relative;
    margin-bottom: 10px;
    line-height: 0px;
    padding: 20px 22px;
    border-radius: 13px;
    margin-top: -25px;
    background: linear-gradient(354deg, #393939b8 30%, #424242 100%) !important;
}

#prizes h3 minibam {
    font-size: 11px;
    margin-top: 13px;
    background: linear-gradient(23deg, #865023 0%, #da9256 55%);
    z-index: 11;
    display: flex;
    position: relative;
    font-family: 'Montserrat';
    color: #fff;
    text-shadow: #00000052 1px 0 7px;
    padding: 11px 20px;
    box-shadow: 0px 0px 20px #da92562e;
    border-radius: 9px;
    margin-left: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    width: fit-content;
    text-align: center;
}

#mini_badges {
    font-weight: 600;
    font-size: 11px;
    display: flex;
    gap: 4px;
    height: 24px;
    margin-right: 3px;
    border-radius: 50px;
    align-items: center;
}

#mini_badges img {
    width: 16px;
    height: 16px !important;
}

.block_solution_ach {
    padding: 20px;
    border-radius: 20px;
    background: var(--block-solution-bg);
    margin-bottom: 20px;
    box-shadow: 0px 5px 10px #13151a4f;
}

.flex_achiev_text {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    line-height: 17px;
}

.name_achiev {
    color: #fff;
    font-size: 12px;
}

.success .description_achiev {
    font-size: 10.5px;
    color: #ffba81;
    width: 210px;
    line-height: 14px;
    margin-top: 2px;
}

.achiev {
    display: flex;
    position: relative;
    padding: 15px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 8px;
    height: 68px;
    border-radius: 12px;
    background: var(--achiev-bg);
    justify-content: space-between;
    align-items: center;
}

.absolute_number_achiev {
    position: absolute;
    font-size: 80px;
    right: 10px;
    height: 100%;
    top: 15px;
    background: linear-gradient(359deg, #65656514 0%, #6565655e 55%);
    font-weight: 600;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    line-height: 62px;
}



.collect_achiev {
    position: relative;
    z-index: 1;
    background: #7b7b7b4f;
    backdrop-filter: blur(7px);
    min-height: 30px;
    font-size: 10.5px;
    border: dashed 1px #777777;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    padding: 0px 13px;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.success .collect_achiev {
    color: #ffb476;
    background: #ffb15f2e;
    border: dashed 1px #ffaf6cad;
}

.success .absolute_number_achiev {
    position: absolute;
    font-size: 80px;
    right: 10px;
    height: 100%;
    top: 15px;
    background: linear-gradient(359deg, #da925608 0%, #da92565e 55%);
    font-weight: 600;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: sans-serif;
    line-height: 62px;
}

.left_achiev {
    display: flex;
    gap: 10px;
    align-items: center;
}

.achiev_img {
    width: 40px;
    height: 40px;
}

.achiev {
    display: flex;
    position: relative;
    padding: 15px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 8px;
    background: linear-gradient(16deg, #434343 30%, #4d4d4d 100%);
    height: 68px;
    border-radius: 12px;
    justify-content: space-between;
    align-items: center;
}

.description_achiev {
    font-size: 10.5px;
    color: #878787;
    width: 210px;
    line-height: 14px;
    margin-top: 2px;
}

.flex_ach_all {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-direction: row;
    /* Default desktop layout */
}

@media (max-width: 991px) {
    .flex_ach_all {
        flex-direction: column !important;
    }

    .achivments_block {
        width: 100% !important;
    }

    .dg-mobile-hide {
        display: none !important;
    }

    .block_ach_server1 {
        width: 100% !important;
    }
}

/* 
 SOLUTION G 1.2.1 Alternative
 
*/

/* -----------------------------
   Гостевой хедер: Вход / Регистрация
   ----------------------------- */

/* Контейнер кнопок авторизации — как в solution2 */
.auth_buttons {
    float: right;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    position: relative;
    top: 12px;
}

/* Общий стиль кнопок */
.auth_buttons .reg_button {
    height: 40px;
    padding: 0 25px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    white-space: nowrap;
    background: linear-gradient(360deg, #da9256ad 0%, #da925663 55%);
    color: #fff;
}

.auth_buttons .reg_button:hover {
    /*box-shadow: 0 5px 20px #da925640;*/
    color: #fff;
    transform: translateY(-1px);
}

.auth_buttons .reg_button:focus {
    outline: none;
    box-shadow: 0 5px 20px #da925640;
}

.auth_buttons .reg_button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px #da925630;
}

.auth_buttons .reg_button .icon_buy i {
    font-size: 18px;
    position: relative;
    top: 1px;
}



.auth_buttons .reg_button_outline:hover {
    box-shadow: 0 5px 20px #2e2e3940;
}

/* Фикс высоты меню: скрываем «нет пользователей» в компактном блоке онлайна */
.user_online_block .empty-element {
    display: none;
}

/* Мобильная адаптация */
@media (max-width: 991.99px) {

    /* Скрываем логотип только в гостевом хедере на мобильном */
    .guest-header .logol {
        display: none !important;
    }

    /* Кнопки авторизации по центру, с отступом сверху */
    .auth_buttons {
        float: none;
        justify-content: center;
        margin: 20px auto 0;
        top: 0;
    }

    .auth_buttons .reg_button {
        height: 36px;
        padding: 0 16px;
        font-size: 11px;
    }

    /* Скрываем блок «Онлайн пользователи» и «Достижения» на мобильном */
    /*.flex_online_users,
    .block_solution_ach {
        display: none !important;
    }*/
}