.cl_popover-trigger-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: white;
    pointer-events: none;
    height: 10px;
}

.cl_popover-arrow-up {
    top: -12px;
}

.cl_popover-arrow-down {
    bottom: -10px;
}


.cl_popover-action-popover {
    position: absolute;
    border: 1px solid #cccccc63;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s ease, max-height 0.3s ease;
    background: #30303078;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.cl_popover-action-popover.show {
    opacity: 1;
}


.cl_popover-action-btn,
.cl_popover-confirm-actions button {
    display: flex;
    align-items: center;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    font-size: 17px;
    white-space: nowrap;
    min-width: 200px;
    justify-content: center;
}

.cl_popover-action-btn:hover {
    filter: opacity(0.9);
}

.cl_popover-action-popover-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1001;
}

.cl_popover-action-popover {
    position: absolute;
    z-index: 1003;
    /* must be above overlay */
}

.cl_popover-content-wrapper {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cl_popover-confirm-wrapper {
    animation: slideIn 0.3s forwards;
}

.cl_popover-confirm-wrapper.slide-out {
    animation: slideOut 0.3s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.cl_popover-confirm-actions {
    display: flex;
    gap: 10px;
}

.cl_popover-confirm-title {
    font-size: 14px;
    margin-bottom: 10px;
}

.cl_popover-confirm-actions button {
    min-width: 95px;
}

.cl_popover-confirm-actions button:hover {
    filter: opacity(0.9);
}
.cl_popover-confirm-no {
    background-color: #ed4e4e;
}

.cl_popover-confirm-yes {
    background-color: #4cd964;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cl_popover-slide-in-left {
  animation: slideInLeft 0.25s ease forwards;
}
