:root {
    --brand-5: #ecf4ff;
    --brand-10: #d7e7fc;
    --brand-50: #0161da;
    --brand-60: #0055c2;
    --brand-70: #004cac;
    --grey-10: #f2f3f7;
    --grey-15: #e6e8ef;
    --grey-40: #cacdd7;
    --grey-50: #a7acbb;
    --grey-60: #6f7383;
    --grey-70: #171921;
    --background-lvl-1: #fff;
    --background-lvl-2: #f7f8fa;
    --background-lvl-3: #f3f4f8;
    --background-lvl-4: #eef0f5;
    --background-lvl-5: #e6e8ef;
    --background-main: #f3f4f8;
    --background-container: #fff;
    --background-tab: #171921;
    --background-tab-2: #282c35;
    --accent-red-5: #ffebed;
    --accent-red-10: #ffd3d8;
    --accent-red-50: #fd213a;
    --accent-red-60: #e41e34;
    --accent-red-70: #d71a2f;
    --accent-green-5: #e6f7eb;
    --accent-green-50: #26b94c;
    --accent-purple-5: #faedfa;
    --accent-purple-10: #f5dbf5;
    --accent-purple-50: #cd4dcc;
    --accent-purple-70: #ae39ad;
    --accent-amber-5: #fef7e5;
    --accent-amber-50: #f2b100;
    --accent-amber-70: #cb9400;
    --accent-orange-5: #ffe1cc;
    --accent-orange-50: #ff6b00;
    --accent-orange-70: #cf5700;
    --accent-blue-5: #e2f7ff;
    --accent-blue-10: #c5effe;
    --accent-blue-50: #00a9e0;
    --accent-blue-70: #0485af;
    --collapsed-modal-height: 0px;
    --catfish-height: 0px;
    --cookies-info-height: 0px;
    --start-panel-height: 0px;
    --match-bet-button-height: 0px;
    --scroll-to-top-button-height: 0px;
    --notification-panel-height: 0px;
    --scroll-button-size: 40px;
    --scroll-button-desktop-size: 48px;
    --match-bet-button-size: 40px;
    --fixed-panels-height: calc(var(--catfish-height) + var(--collapsed-modal-height) + var(--cookies-info-height) + var(--start-panel-height));
    --dropdown-color: #171921;
    --dropdown-background-color: #fff;
    --dropdown-border: 1px solid #f2f3f7;
    --dropdown-border-radius: 8px;
    --dropdown-box-shadow: 0 4px 12px rgba(9, 10, 11, .05);
    --dropdown-z-index: 1;
    --header-height: 48px;
    --header-container-z-index: 2;
    --modal-z-index: 12;
    --shadow-1: 0 1px 4px 0 rgb(9 10 11 / 5%);
    --shadow-2: 0 4px 12px 0 rgb(9 10 11 / 5%);
    --shadow-3: 0 8px 24px 0 rgba(9, 10, 11, .12);
    --shadow-4: 20px 9px 40px 0 rgba(9, 10, 11, .18);
    --light-super-shadow-1: 0 0 1px 0 rgba(0, 0, 0, .23), 0 1px 4px 0 rgb(9 10 11 / 5%);
}
body {
    margin: 0;
}
html {
    box-sizing: border-box
}

*,:after,:before {
    box-sizing: inherit
}

:after,:before {
    outline: none!important
}
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}
body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: Inter,arial,helvetica,sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.33;
    color: var(--grey-70);
    background-color: var(--background-lvl-3)
}

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

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

.page {
    padding: 1rem;
    background: var(--bs-white);
    min-height: calc(100vh - 72px);
    border-radius: 16px 16px 0 0;
}

.header-container{
    position: sticky;
    top: 0;
    z-index: var(--header-container-z-index);
    background-color: var(--background-main);
}
.header {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(auto, 1fr) auto;
    height: 64px;
}

/*.modal{*/
/*    color: #2d283e;*/
/*}*/

header .btn-logout{
    border-radius: 0;
    background: #f76d7aa3;
    color: #fff;
    border-color: unset;
}

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

header .btn-lk{
    background: #0000004f;
    border-radius: 50px;
    border: 1px solid #ffffff;
    color: #fff;
}

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

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

header .nav-link:hover{
    color: #fff;
}



