/* ==========================================
   HIDE FUNCTIONALITY STYLES
   ========================================== */

/* ── Hidden post placeholder ── */
.post-hidden-placeholder {
    padding: 24px 16px;
}

.post-hidden-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    text-align: center;
}

.post-hidden-inner i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.25);
}

.post-hidden-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.undo-hide-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.undo-hide-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ── Bottom undo bar ── */
.undo-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);  /* starts off-screen */
    background: #2a2a3d;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 99998;
    white-space: nowrap;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.undo-bar--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.undo-bar-btn {
    background: #667eea;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.undo-bar-btn:hover {
    background: #5568d3;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .undo-bar {
        width: calc(100% - 32px);
        bottom: 16px;
        justify-content: space-between;
    }
}
