.alert-danger2 {
    background: rgba(255, 87, 87, 0.08);
    border: 1px solid rgba(255, 87, 87, 0.2);
    color: #ffa8a8!important;
    padding: 12px 18px 12px 50px;
    border-radius: 10px;
    margin: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.alert-danger2::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b6b'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    background-color: rgba(255, 87, 87, 0.2);
    border-radius: 50%;
}


.alert-success2 {
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.2);
    color: #a8ffb2!important;
    padding: 12px 18px 12px 50px;
    border-radius: 10px;
    margin: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.alert-success2::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234caf50'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1.2 13.6l-3.4-3.4 1.4-1.4 2 2 4.6-4.6 1.4 1.4-6 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    background-color: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
}




.form-control {
    font-size: 16px;
}

.sidebar-menu {
    margin-top: 50px !important;
}


.badge-error {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f44336; /* Красный фон */
    color: white; /* Белый текст */
    border-radius: 5px; /* Скругленные углы */
    font-size: 14px; /* Размер шрифта */
    margin-top: 10px; /* Отступ сверху */
}

.badge-success {
    display: inline-block;
    padding: 10px 15px;
    color: #d4edda;
    background-color: #155724;
    border-radius: 5px;
    font-size: 14px; /* Размер шрифта */
    margin-top: 10px;
}




.stream-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0.6); /* Затемняем картинку */
    /*    max-width: 300px;   Максимальная ширина */
    object-fit: cover !important;
    object-position: center !important;
}

.stream-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Затемнение на картинку */
    z-index: 1;
}

.stream-item a {
    position: relative;
    display: block;
}

.stream-status .live-status {
    color: greenyellow; /* Зеленый цвет для текста "LIVE" */
    font-weight: bold;
}
.stream-title {
    color: #e7ae35!important;
}
.streamers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Расстояние между стримерами */
}

.stream-item {
/*    flex: 1 1 calc(33.33% - 20px); /* Занимает 1/3 ширины контейнера, минус расстояние между элементами */
    box-sizing: border-box;
}

.stream-item2 {
        flex: 1 1 calc(33.33% - 20px); /* Занимает 1/3 ширины контейнера, минус расстояние между элементами */
    box-sizing: border-box;
}

.stream-desc2 {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

@media (max-width: 768px) {
    .stream-item {
        flex: 1 1 calc(50% - 20px); /* На экранах меньше 768px, 2 стримера на строку */
    }
}

@media (max-width: 480px) {
    .stream-item {
        flex: 1 1 100%; /* На экранах меньше 480px, 1 стример на строку */
    }
}




.footer-line {
    margin-top: -18px !important;
    text-align: center;
}


.live-status.offline {
    color: red; /* Красный для оффлайн */
}






.btn-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}



#donate {
    height: 100%;
}




/* #about overlap fix: секция #about имела фиксированную height:100vh,
   из-за чего кнопки "Описание сервера"/"Правила сервера" вылезали
   за низ секции и наезжали на футер. Делаем секцию растягивающейся. */
@media (min-width: 481px) {
    #about {
        height: auto;
        min-height: 100vh;
        padding-bottom: 80px;
    }
}
