/**
 * FXD Firm Card List — [prs_firm_card_list]
 * Extracted from an inline <style> block (was echoed on wp_head
 * for every page load, whether the shortcode was used or not).
 * Now a real stylesheet, enqueued only when the shortcode renders.
 */

/* ── PRS Firm Card List ────────────────────────────────────────
   Mirrors the frs-bcl (Featured Forex Brokers) card design,
   adapted for prop firms. Uses --prs-* CSS vars where defined,
   falling back to literal hex values so it works standalone.
   ─────────────────────────────────────────────────────────── */

/* Section wrapper + heading */
.prs-fcl-outer {
    font-family: "Outfit", "DM Sans", sans-serif;
}
.prs-fcl-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--fxd-text);
    background: var(--fxd-surface);
    margin: 0 0 12px;
    padding: 5px 5px 5px 12px;
    border-radius: 8px;
    letter-spacing: 0.01em;
}
.prs-fcl-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fxd-primary);
    flex-shrink: 0;
}

/* Card stack */
.prs-fcl-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

/* Individual card */
.prs-fcl-card {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 110px;
    background: var(--fxd-surface);
    border-radius: 8px;
    padding: 0 18px;
    box-sizing: border-box;
    font-family: "Outfit", "DM Sans", sans-serif;
    transition: border-color 0.2s;
    overflow: hidden;
}

/* Rank badge */
.prs-fcl-rank {
    font-size: 12px;
    font-weight: 700;
    color: var(--fxd-primary);
    flex-shrink: 0;
    min-width: 20px;
}

/* Logo box */
.prs-fcl-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--fxd-surface-alt);
    border: 1px solid var(--fxd-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.prs-fcl-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
}
.prs-fcl-initials {
    font-size: 16px;
    font-weight: 700;
    color: var(--fxd-primary);
    letter-spacing: -0.5px;
}

/* Meta column */
.prs-fcl-meta {
    flex: 1;
    min-width: 0;
}
.prs-fcl-name {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
    color: var(--fxd-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.prs-fcl-sub {
    margin: 0 0 6px;
    font-size: 10px;
    color: var(--fxd-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Stat tag pills */
.prs-fcl-tags {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
}
.prs-fcl-tag {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--fxd-border);
    color: var(--fxd-text-muted);
    white-space: nowrap;
    line-height: 1.6;
}
/* Profit split — green (positive stat) */
.prs-fcl-tag--split {
    border-color: rgba(46,204,138,0.3);
    color: var(--fxd-positive);
    background: rgba(46,204,138,0.07);
}
/* Max account — blue */
.prs-fcl-tag--acct {
    border-color: rgba(74,144,226,0.3);
    color: var(--fxd-info);
    background: rgba(74,144,226,0.07);
}
/* Challenge fee — accent purple */
.prs-fcl-tag--fee {
    border-color: rgba(75,82,255,0.35);
    color: var(--fxd-primary-light);
    background: rgba(75,82,255,0.08);
}

/* Right column */
.prs-fcl-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}
.prs-fcl-score {
    font-size: 15px;
    font-weight: 700;
    color: var(--fxd-text);
    line-height: 0;
    font-family: "Syne", "Outfit", sans-serif;
}
.prs-fcl-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}
.prs-fcl-stars svg { display: block; }
.prs-fcl-no-rating {
    font-size: 9px;
    color: var(--fxd-text-muted);
    margin-bottom: 3px;
}

/* CTA button */
.prs-fcl-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--fxd-primary), var(--fxd-primary-light));
    color: var(--fxd-surface) !important;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.5;
    transition: opacity 0.2s;
}
.prs-fcl-btn:hover { opacity: .85; }

/* Full review link */
.prs-fcl-review-link {
    font-size: 10px;
    color: var(--fxd-text-muted) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    white-space: nowrap;
    transition: color 0.2s;
    line-height: 1.5;
}
