/**
 * Pretpot Elementor Editor Banner Styles
 */

.pretpot-editor-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pretpot-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.pretpot-banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.pretpot-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.pretpot-banner-text {
    line-height: 1.4;
}

.pretpot-banner-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #fff;
    color: #4f46e5 !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.pretpot-banner-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #4f46e5 !important;
    background: #f8fafc;
}

.pretpot-banner-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s ease;
    padding: 0;
}

.pretpot-banner-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.pretpot-banner-close svg {
    width: 14px;
    height: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .pretpot-banner-inner {
        flex-wrap: wrap;
        gap: 12px;
        text-align: center;
    }
    
    .pretpot-banner-content {
        flex: 1 1 100%;
        justify-content: center;
    }
    
    .pretpot-banner-close {
        position: static;
        transform: none;
    }
    
    .pretpot-banner-close:hover {
        transform: scale(1.05);
    }
}

/* Hide when Elementor bottom panel is open (optional) */
.elementor-editor-active .pretpot-editor-banner {
    /* Adjust if needed based on Elementor's bottom panel */
}