/* /Components/Community/Posts/PostActionMenu.razor.rz.scp.css */
/* Post Action Menu - Trigger Button */
.post-action-menu[b-ypejdk2lfd] {
    position: relative;
    display: inline-block;
}

/* Invisible backdrop to capture clicks outside the menu */
.post-action-menu-backdrop[b-ypejdk2lfd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.post-action-menu-trigger[b-ypejdk2lfd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.post-action-menu-trigger:hover[b-ypejdk2lfd],
.post-action-menu-trigger:focus[b-ypejdk2lfd] {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.post-action-menu-trigger:focus[b-ypejdk2lfd] {
    outline: 2px solid var(--community-primary);
    outline-offset: 2px;
}

/* Dropdown Menu */
.post-action-menu-dropdown[b-ypejdk2lfd] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1001;
    min-width: 200px;
    margin-top: 4px;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Menu Items */
.post-action-menu-item[b-ypejdk2lfd] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.post-action-menu-item:hover[b-ypejdk2lfd],
.post-action-menu-item:focus[b-ypejdk2lfd] {
    background-color: rgba(0, 0, 0, 0.04);
}

.post-action-menu-item:focus[b-ypejdk2lfd] {
    outline: none;
    background-color: rgba(0, 0, 0, 0.06);
}

.post-action-menu-item i[b-ypejdk2lfd] {
    width: 16px;
    color: var(--text-secondary);
}
