body{
    font-size: 14px !important;
    font-family: 'Roboto Reqular', sans-serif !important;
    color: #000;
}

#blurOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
}
#blurOverlay.show {
    display: block;
}


html,
body {
    height: 100%;
}

.background{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: url(/public/default2/img/bg.jpg) no-repeat center center fixed;*/
    background-color: #f1f0ef;
    z-index: -1;
}

/*.overlay {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-color: rgb(0 0 0 / 40%);*/
/*    z-index: -1;*/
/*}*/


.modal .button-close{
    background: unset;
    border: none;
    color: #707070;
}

.modal .button-close:hover{
    opacity: 0.7;
}

.grid-inner{
    display: grid;
    justify-items: center
}

.page{
    flex: 1 0 auto;
    padding: 1em;
    background: #ffffff;
    border: 1px solid #dfdfdf;
}

.page-mini{
    width: 100%;
    background: #fff;
    max-width: 800px;
    border-radius: 3px;
    padding: 2em;
    margin: 0 auto;
}


header{
    background: #fdfdfd;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f0ef;
}

header .btn-auth{
    background: #2c2f33;
    border: none;
    border-radius: 4px;
}

header .btn-logout{
    border-radius: 4px;
    background: #cb2e3da3;
    color: #fff;
}

.modal-content .b-close{
    border-radius: 4px;
    background: #cb2e3da3;
    color: #fff;
}

.modal-content .b-vote-submit{
    border-radius: 4px;
}

header .btn-logout:hover{
    opacity: 0.7;
    color: #fff;
}

header .btn-lk{
    background: #3c434c;
    border-radius: 50px;
    border: 1px solid #323840;
    color: #fff;
}

header .btn-lk:hover{
   opacity: 0.8;
    color: #fff;
}

header .nav-link{
    color: #000;
}

header .nav-link:hover{
    opacity: 0.7;
    color: #000;
}

.main-content{
    flex: 1 0 auto;
}


.content-title{
    font-size: 2.2em;
    border-bottom: 1px solid #efefef;
    margin-bottom: 0.7em;
}




.servers-list .title h3{
    font-size: 1.6em;
    padding: 0.4em 0;
}

.servers-list .card{
    border-radius: 0 !important;
    border: none;
    border-bottom: 1px solid #ececec;
}


.table-dark thead tr th{
    border-bottom: none;
    padding: 0.8em;
}

.table-dark td{
    padding: 0.8em;
}

.table-dark tr{
    border-bottom: #1b1729;
}


.table-dark .fa-thumbs-down{
    color: #f35959;
}

.table-dark  .fa-thumbs-up{
    color: #6ff359;
}


.main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

select option {
    background-color: #f8fafc;
}



.server-info .fa-thumbs-down{
    color: #f35959;
}

.server-info .fa-thumbs-up{
    color: #6ff359;
}



.server-info .map-img{
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-filter: drop-shadow(5px 10px 15px rgba(8, 9, 13, 0.4));
    -webkit-mask: linear-gradient(180deg, rgb(0, 0, 0) 51%, rgba(0, 0, 0, 0) 99%), radial-gradient(81.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 63.6%, rgba(0, 0, 0, 0.98) 84.33%, rgba(0, 0, 0, 0) 79.31%);
    mask: linear-gradient(180deg, rgb(0, 0, 0) 51%, rgba(0, 0, 0, 0) 99%), radial-gradient(81.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 63.6%, rgba(0, 0, 0, 0.98) 84.33%, rgba(0, 0, 0, 0) 79.31%);
    -webkit-mask-composite: source-in;
    mask-composite: source-in;
    background-size: cover;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, .45);
}

.server-info .btn-services{
    background: #4299e1;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
}

.news .card{
    background: #00000047;
    border: 1px solid #ffffff33;
}


.games-menu a{
    color: #fff;
    padding: 0.5em;
    display: inline-block;
    background: #2d283e;
    text-decoration: none;
    border: 1px solid #00000052;
}

