/* ===== Cabinet notifications =====
 * Список карточек уведомлений в ЛК (вкладка «Уведомления»).
 * Карточка по макету local-situational-files/ЛК/Уведомления.png:
 *   - автор (крупно слева) + тег-капсула справа
 *   - заголовок + текст
 *   - inline-превью прикреплённых файлов (картинка-миниатюра / иконка-документ)
 *   - дата/время + кнопка «Перейти»
 */

.cabinet-notifications {
    display: flex;
    flex-direction: column;
}

.cabinet-notifications__loading {
    padding: 32px;
    text-align: center;
    color: #6b6b6b;
}

.cabinet-notifications__list {
    display: flex;
    flex-direction: column;
}

.notif-card {
    padding: 24px 0;
    border-top: 1px solid #21212D1A;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--darkBlue);

}

.notif-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    @media (width < 600px) {
        flex-direction: column;
    }
}

.notif-card__author {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    line-height: 130%;
}

.notif-card__tag {
    flex: 0 0 auto;
    padding: 4px 16px;
    border-radius: 999px;
    background: #ece9e3;
    color: #4a4742;
    font-size: 12px;
    letter-spacing: 5%;
    text-transform: uppercase;
    white-space: nowrap;
}

.notif-card__title {
    font-size: clamp(16px, 1.5vw, 18px);
}

.notif-card__body {
    margin: 0;
    color: #4a4742;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-line;
}

.notif-card__files {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}

.notif-card__file {
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.12s ease;
}

.notif-card__file:hover {
    transform: translateY(-1px);
}

.notif-card__file-img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    background: #f0eee9;
    border-radius: 8px;
    border: 1px solid #ece9e3;
}

.notif-card__file-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #dcdad6;
    border-radius: 8px;
    color: #2b2925;
    font-size: 13px;
}

.notif-card__file-doc svg {
    color: #6b6b6b;
    flex-shrink: 0;
}

.notif-card__file-name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notif-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.notif-card__time {
    color: #21212D80;
    font-size: 18px;
}

.notif-card__action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 24px;
    transition: 0.3s;

    @media (width < 600px) {
        margin: 0 auto;
    }
}

.notif-card__action:hover {
    color: #5878a6;
}

.notif-card__inline-actions {
    display: flex;
    gap: 8px;
    margin: 8px 0 4px;
    flex-wrap: wrap;
}

.notif-card__inline-btn {
    border: 1px solid #769AC9;
    background: transparent;
    color: #5A7FAF;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.notif-card__inline-btn--accept {
    background: #769AC9;
    color: #fff;
    border-color: #769AC9;
}

.notif-card__inline-btn--decline {
    border-color: #c75454;
    color: #c75454;
}

.notif-card__inline-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* === Admin moderation modal: attachments dropzone === */

.admin-ms-mod__attach {
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed #c4c1bb;
    border-radius: 10px;
    background: #fff;
}

.admin-ms-mod__attach-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b6b6b;
    margin-bottom: 8px;
}

.admin-ms-mod__attach-input {
    display: none;
}

.admin-ms-mod__attach-btn {
    padding: 8px 14px;
    background: #fff;
    color: #2b2925;
    border: 1px solid #2b2925;
    border-radius: 8px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.admin-ms-mod__attach-btn:hover {
    background: #f7f6f1;
}

.admin-ms-mod__attach-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-ms-mod__attach-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    background: #fafaf8;
    border-radius: 6px;
    font-size: 13px;
    color: #2b2925;
}

.admin-ms-mod__attach-remove {
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    color: #b1aea7;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
}

.admin-ms-mod__attach-remove:hover {
    color: #c75454;
    background: rgba(199, 84, 84, 0.08);
}
