/* SSR Series Core CSS (Shared)
   Extracted from SSR Series FINAL PRO
   Safe for global reuse
*/

/* ===== Base ===== */
body{
    background:linear-gradient(180deg,#f6f8fb 0%, #f2f5fa 100%);
    color:#0f172a;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

/* ===== Hero ===== */
.series-hero{
    background:linear-gradient(135deg,#eef4ff,#f8fbff);
    border-radius:16px;
    padding:28px 32px;
    margin-bottom:28px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    border:1px solid #e6ebf2;
}

.series-hero-top{
    display:flex;
    justify-content:space-between;
    gap:16px;
}

.series-sub{
    color:#64748b;
    font-size:14px;
}

/* ===== Meta ===== */
.series-meta{
    display:flex;
    gap:10px;
    margin-top:12px;
}

.meta-count{
    padding:4px 12px;
    border-radius:999px;
    background:linear-gradient(135deg,#60a5fa,#2563eb);
    color:#fff;
    font-weight:700;
}

/* ===== Group Card ===== */
.group-card{
    background:#fff;
    border-radius:16px;
    padding:22px 24px;
    margin-bottom:32px;
    border:1px solid #e6ebf2;
    box-shadow:0 6px 18px rgba(0,0,0,.04);
}

/* ===== Table ===== */
table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    font-size:14px;
}

thead th{
    position:sticky;
    top:0;
    background:rgba(249,250,251,.9);
    backdrop-filter:blur(8px);
    padding:10px 12px;
    font-weight:600;
}

td{
    padding:10px 12px;
    border-bottom:1px solid #eef2f7;
}

tbody tr:hover{
    background:#eef4ff;
}

/* ===== Chips ===== */
.part-chip{
    padding:4px 12px;
    border-radius:999px;
    background:#e0ecff;
    color:#1d4ed8;
    font-weight:700;
    text-decoration:none;
}

.spec-chip{
    padding:2px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.chip-zero{ background:#dbeafe; color:#2563eb; }
.chip-random{ background:#ede9fe; color:#7c3aed; }
.chip-mosfet{ background:#ffedd5; color:#ea580c; }

/* ===== Docs ===== */
.doc-btn{
    display:inline-flex;
    gap:6px;
    padding:5px 10px;
    border-radius:10px;
    font-size:12px;
    text-decoration:none;
    font-weight:600;
}

.doc-datasheet{ background:#dbeafe; color:#1d4ed8; }
.doc-drawing{ background:#e5e7eb; color:#374151; }
