/* ============================================================
   BassPort Related Reports — related-reports.css
   Design: Dark navy + orange accent — fishing intelligence theme
   ============================================================ */

/* ── Variables ── */
:root {
    --bpr-bg:         #0a0f1e;
    --bpr-card-bg:    #111827;
    --bpr-card-border:#1e2d45;
    --bpr-accent:     #f97316;
    --bpr-accent-dim: rgba(249,115,22,0.12);
    --bpr-text:       #e2e8f0;
    --bpr-muted:      #64748b;
    --bpr-label:      #94a3b8;
    --bpr-radius:     14px;
    --bpr-font:       'Barlow Condensed', 'Oswald', sans-serif;
    --bpr-body-font:  'DM Sans', 'Segoe UI', sans-serif;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=DM+Sans:wght@400;500&display=swap');

/* ── Section Wrapper ── */
.bpr-section {
    background: var(--bpr-bg);
    border-radius: 20px;
    padding: 40px 36px 48px;
    margin-top: 52px;
    border: 1px solid var(--bpr-card-border);
    position: relative;
    overflow: hidden;
}

/* Subtle background texture */
.bpr-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(249,115,22,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(14,165,233,0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Header ── */
.bpr-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.bpr-badge {
    display: inline-block;
    background: var(--bpr-accent-dim);
    border: 1px solid rgba(249,115,22,0.35);
    color: var(--bpr-accent);
    font-family: var(--bpr-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.bpr-title {
    font-family: var(--bpr-font);
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    color: var(--bpr-text);
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.15;
}

.bpr-title__accent {
    color: var(--bpr-muted);
    font-weight: 500;
}

.bpr-header__count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.bpr-count-num {
    font-family: var(--bpr-font);
    font-size: 42px;
    font-weight: 700;
    color: var(--bpr-accent);
    line-height: 1;
}

.bpr-count-label {
    font-family: var(--bpr-body-font);
    font-size: 12px;
    color: var(--bpr-muted);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ── Grid ── */
.bpr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ── Card ── */
.bpr-card {
    background: var(--bpr-card-bg);
    border: 1px solid var(--bpr-card-border);
    border-radius: var(--bpr-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.bpr-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bpr-accent), #fb923c);
    border-radius: var(--bpr-radius) var(--bpr-radius) 0 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bpr-card:hover {
    border-color: rgba(249,115,22,0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.bpr-card:hover::after {
    opacity: 1;
}

/* ── Card Top Bar ── */
.bpr-card__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.bpr-card__date {
    font-family: var(--bpr-body-font);
    font-size: 12px;
    color: var(--bpr-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.bpr-card__catches-badge {
    background: var(--bpr-accent-dim);
    border: 1px solid rgba(249,115,22,0.3);
    color: var(--bpr-accent);
    font-family: var(--bpr-font);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* ── Stats Grid ── */
.bpr-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bpr-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px 12px;
}

/* Wide stat spans both columns */
.bpr-stat--wide {
    grid-column: 1 / -1;
}

.bpr-stat__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bpr-stat__icon--temp     { background: rgba(239,68,68,0.12);  color: #f87171; }
.bpr-stat__icon--clarity  { background: rgba(14,165,233,0.12); color: #38bdf8; }
.bpr-stat__icon--weather  { background: rgba(234,179,8,0.12);  color: #facc15; }
.bpr-stat__icon--pressure { background: rgba(168,85,247,0.12); color: #c084fc; }
.bpr-stat__icon--fish     { background: rgba(34,197,94,0.12);  color: #4ade80; }
.bpr-stat__icon--technique{ background: rgba(249,115,22,0.12); color: var(--bpr-accent); }

.bpr-stat__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bpr-stat__label {
    font-family: var(--bpr-body-font);
    font-size: 10px;
    color: var(--bpr-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 3px;
}

.bpr-stat__value {
    font-family: var(--bpr-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--bpr-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Description ── */
.bpr-card__desc {
    border-top: 1px solid var(--bpr-card-border);
    padding-top: 12px;
}

.bpr-card__desc p {
    font-family: var(--bpr-body-font);
    font-size: 13px;
    color: var(--bpr-label);
    line-height: 1.6;
    margin: 0;
}

/* ── CTA Button ── */
.bpr-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--bpr-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--bpr-accent);
    text-decoration: none;
    margin-top: auto;
    padding: 10px 16px;
    border: 1px solid rgba(249,115,22,0.3);
    border-radius: 8px;
    background: var(--bpr-accent-dim);
    transition: background 0.2s, border-color 0.2s;
    align-self: flex-start;
}

.bpr-card__cta:hover {
    background: rgba(249,115,22,0.2);
    border-color: var(--bpr-accent);
    color: var(--bpr-accent);
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .bpr-section {
        padding: 28px 20px 36px;
        border-radius: 14px;
    }

    .bpr-grid {
        grid-template-columns: 1fr;
    }

    .bpr-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bpr-header__count {
        align-items: flex-start;
    }
}