.games-menu a:hover{
    opacity: 0.7;
    color: #fff;
}

.comments .comment{
    padding: 0.5em;
    margin-bottom: 0.5em;
    border: 1px solid #b5b5b5;
}

.pay-select .card{
    min-height: 80px;
    background: rgb(255 255 255 / 31%);
    border: 1px solid #b5b5b5;
    cursor: pointer;
    color: #000000;
    cursor: pointer;
}

.pay-select .card .card-title{
    font-size: 14px;
}

.pay-select a{
    color: #fff;
    text-decoration: none;
}


.pay-select .card.active {
    background: rgb(241 240 239);
    border: 1px solid #b5b5b5;
}



.pay-select .colors .radio-tile, .pay-select .top-place .radio-tile {
    display: none;
}

.pay-select .colors .radio-tile-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    border: 1px solid #dfdfdf;
}

.pay-select .colors .radio-tile:checked + .radio-tile-label {
    border: 1px solid #000;
}




.pay-select .top-place .radio-tile-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    color: white;
    font-weight: bold;
    text-align: center;
    border: 1px solid #040404;
}

.pay-select .top-place .radio-tile:checked + .radio-tile-label {
    transform: scale(1.1);
    border: 1px solid #000;
}


.btn-loader {
    position: relative; /* Делаем кнопку контейнером для позиционирования */
    display: inline-flex; /* Используем flex для выравнивания */
    align-items: center; /* Выравниваем элементы по вертикали */
    justify-content: center; /* Выравниваем элементы по горизонтали */
}

.btn-loader .loader {
    display: inline-block;
    width: 11px;
    height: 11px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.user-refill .card{
    color: #000;
}
.user-refill .payment-method-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-refill .payment-method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}


.user-refill #submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.user-refill .invalid-feedback {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1;
}

.game-description{
    background: #e9ecef;
    padding: 1em;
    white-space: pre-line;
}

.servers-list{
    background: #e9ecef;
}



.servers-list .hostname{
    color: #000;
}

.my-servers .hostname{
    color: #000;
}


@media (max-width: 767.98px) {
    .hostname-mobile-truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        max-width: 240px; !important;
        display: inline-block;
        font-size: 14px;
    }
}

@media (max-width: 530.98px) {
    .hostname-mobile-truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        max-width: 170px; !important;
        display: inline-block;
        font-size: 14px;
    }
}






.select-games  .game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.select-games .game-stat {
    display: flex;
    align-items: center;
}

.select-games .game-stat i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.select-games .btn-play {
    width: 100%;
    font-weight: bold;
    border-radius: 0;
    padding: 3px;
    font-size: 0.9rem;
    background: #00000073 !important;
    border: 1px solid rgb(149 149 149 / 18%);
    transition: all 0.3s ease;
}

.select-games  .btn-play:hover {
    background: #00000073 !important;
    transform: translateY(-2px);
}

.select-games .online-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00000073 !important;
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}




.select-games .game-tile {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.09);
}

.select-games .game-bg {
    position: relative;
    width: 100%;
    height: 142px;
    overflow: hidden;
    -webkit-mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(15.77% 50% at 50% 104.95%, rgba(66, 66, 66, 0) 0%, #333333 0%), radial-gradient(30.95% 86.8% at 53.69% 6.2%, rgba(66, 66, 66, 0.6) 0%, #333333 100%), radial-gradient(81.31% 127.89% at 50% 25%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
    /* mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(15.77% 50% at 50% 104.95%, rgba(66, 66, 66, 0) 0%, #333333 0%), radial-gradient(30.95% 86.8% at 53.69% 6.2%, rgba(66, 66, 66, 0.6) 0%, #333333 100%), radial-gradient(81.31% 127.89% at 50% 25%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%); */
    -webkit-mask-composite: source-in;
    mask-composite: source-in;
    background-size: cover;
    background-position-y: -100px;
    border-radius: 3px;
    box-shadow: inset 0px 0px 0px 1.5px var(--glare-color-neutral)



}



.select-games .bg-color-cs{
    background: #21543d;
}

.select-games .bg-color-csgo{
    background: #f48421;
}

.select-games .bg-color-css{
    background: #e68631;
}

.select-games .bg-color-tf2{
    background: #e68631;
}

.select-games .bg-color-ld2{
    background: #e6ce31;
}

.select-games .bg-color-rust{
    background: #d13232;
}

.select-games .bg-color-samp{
    background: #66beff;
}

.select-games .bg-color-mta{
    background: #4296d5;
}

.select-games .bg-color-csgo2{
    background: #b8661e;
}

.select-games .bg-color-arma_3{
    background: #0c0c0c;
}

.select-games .game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 7px;
    color: white;
    z-index: 1;
}

