.b4seo-affiliate-dashboard {
    display: grid;
    gap: 20px;
}

.b4seo-affiliate-card,
.b4seo-affiliate-box {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.b4seo-affiliate-card h3 {
    margin-top: 0;
}

.b4seo-affiliate-form p {
    margin-bottom: 16px;
}

.b4seo-affiliate-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.b4seo-affiliate-form input[type="text"],
.b4seo-affiliate-form input[type="email"],
.b4seo-affiliate-form input[type="tel"],
.b4seo-affiliate-form input[type="number"],
.b4seo-affiliate-form textarea,
.b4seo-copy-input {
    width: 100%;
    max-width: 720px;
}

.b4seo-copy-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.b4seo-copy-row .b4seo-copy-input {
    flex: 1 1 320px;
}

.b4seo-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.b4seo-stat-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 18px;
    background: #fff;
}

.b4seo-stat-card span {
    display: block;
    opacity: .68;
    font-size: 13px;
    margin-bottom: 8px;
}

.b4seo-stat-card strong {
    display: block;
    font-size: 24px;
    line-height: 1.2;
}

.b4seo-table {
    margin-top: 10px;
}

.b4seo-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.4;
    background: #eef2ff;
    color: #1e3a8a;
}

.b4seo-badge-active,
.b4seo-badge-approved,
.b4seo-badge-paid {
    background: #ecfdf5;
    color: #047857;
}

.b4seo-badge-pending {
    background: #fffbeb;
    color: #92400e;
}

.b4seo-badge-rejected,
.b4seo-badge-cancelled {
    background: #fef2f2;
    color: #b91c1c;
}

.b4seo-muted {
    opacity: .68;
}

.b4seo-map-card {
    overflow: hidden;
}

.b4seo-map-shell {
    background: var(--b4seo-sea, #091727);
    border-radius: 18px;
    padding: 12px;
    margin: 12px 0 16px;
    overflow: hidden;
}

.b4seo-turkey-svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 240px;
}

.b4seo-map-sea {
    fill: var(--b4seo-sea, #091727);
}

.b4seo-map-land {
    fill: var(--b4seo-land, #103047);
    stroke: rgba(255,255,255,.16);
    stroke-width: 2;
}

.b4seo-province-dot {
    fill: var(--b4seo-land, #103047);
    stroke: rgba(255,255,255,.35);
    stroke-width: 1.2;
}

.b4seo-click-bubble,
.b4seo-conversion-bubble {
    stroke: #fff;
    stroke-width: 1.6;
    opacity: .92;
}

.b4seo-click-bubble {
    fill: var(--b4seo-click, #ff4040);
}

.b4seo-conversion-bubble {
    fill: var(--b4seo-conversion, #22c55e);
}

.b4seo-map-legend {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
    font-size: 12px;
    padding: 0 6px 4px;
}

.b4seo-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.b4seo-map-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.55);
}

.b4seo-legend-click {
    background: var(--b4seo-click, #ff4040);
}

.b4seo-legend-conversion {
    background: var(--b4seo-conversion, #22c55e);
}

.b4seo-legend-land {
    background: var(--b4seo-land, #103047);
}

.b4seo-map-table {
    margin-top: 12px;
}

/* v1.4.0: bordered Turkey province SVG map */
.b4seo-turkey-boundary-svg {
    min-height: 280px;
}

.b4seo-turkey-provinces {
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}

.b4seo-province-shape {
    stroke: rgba(255,255,255,.62);
    stroke-width: 1.25;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
    transition: fill .15s ease, stroke .15s ease, opacity .15s ease;
}

.b4seo-province-shape:hover,
.b4seo-province-shape:focus {
    fill: var(--b4seo-hover, #ffd400) !important;
    stroke: #fff;
    opacity: 1;
}


.b4seo-map-markers {
    pointer-events: none;
}

.b4seo-province-shape:hover,
.b4seo-province-shape:focus {
    fill-opacity: 1;
}
.b4seo-province-shape.b4seo-has-clicks,
.b4seo-province-shape.b4seo-has-conversions {
    stroke: rgba(255,255,255,.78);
}

.b4seo-legend-hover {
    background: var(--b4seo-hover, #ffd400);
}


.b4seo-payment-request-form textarea {
    width: 100%;
}

/* v1.6.0: QR, media kit and leaderboard */
.b4seo-qr-block {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid rgba(16,48,71,.16);
    border-radius: 14px;
    background: #fff;
    margin-top: 12px;
}

.b4seo-qr-block img {
    display: block;
    width: 190px;
    height: 190px;
    border-radius: 10px;
    background: #fff;
}

.b4seo-media-kit-card .b4seo-copy-button {
    margin-top: 8px;
}

.b4seo-media-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.b4seo-media-kit-item {
    padding: 14px;
    border: 1px solid rgba(16,48,71,.16);
    border-radius: 14px;
    background: #fff;
}

.b4seo-media-kit-item h4 {
    margin: 0 0 8px;
}

.b4seo-media-kit-item img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 10px;
    background: #f6f7f7;
}

.b4seo-media-kit-note {
    margin-top: 8px;
    color: #4b5563;
}

.b4seo-leaderboard-card table {
    width: 100%;
}

.b4seo-current-influencer-row td {
    background: #fff8d6;
}

@media (max-width: 640px) {
    .b4seo-qr-block img {
        width: 150px;
        height: 150px;
    }
}
