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

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-size: cover;
    opacity: 0.9;
    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: #fff;
}

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

.page{
    flex: 1 0 auto;
    padding: 1em;
    background: #00000052;
}


header{
    background: #2d283e;
    margin-bottom: 40px;
}

/*.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: #fff;
}

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

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


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



.top-servers{
    padding: 0.3em;
    background: #00000052;
}


.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: #00000052;
    padding: 2px 4px;
    font-size: 12px;
}

.top-welcome-text{
    padding: 0.3em;
    background: #00000052;
}

.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: 0.3em;
    background: #00000052;
}

.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{
    background: #1b1729;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
}

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

.servers-list table .hostname{
    color: #ffc107;
    font-weight: bold;
    text-decoration: none;
}

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

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

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

.footer {
    border-top: 2px solid #1b1729;
    background: #2d283e;
    flex: 0 0 auto;
}

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

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: #0d6efd;
    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: #2d283e;
    text-decoration: none;
    border: 1px solid #00000052;
}

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

.comments .comment{
    background-color: #2d283e;
    padding: 0.5em;
    margin-bottom: 0.5em;
    border: 1px solid #00000075;
}

.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;
}