/* Стили для модальных окон */
.rules-content {
    background-color: #212025; /* Цвет фона модального окна */
    color: white !important; /* Цвет текста в модальном окне */

}



.modal-title {
    color: white;
    font-family: 'Minecraft';
    top: 10px;
    position: relative;
}

.modal-list {
    background-color: #17161B;
    border-radius: 10px;
    width: 77% !important;
    left: 25px;
    position: relative;
}

.nav-pills .nav-link {
    border-radius: .25rem;
    color: rgba(241, 241, 243, 0.64);
    font-size: 12px;
    font-family: 'Minecraft';
    /* margin-right: 25px; */
    position: relative;
    /* left: -15px; */

}

.modal-header {
    border-bottom: 0 !important;
}

/* Стили для текста внутри модального окна */
.modal-body .spoiler-text {
    color: rgba(241, 241, 243, 0.64); /* Цвет текста правила */
}

.modal-body .spoiler-penalty {
    color: rgba(241, 241, 243, 0.64); /* Цвет текста наказания */
}

.modal-body .spoiler-penalty .penalty {
    color: #FF0000; /* Цвет текста "Наказание" */
}

.modal-footer .btn-secondary {
    background-color: #4282FF; /* Цвет кнопки закрыть */
    border: none;
    color: #ffffff; /* Цвет текста кнопки закрыть */

}
.modal-footer {
    border-top: 0 !important;
}

/* Цвет цифр в начале правила */
.modal-body p.spoiler-text::before {
    content: attr(data-rule-number); /* Задайте цифры через data атрибут */
    color: #F1F1F3; /* Цвет цифр */
    margin-right: 5px;
}

.modal-content {
    background-color: #212025 !important;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 75px;
    border: 2px solid rgba(241, 241, 243, 0.15) !important;
}

.modal-content-rules {
    background-color: #212025 !important;
    color: white;
    position: relative;
    overflow: hidden;

    border: 2px solid rgba(241, 241, 243, 0.15) !important;
}
