/* =============================================
   White Africa Public Plugin Styles
   ============================================= */

/* Listing Badges */
.wa-listing-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wa-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.wa-badge-verified {
    background: #e8f5e9;
    color: #2e7d32;
}

.wa-badge-urgent {
    background: #ffebee;
    color: #c62828;
}

.wa-badge-price-drop {
    background: #e3f2fd;
    color: #1565c0;
}

.wa-badge-top-rated {
    background: #fff3e0;
    color: #e65100;
}

/* Listing Meta Table */
.wa-listing-meta {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.wa-listing-meta h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #1a1a2e;
    border-bottom: 2px solid #c9a227;
    padding-bottom: 8px;
    display: inline-block;
}

.wa-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wa-meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.wa-meta-list li:last-child {
    border-bottom: none;
}

.wa-label {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 13px;
}

.wa-value {
    color: #444;
    font-size: 13px;
}

.wa-badge-green {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.wa-contact-whatsapp {
    color: #25d366;
    font-weight: 600;
}

.wa-contact-call {
    color: #e94560;
    font-weight: 600;
}

.wa-contact-chat {
    color: #c9a227;
    font-weight: 600;
}

.wa-contact-email {
    color: #1a1a2e;
    font-weight: 600;
}

/* WhatsApp Share Button */
.wa-whatsapp-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wa-whatsapp-share:hover {
    background: #128c7e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-whatsapp-share i {
    font-size: 18px;
}

/* Favorite Button */
.wa-favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.wa-favorite-btn:hover,
.wa-favorite-btn.active {
    color: #e94560;
    border-color: #e94560;
}

.wa-favorite-btn.active {
    background: #ffebee;
}

/* Listing View Count */
.wa-view-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.wa-view-count i {
    font-size: 12px;
    color: #999;
}

/* Currency formatting */
.wa-price {
    font-weight: 700;
    color: #e94560;
}

.wa-price-negotiable {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

/* Seller verification badge */
.wa-verified-seller {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 600;
}

.wa-verified-seller::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #2e7d32;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .wa-listing-badges {
        top: 5px;
        left: 5px;
    }
    
    .wa-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .wa-whatsapp-share {
        padding: 8px 16px;
        font-size: 13px;
    }
}
