/* ── Site Messaging: category / status badges ────────────────────────────── */

.site-msg-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.site-msg-badge--feature {
    background: #e8dcc8;
    color: #5d4e37;
}

.site-msg-badge--policy {
    background: #fff3cd;
    color: #856404;
}

.site-msg-badge--outage {
    background: #f8d7da;
    color: #721c24;
}

.site-msg-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.site-msg-status--draft {
    background: #f5f1eb;
    color: #7a6f5e;
}

.site-msg-status--scheduled {
    background: #fff3cd;
    color: #856404;
}

.site-msg-status--sent {
    background: #d4edda;
    color: #155724;
}

.site-msg-status--dispatching {
    background: #fff3cd;
    color: #856404;
}

.site-msg-hidden-textarea {
    display: none;
}

/* ── Recipient-facing announcement page ──────────────────────────────────── */

.announcement-detail-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

.announcement-detail-card {
    background: #faf6f0;
    border: 1px solid #e8dcc8;
    border-radius: 8px;
    padding: 28px;
}

.announcement-detail-title {
    color: #5d4e37;
    margin: 12px 0 4px;
}

.announcement-detail-meta {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0 0 20px;
}

.announcement-detail-body {
    color: #333;
    line-height: 1.6;
}

/* ── Notification bell (navmenu) ─────────────────────────────────────────── */

.notif-bell-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.notif-bell-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-base-100);
    padding: 6px;
    transition: background-color 0.3s;
}

.notif-bell-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.notif-bell-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    padding: 0 3px;
}

.notif-bell-dropdown {
    display: none;
    position: fixed;
    width: 320px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e8dcc8;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.notif-bell-dropdown.open {
    display: block;
}

.notif-bell-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #e8dcc8;
    font-weight: 600;
    color: #5d4e37;
    background: #f5f1eb;
    border-radius: 8px 8px 0 0;
}

.notif-bell-markall-form {
    margin: 0;
}

.notif-bell-markall-btn {
    background: none;
    border: none;
    color: #8b7355;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0;
}

.notif-bell-markall-btn:hover {
    color: #5d4e37;
    text-decoration: underline;
}

.notif-bell-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notif-bell-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-bottom: 1px solid #f5f1eb;
    text-decoration: none;
    color: #333;
}

.notif-bell-item:hover {
    background: #f5f1eb;
}

.notif-bell-item-message {
    font-size: 0.85rem;
    color: #333;
}

.notif-bell-item-date {
    font-size: 0.72rem;
    color: #6c757d;
}

.notif-bell-empty {
    padding: 20px 14px;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
}

/* ── Unsubscribe confirmation / expired-link page ────────────────────────── */

.feedback-expired-container {
    max-width: 520px;
    margin: 60px auto;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(93, 78, 55, 0.1);
    padding: 48px 32px;
}

.feedback-expired-container h1 {
    color: #5d4e37;
    margin-bottom: 16px;
}

.feedback-expired-container p {
    color: #7a6f5e;
    font-size: 16px;
    margin-bottom: 24px;
}
