/* ============================================================
   RESEAU v1 — page réseau + firewall, design system NEON.
   S'appuie sur neon-page.css. Classes propres à cette page
   préfixées .rsx- pour éviter tout conflit.
   ============================================================ */

/* ---------- TABLEAU NORMES / SPECS ---------- */
.rsx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rsx-table th, .rsx-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--neon-light-hairline); vertical-align: top; }
.rsx-table th { color: var(--neon-accent); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.rsx-table td { color: var(--neon-light-text-dim); }
.rsx-table td:first-child { color: var(--neon-light-text); font-weight: 600; white-space: nowrap; }
.rsx-table tr:last-child td { border-bottom: none; }

/* variante fond sombre (specs switch) */
.rsx-table-dark th, .rsx-table-dark td { border-bottom-color: var(--neon-dark-hairline); }
.rsx-table-dark td { color: var(--neon-dark-text-dim); }
.rsx-table-dark td:first-child { color: var(--neon-dark-text); }

/* ---------- CARTES CONCEPT (LACP / MLAG) ---------- */
.rsx-concept-card {
    background: var(--neon-light-card);
    border: 1px solid var(--neon-light-hairline);
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 1px 3px rgba(26,36,47,.06);
}
.rsx-concept-card h3 { font-size: 17px; color: var(--neon-accent); margin: 0 0 10px; }
.rsx-concept-card p { font-size: 13.5px; line-height: 1.6; color: var(--neon-light-text-dim); margin: 0 0 10px; }
.rsx-concept-card p:last-child { margin-bottom: 0; }
.rsx-concept-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(89,148,212,.08);
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--neon-light-text);
}

/* ---------- OUTILS DE TEST (fond sombre) ---------- */
.rsx-tool-card { background: var(--neon-dark-panel); border: 1px solid var(--neon-dark-hairline); border-radius: 10px; padding: 20px 22px; }
.rsx-tool-card h4 { font-size: 15px; color: var(--neon-dark-text); margin: 0 0 8px; }
.rsx-tool-card p { font-size: 13px; color: var(--neon-dark-text-dim); margin: 0; line-height: 1.55; }
.rsx-tool-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--neon-accent); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- CALCULATEUR TEMPS DE TRANSFERT ---------- */
.rsx-calc {
    margin-top: 32px;
    background: var(--neon-light-card);
    border: 1px solid var(--neon-light-hairline);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(26,36,47,.06);
}
.rsx-calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rsx-calc-field label { display: block; font-size: 12px; font-weight: 600; color: var(--neon-light-text); margin-bottom: 6px; }
.rsx-calc-field input, .rsx-calc-field select {
    width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--neon-light-hairline);
    background: #fff; color: var(--neon-light-text); font-size: 14px; font-family: inherit;
}
.rsx-calc-results { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rsx-calc-result { background: #F4F6F9; border-radius: 10px; padding: 18px 20px; }
.rsx-calc-result-label { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--neon-light-text-dim); text-transform: uppercase; letter-spacing: .06em; }
.rsx-calc-result-value { font-size: 24px; font-weight: 700; color: var(--neon-accent); margin: 6px 0 4px; }
.rsx-calc-result-sub { font-size: 12px; color: var(--neon-light-text-dim); }
.rsx-calc-note { margin-top: 18px; font-size: 12.5px; color: var(--neon-light-text-dim); line-height: 1.55; }
@media (max-width: 700px) { .rsx-calc-grid, .rsx-calc-results { grid-template-columns: 1fr; } }

/* ---------- CARTES SWITCH (produit avec photo) ---------- */
.rsx-switch-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.rsx-switch-media {
    background: #0d1117;
    height: 150px;
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid var(--neon-light-hairline);
    margin: -28px -28px 20px;
    padding: 0 16px;
}
.rsx-switch-media img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.rsx-switch-card h3 { font-size: 17px; color: var(--neon-light-text); margin-bottom: 6px; }
.rsx-switch-tier { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--neon-accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; display: block; }
.rsx-switch-card p { font-size: 13px; line-height: 1.6; color: var(--neon-light-text-dim); margin: 0 0 14px; }

/* ---------- FIREWALL (cartes claires sur fond sombre) ---------- */
.rsx-fw-card h3 { font-size: 16px; color: var(--neon-light-text); margin-bottom: 8px; }
.rsx-fw-card p { font-size: 13.5px; line-height: 1.6; color: var(--neon-light-text-dim); margin: 0; }

/* ---------- FIREWALL — conseil (fond clair) ---------- */
.rsx-advice-note-light {
    margin-top: 22px;
    padding: 16px 20px;
    background: rgba(89,148,212,.08);
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--neon-light-text-dim);
}
.rsx-advice-note-light strong { color: var(--neon-light-text); }
