/**
 * JC Adsplanner — minimale ad-kaartstyling (§5.6).
 * De kaderstijl zelf (achtergrond, rand, radius, flex, hoogte) komt volledig
 * uit Jobsters eigen klassen; hier staat uitsluitend wat Adsplanner toevoegt.
 */

.jcads-card {
    overflow: hidden;
    min-height: 0; /* R9: unfilled AdSense mag inklappen zonder witruimtebug */
    position: relative;
}
.jcads-card ins.adsbygoogle {
    width: 100%;
}
.jcads-label {
    font-size: 11px;
    letter-spacing: .5px;
    text-transform: uppercase;
    opacity: .55;
    margin-bottom: 8px;
    display: block;
}
.jcads-manual-link {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
}
.jcads-manual-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ---- Compliance-onderscheid (v1.1.0 §2.1): accentrand + hoeklabel ---- */
.jcads-distinct {
    border-left: 3px solid var(--jcads-accent, #8b9dc3);
}
.jcads-label--hoek {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    margin: 0;
    background: rgba(255, 255, 255, .88);
    padding: 2px 8px;
    border-radius: 4px;
}
/* Card-5 (cover-design uit de widgets) heeft padding 0 in het theme; onze
   ad-kaart binnen dat design krijgt eigen binnenruimte. */
.jcads-card.pxp-jobs-card-5 {
    padding: 30px;
}

/* ---- Testweergave (§5.9) — outline beïnvloedt de lay-out niet ---- */
.jcads-test-card {
    outline: 2px dashed rgba(107, 70, 193, .55);
}
.jcads-test-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: #6b46c1;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 6px;
}
.jcads-test-adsense {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    border-radius: 12px;
    background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 12px, #e2e8f0 12px, #e2e8f0 24px);
}
.jcads-test-adsense-title {
    font-weight: 600;
    color: #475569;
}
.jcads-test-adsense-unit {
    font-size: 12px;
    color: #64748b;
}
.jcads-test-note {
    font-size: 11px;
    color: #6b46c1;
    margin-top: 6px;
    display: block;
}

/* ---- Previewbanner (§5.9) ---- */
.jcads-preview-banner {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99999;
    background: #1e1b4b;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    max-width: 90vw;
}
.jcads-preview-banner a {
    color: #c4b5fd;
    text-decoration: underline;
}
