/* Essential Addons for Voxel - User Bar Remove Notification Styles */

.ts-notification-remove {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

/* Ensure parent item has relative positioning and space */
.ts-notification-list li>a {
    position: relative;
    padding-right: 50px !important;
}

/* Show button on hover or when on touch devices */
.ts-notification-list li>a:hover .ts-notification-remove,
.ts-notification-list li>a:active .ts-notification-remove {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .ts-notification-remove {
        opacity: 1;
        visibility: visible;
    }
}

.ts-notification-remove .remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    color: var(--ts-shade-4, #9ca3af);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ts-notification-remove .remove-btn:hover {
    background: #fef2f2;
    border-color: #fee2e2;
    transform: scale(1.05);
}

.ts-notification-remove .remove-btn svg,
.ts-notification-remove .remove-btn i {
    width: 13px;
    height: 13px;
    fill: var(--ts-shade-4, #9ca3af);
    transition: fill 0.2s ease;
}

.ts-notification-remove .remove-btn:hover svg,
.ts-notification-remove .remove-btn:hover i {
    fill: #ef4444;
}

/* Loading state */
.ts-notification-item._loading .ts-notification-remove .remove-btn {
    opacity: 0.5;
    pointer-events: none;
}