/* Стили для модального окна жалоб */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000; /* Выше чем другие элементы */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-title {
    margin-top: 0;
}

.report-reasons label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* --- Dark Theme Styles --- */

.dark-theme #report-modal .modal-content {
    background-color: #2f3136; /* Темно-серый фон, как у других элементов в темной теме */
    color: #dcddde; /* Светло-серый текст для читаемости */
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.dark-theme #report-modal .modal-title {
    color: #fff; /* Белый заголовок */
}

.dark-theme #report-modal .report-reasons label {
    color: #b9bbbe; /* Немного приглушенный текст для вариантов */
    padding: 5px;
    border-radius: 4px;
}

.dark-theme #report-modal .report-reasons label:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Легкая подсветка при наведении */
}

.dark-theme #report-modal #report-other-reason-text {
    background-color: #202225; /* Фон для текстового поля, еще темнее */
    color: #dcddde;
    border: 1px solid #111;
}

.dark-theme #report-modal .form-control::placeholder {
    color: #72767d; /* Цвет плейсхолдера для темной темы */
}

/* --- Aurora Theme Styles --- */

.aurora-theme #report-modal .modal-content {
    background: rgba(20, 20, 30, 0.75); /* Полупрозрачный темно-синий фон */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0; /* Светлый текст для читаемости */
}

.aurora-theme #report-modal .modal-title {
    color: #ffffff;
}

.aurora-theme #report-modal .report-reasons label {
    color: #c9c9d1;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.aurora-theme #report-modal .report-reasons label:hover {
    background: rgba(255, 255, 255, 0.1); /* Легкая подсветка */
}

.aurora-theme #report-modal #report-other-reason-text {
    background-color: rgba(0, 0, 0, 0.3); /* Очень темное текстовое поле */
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.aurora-theme #report-modal #report-other-reason-text::placeholder {
    color: #8a8a9e; /* Приглушенный сиреневатый цвет для плейсхолдера */
}