.admin-btn {
    position: fixed;
    top: 15px;
    right: 0px;
    display: inline-block;
    padding: 10px 14px;
    background: #d9534f;
    color: #fff;
    text-decoration: none;
    border-radius: 50% 0 0 50%;
    transition: background 0.2s;
}

.admin-btn:hover {
  background: #c9302c;
}

.logo {
    font-size: 16px;
    font-weight: 500;
}

.content {
    display: grid;
        grid-template-columns: minmax(776px, 792px) minmax(296px, 370px);
        justify-content: center;
        grid-template-areas: "main sidebar" "footer footer";
}
.grid-main {
    grid-area: main;
}
.grid-footer {
    grid-area: footer;
}
.sidebar-hidden .content {
    grid-template-areas:"main main"  "footer footer";
}



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



.top-servers{
    
}


.top-servers .title h3{
    font-size: 1.6em;
    padding: 0.3em 0;
}



.top-servers .top-servers-wrapper .top-servers-info .hostname a{
    padding: 3px 6px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    width: 90%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-servers .top-servers-wrapper .top-servers-info .hostname a{
    color: #fff;
}

.top-servers .top-servers-wrapper .top-servers-info{
    background: #4a71fd;
    width: 100%;
}

.top-servers .top-servers-wrapper .top-servers-info .image-map{
    position: relative;
}

.top-servers .top-servers-wrapper .top-servers-info .image-map img{
    width: 100%;
    height: 110px;
}




.top-servers .top-servers-wrapper .top-servers-info .info .players{
    color: #fff;
    padding: 3px 6px;
    background: #070809;
    font-weight: bold;
}

.top-servers .top-servers-wrapper .top-servers-info .info .address{
    color: #fff;
    padding: 4px 6px;
    font-weight: bold;
    border-top: 1px solid #202429;
    display: block;
    font-size: 13px;
}


.top-servers .top-servers-wrapper .top-servers-info .image-map .name-map{
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff52;
    padding: 2px 4px;
    font-size: 12px;
}

.top-welcome-text {
    padding: 1rem;
    background: #fffaf6;
    border-radius: 8px;
    margin-top: 1rem;
}

.top-welcome-text h1{
    font-size: 24px;
}

.top-welcome-text .btn.add-server{
    background: #4a71fd;
    color: #fff;
    border-radius: 0;
}

.top-welcome-text .btn.add-server:hover{
    opacity: 0.7;
}


.servers-list {
    padding: 1rem;
    background: #fff;
    margin-bottom: 1rem;
}

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

.table-dark thead{
    background: #251e3a
}

.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 .address, .players{
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
}

.table-dark .vote{
    background: #1b1729;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
}

.hostname {
    color: var(--bs-gray-dark);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

.servers-list table .hostname:hover{
    opacity: 0.7;
}

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

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

.footer {
    background-color: var(--background-container);
    border-top: 1px solid var(--grey-10);
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.main {
    min-height: 100vh;
}
.wrapper {
    position: relative;
    max-width: 1170px;
    margin: 0 auto;
}

select option {
    background: rgb(45 40 62);
    color: #fff;
    text-shadow: 0 1px 0 rgba(45, 40, 62, 0.32);
}

.table-dark{
    background: #2d283e;
    color: #fff;
}


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

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

.server-info .game, .server-info .name, .server-info .address, .server-info .players, .server-info .map, .server-info .created-at {
    background: #ecf4ff;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
}

.server-info .status-online{
    background: rgba(165, 253, 13, 0.81);
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
    color: #000;
}

.server-info .status-offline{
    background: #ff5a5a;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
}

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


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

.games-menu a.active{
    background: #2d283e;
}

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

.comments .comment {
    background-color: #fffaf6;
    padding: 1rem;
    margin-bottom: 0.5em;
    border: 1px solid #e6e8ef;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

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

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


.pay-select .card.active {
    background: rgb(255 255 255 / 12%);
    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;
    transition: transform 0.2s ease-in-out;
    color: white;
    font-weight: bold;
    text-align: center;
}

.pay-select .colors .radio-tile:checked + .radio-tile-label {
    transform: scale(1.1);
    border: 3px 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;
    background-color: #2d283e;
    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;
}

.form-control::placeholder{
    color: #a1a1a1 !important;
}

.modal-preloader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}


.copy-btn {
    margin-left: 5px;
    padding: 2px 5px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #00000030;
    border-radius: 3px;
    background: #251e3a00;
}
.copy-btn:hover {
    background: #f6fcff;
}