/* ============================================================
   assets/css/google-rating.css  —  Reputation Bar v3.0
   ============================================================ */

/* ── Wrapper link ─────────────────────────────────────────── */
.rep-bar-link {
    display: block;
    text-decoration: none;
    margin: 0 auto 28px;
    max-width: 700px;
    padding: 0 12px;
    box-sizing: border-box;
}

/* ── Outer card ───────────────────────────────────────────── */
.rep-bar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.18s, border-color 0.18s;
}
.rep-bar-link:hover .rep-bar-card {
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    border-color: #a5b4fc;
}

/* ── Score row: three equal columns ──────────────────────── */
.rep-bar-scores {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #f1f5f9;
}

/* ── Individual score cell ────────────────────────────────── */
.rep-bar-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px 14px;
    gap: 6px;
    text-align: center;
}
.rep-bar-cell + .rep-bar-cell {
    border-left: 1px solid #f1f5f9;
}

/* ── Platform logo area ───────────────────────────────────── */
.rep-bar-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
}
.rep-bar-platform svg {
    display: block;
    flex-shrink: 0;
}

/* ── Score number ─────────────────────────────────────────── */
.rep-bar-num {
    font-size: 1.7rem;
    font-weight: 900;
    color: #1a202c;
    line-height: 1;
    letter-spacing: -0.5px;
}

/* ── Stars (Google only) ──────────────────────────────────── */
.rep-bar-stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    font-size: 0.75rem;
}
.rep-bar-stars .fa-star,
.rep-bar-stars .fa-star-half-alt { color: #f59e0b; }
.rep-bar-stars .far.fa-star       { color: #cbd5e1; }

/* ── Scale label ──────────────────────────────────────────── */
.rep-bar-scale {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1;
}

/* ── Review count ─────────────────────────────────────────── */
.rep-bar-count {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1;
}

/* ── CTA footer ───────────────────────────────────────────── */
.rep-bar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #3b82f6;
    background: #f8fafc;
    transition: background 0.15s;
}
.rep-bar-link:hover .rep-bar-cta {
    background: #eff6ff;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 420px) {
    .rep-bar-num   { font-size: 1.4rem; }
    .rep-bar-cell  { padding: 12px 8px; }
    .rep-bar-cta   { font-size: 0.78rem; }
}
