/* Toast */
.caaps-jfb-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    z-index: 99999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    max-width: 360px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.caaps-jfb-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Popup overlay */
.caaps-jfb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.caaps-jfb-overlay.is-visible {
    opacity: 1;
}

/* Popup box */
.caaps-jfb-popup {
    padding: 2rem 2.5rem;
    border-radius: 12px;
    font-size: 1rem;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: translateY(16px);
    transition: transform 0.3s ease;
    line-height: 1.6;
}

.caaps-jfb-overlay.is-visible .caaps-jfb-popup {
    transform: translateY(0);
}

.caaps-jfb-popup p {
    margin: 0 0 1.25rem;
}

.caaps-jfb-popup__close {
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 6px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.caaps-jfb-popup__close:hover {
    opacity: 1;
}
