/* Заголовок уведомлений */
.notification .notification-header {
    font-size: 1rem; /* Уменьшаем размер шрифта */
    font-weight: 400; /* Легкий вес шрифта для тонкости */
    color: #333; /* Темный цвет для контраста */
    margin-bottom: 8px; /* Небольшой отступ снизу */
}

/* Оставшиеся стили уведомлений */
.notification {
    padding: 16px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #f1f1f1; /* Очень легкая граница для разделения */
}

.notification:hover {
    transform: translateY(-2px); /* Легкий сдвиг вверх */
    background-color: #f7f7f7;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); /* Легкая тень при наведении */
}

.notification.unread {
    font-weight: 400;
}

.notification.read {
    font-weight: normal;
}

.notification .status {
    font-size: 0.9em;
    color: #9e9e9e;
    float: right;
    font-weight: 400;
    text-transform: uppercase;
}

.notification p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 230px;
    color: #333;
    font-size: 1rem;
}

.modal-content{
    padding: 24px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    border: none;
}

.modal-body p {
    font-size: 1rem;
    color: #333;
    word-wrap: break-word;
    line-height: 1.5;
}

.btn-close {
    border: none;
    background-color: transparent;
    font-size: 1.5rem;
    color: #9e9e9e;
    transition: color 0.3s ease;
}

.btn-close:hover {
    color: #ff5c5c;
}

.notification {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.message_filters .form-check-label {
    font-size: 1rem;
    color: #007aff;
    font-weight: 500;
}

input.form-check-input {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

input.form-check-input:checked {
    background-color: #007aff;
    transform: scale(1.1);
}

.notifications-container::-webkit-scrollbar {
    width: 6px;
}

.notifications-container::-webkit-scrollbar-thumb {
    background-color: #f1f1f1;
    border-radius: 3px;
}

.notifications-container::-webkit-scrollbar-track {
    background-color: transparent;
}
