/* Badge positioning fix - only move verified badge down when there's a featured badge in top right */
.onlyfinder-verified.has-featured {
    z-index: 15;
    top: 50px;
}

/* Override: When promoted badge is present, keep verified badge at normal position */
.onlyfinder-sponsored + .onlyfinder-verified {
    top: 12px !important;
}

/* More specific override for verified badges with has-featured class when promoted badge is present */
.onlyfinder-sponsored + .onlyfinder-verified.has-featured {
    top: 12px !important;
}

/* Even more specific override to ensure promoted profiles have correct verified badge positioning */
.onlyfinder-image .onlyfinder-sponsored + .onlyfinder-verified.has-featured {
    top: 12px !important;
}

/* Featured Badge - Top right, gold gradient - consistent with verified style */
.onlyfinder-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 12;
}

/* Sponsored Badge - Top left, OnlyFans blue gradient - consistent with verified style */
.onlyfinder-sponsored {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #00AFF0, #0088CC) !important;
    color: white !important;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 11;
    box-shadow: 0 2px 8px rgba(0, 175, 240, 0.3) !important;
}

/* Force override any cached or conflicting styles */
div.onlyfinder-sponsored,
.onlyfinder-image .onlyfinder-sponsored,
.sponsored-card .onlyfinder-sponsored {
    background: linear-gradient(135deg, #00AFF0, #0088CC) !important;
    box-shadow: 0 2px 8px rgba(0, 175, 240, 0.3) !important;
}

/* Ad Card Styling */
.sponsored-card {
    opacity: 0.95;
    transition: all 0.3s ease;
}

.sponsored-card:hover {
    transform: translateY(-5px);
    opacity: 1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Ad Badge in name */
.ad-badge {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

/* Partner Badges */
.partner-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 10;
    color: white;
}

.partner-badge.ct-ad {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.partner-badge.to-ad {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

/* Creative Traffic Ad Card */
.sponsored-card.ct-ad {
    /* Border styling removed to clean up ad appearance */
}

/* Traffic Only Ad Card */
.sponsored-card.to-ad {
    /* Border styling removed to clean up ad appearance */
}
