.zanb-popup {
    position: fixed;
    width: 340px;
    padding: 0;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Bouncy transition */
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    overflow: hidden;
}

.zanb-popup.visible {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Positions */
.zanb-popup.bottom-left {
    bottom: 20px;
    left: 20px;
}

.zanb-popup.bottom-right {
    bottom: 20px;
    right: 20px;
}

.zanb-popup.top-left {
    top: 20px;
    left: 20px;
}

.zanb-popup.top-right {
    top: 20px;
    right: 20px;
}

.zanb-popup-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    position: relative;
}

.zanb-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.zanb-text {
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.zanb-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.zanb-name {
    font-weight: 700;
    font-size: 14px;
}

.zanb-verified {
    font-size: 10px;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.zanb-verified .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

.zanb-location {
    color: #666;
    font-size: 12px;
    margin-bottom: 4px;
}

.zanb-action {
    margin-bottom: 4px;
}

.zanb-product {
    font-weight: 600;
    color: #0073aa;
}

.zanb-time {
    font-size: 11px;
    color: #999;
}

.zanb-close {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.4;
    line-height: 1;
    z-index: 10;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.zanb-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

/* Template: Glassmorphism (Default) */
.zanb-template-glassmorphism {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Template: Minimal Light */
.zanb-template-minimal-light {
    background: #ffffff !important;
    /* Force white */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    color: #333 !important;
}

.zanb-template-minimal-light .zanb-progress-bar {
    background: #333;
}

/* Template: Modern Dark */
.zanb-template-modern-dark {
    background: #1a1a1a !important;
    /* Force dark */
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
}

.zanb-template-modern-dark .zanb-text {
    color: #ddd;
}

.zanb-template-modern-dark .zanb-name {
    color: #fff;
}

.zanb-template-modern-dark .zanb-location {
    color: #aaa;
}

.zanb-template-modern-dark .zanb-progress-bar {
    background: #00d2ff;
    /* Neon blue */
}

/* Progress Bar */
.zanb-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #0073aa;
    /* Will be overridden by JS/Settings */
    width: 0%;
    transition: width linear;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .zanb-popup {
        width: 90%;
        left: 5% !important;
        right: 5% !important;
        bottom: 10px !important;
    }

    .zanb-popup.top-left,
    .zanb-popup.top-right {
        top: 10px !important;
        bottom: auto !important;
    }
}