.select-games .game-title {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.select-games  .game-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.9;
}



/* Left Menu */
:root {
    --bs-body-bg: #f1f0ef;
    --sidebar-bg: #ffffff;
    --sidebar-text: #333333;
    --sidebar-hover: #f8f9fa;
    --sidebar-active: #e9ecef;
    --dropdown-bg: #ffffff;
    --dropdown-hover: #f8f9fa;
    --game-button-bg: #ffffff;
    --game-button-border: #dee2e6;
    --transition-speed: 0.3s;
    --section-title-color: #6c757d;
}

/* Sidebar styles */
.guidebar {
    width: 100%;
    height: auto;
}


/* Game selector styles */
.guidebar .select-game-h {
    position: relative;
    margin-bottom: 20px;
}



.guidebar .game-button:hover {
    opacity: 0.8;
}

.guidebar .game-icon-default {
    width: 32px;
    height: 32px;
    margin-right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guidebar .game-icon-default img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.guidebar .game-info .name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guidebar .game-info .caption {
    font-size: 0.8rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown menu styles - теперь позиционируется справа */
.guidebar .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 10px;
    width: 500px;
    max-height: 70vh;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 0;
    overflow: hidden;
    background-color: #fffffff5;
    transform: translateX(10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 1050;
}

.guidebar .dropdown-menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.guidebar .dropdown-content {
    max-height: calc(70vh - 60px);
    overflow-y: auto;
}

.guidebar .game-search-wrapper {
    position: sticky;
    top: 0;
    background-color: var(--dropdown-bg);
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.guidebar .game-search-wrapper i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
}

.guidebar .game-search {
    width: 100%;
    padding: 8px 15px 8px 35px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.guidebar .game-search:focus {
    outline: none;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.guidebar .drgame-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding: 5px 10px;
}

.guidebar .game-item {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.2s;
}

.guidebar .game-item:hover {
    background-color: var(--dropdown-hover);
}

.guidebar .game-item .name {
    margin-left: 3px;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation styles */
.guidebar  .nav-box {
    overflow-y: auto;
}

.guidebar .nav-wrapper {
    padding-top: 5px;
}

.guidebar .nav-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.2s;
}

.guidebar .nav-item i {
    width: 24px;
    text-align: center;
    margin-right: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.guidebar .nav-item:hover {
    background-color: var(--sidebar-hover);
}

.guidebar  .nav-item.active {
    background-color: var(--sidebar-active);
    font-weight: 500;
}

.guidebar  .section-title {
    display: block;
    padding: 10px 15px 5px;
    margin-top: 10px;
    color: var(--section-title-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guidebar .divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
    margin: 10px 0;
    border: none;
}

@media (max-width: 991.98px) {
    .guidebar .dropdown-menu {
        left: 0;
        top: 100%;
        margin-left: 0;
        margin-top: 5px;
        width: 100%;
        transform: translateY(10px);
    }

    .guidebar  .dropdown-menu.show {
        transform: translateY(0);
    }
}

.guidebar .game-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px 8px;
    background: #2c2f33;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    position: relative;
    height: 45px;
}

.guidebar .game-button .game-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.guidebar .game-button .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.guidebar  .game-button .game-text {
    flex-grow: 1;
    padding: 0 10px;
    text-align: left;
    width: 80%;
}

.guidebar .game-button .game-title {
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.guidebar .game-button .game-subtitle {
    font-size: 12px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;

}

.guidebar  .game-button .fa-chevron-down {
    flex-shrink: 0;
    font-size: 12px;
    opacity: 0.7;
}

.servers-list .pagination{}

.pagination .page-item.active .page-link{
    background-color: #2c2f33 !important;
    border-color: #222427 !important;
}

.pagination .page-link{
    color: #171717;
}



/* Colors */
.game-cs-color{
    color: #2c2f33;
}


.game-cs-bg{
    background-color: #21543d !important;
    color: #fff !important;
}

.game-css-bg{
    background-color: #e68631 !important;
    color: #fff !important;
}

.game-csgo-bg{
    background: #f48421 !important;
    color: #fff !important;
}

.game-tf2-bg{
    background: #e68631 !important;
    color: #fff !important;
}

.game-ld2-bg{
    background: #e6ce31 !important;
    color: #fff !important;
}

.game-rust-bg{
    background: #d13232 !important;
    color: #fff !important;
}

.game-samp-bg{
    background: #66beff !important;
    color: #fff !important;
}

.game-mta-bg{
    background: #4296d5 !important;
    color: #fff !important;
}

.game-csgo2-bg{
    background: #b8661e !important;
    color: #fff !important;
}

.game-arma_3-bg{
    background: #0c0c0c !important;
    color: #fff !important;
}





.fixgame-bg .bg-img {
    -webkit-filter: var(--filter-game-bg, saturate(0.4) opacity(0.7) blur(8px));
    filter: var(--filter-game-bg, saturate(0.4) opacity(0.7) blur(8px));
    position: absolute;
    top: 0;
    width: 100%;
    max-width: 1900px;
    transform-origin: top;
    -webkit-mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(15.77% 44.22% at 50% 104.95%, rgba(66, 66, 66, 0) 0%, #333333 0%), radial-gradient(30.95% 86.8% at 30.69% 13.2%, rgba(66, 66, 66, 0.33) 0%, #333333 100%), radial-gradient(51.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
    mask: radial-gradient(51.31% 127.89% at 49.99% -21.75%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
    -webkit-mask-composite: source-in;
    mask-composite: source-in;
    z-index: -1;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
}


/* Servers List */
.servers-list .server-card.vip-status::after{
    overflow: hidden;
    content: "ВИП";
    width: 13px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--game-card-bg, #e68631);
    color: var(--game-card-in, #fff);
    border-radius: 0 1px 1px 0;
    writing-mode: vertical-rl;
    font-size: 10px;
    padding: 8px 0px;
    line-height: 14px;
    text-align: center;
    opacity: .9;
}

.servers-list .server-card  {
    transition: all 0.2s ease;
}

.servers-list .server-card:hover{
    opacity: 0.7;
}


.servers-list .server-card .hostname:hover {
    color: var(--bs-primary) !important;
}

@media (max-width: 768px) {
    .servers-list .server-card  .card-body {
        padding: 0.75rem !important;
    }

    .me-3 {
        margin-right: 0.5rem !important;
    }
}


.server-info .form-group {
    position: relative;
}

.server-info #charCounter {
    position: absolute;
    right: 5px;
    top: 5px;
    background: white;
    padding: 0 5px;
    border-radius: 3px;
}


/* Select games background position */
.select-games .game-bg-cs {
    background-position-y: -80px;
}

.select-games .game-bg-csgo, .select-games .game-bg-css {
    background-position-y: -50px;
}

.select-games .game-bg-tf2{
    background-position-y: -0px;
}

.select-games .game-bg-ld2{
    background-position-y: -10px;
}

.select-games .game-bg-rust{
    background-position-y: -10px;
}

.select-games .game-bg-samp{
    background-position-y: -65px;
}

.select-games .game-bg-mta{
    background-position-y: -35px;
}

.select-games .game-bg-arma_3{
    background-position-y: -5px;
}



header .logo {
    width: 41px;
    height: 34.5px;
}