/* Calculadora Supernet - estilos especificos sobre network-tools-transplant.css */

.page-calculadora-supernet .tool-dashboard { --dash-accent: #0c58b6; }

.page-calculadora-supernet #supernet-ips {
    width: 100%;
    font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    min-height: 160px;
    padding: 0.6rem 0.8rem;
    border: 1px solid #d8dfea;
    border-radius: 8px;
    background: #fff;
    resize: vertical;
}

.page-calculadora-supernet .supernet-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.page-calculadora-supernet .supernet-results {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-calculadora-supernet .supernet-results__panel {
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

@keyframes supernet-panel-flash {
    0%   { background: rgba(12, 88, 182, 0.18); border-color: rgba(12, 88, 182, 0.45); box-shadow: 0 0 0 4px rgba(12, 88, 182, 0.15); }
    40%  { background: rgba(12, 88, 182, 0.10); border-color: rgba(12, 88, 182, 0.30); }
    100% { background: transparent; border-color: transparent; box-shadow: none; }
}
.page-calculadora-supernet .supernet-results__panel.is-flashing {
    animation: supernet-panel-flash 0.9s ease-out;
}

.page-calculadora-supernet .supernet-results__group {
    margin-bottom: 1.2rem;
}
.page-calculadora-supernet .supernet-results__group h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #234061;
}

.page-calculadora-supernet .supernet-results__hero {
    background: #f1f6fc;
    border: 1px solid #c9dcf2;
    border-left: 4px solid #0c58b6;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.page-calculadora-supernet .supernet-results__hero-label {
    font-size: 0.8rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.page-calculadora-supernet .supernet-results__hero-value {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0c58b6;
    word-break: break-all;
}

.page-calculadora-supernet .supernet-results__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #d8dfea;
    border-radius: 10px;
    overflow: hidden;
}
.page-calculadora-supernet .supernet-results__table th,
.page-calculadora-supernet .supernet-results__table td {
    padding: 0.55rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f6;
    font-size: 0.92rem;
}
.page-calculadora-supernet .supernet-results__table tr:last-child th,
.page-calculadora-supernet .supernet-results__table tr:last-child td { border-bottom: 0; }
.page-calculadora-supernet .supernet-results__table th {
    width: 42%;
    font-weight: 700;
    color: #234061;
    background: #f8fafd;
}
.page-calculadora-supernet .supernet-results__table td {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    word-break: break-all;
}

.page-calculadora-supernet .supernet-results__alerts {
    background: #fff8e6;
    border: 1px solid #f3d780;
    border-radius: 10px;
    padding: 0.65rem 0.95rem;
    margin: 0.6rem 0;
}
.page-calculadora-supernet .supernet-results__alert {
    margin: 0;
    font-size: 0.9rem;
    color: #6b4a08;
    line-height: 1.4;
}

.page-calculadora-supernet .supernet-results__list {
    margin: 0;
    padding-left: 1.2rem;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 0.88rem;
    color: #1f2733;
    columns: 2;
}
.page-calculadora-supernet .supernet-results__list li {
    margin-bottom: 0.2rem;
    break-inside: avoid;
}

/* Dark mode */
body.dark-mode .page-calculadora-supernet #supernet-ips {
    background: #1e293b;
    color: #d7dde7;
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .page-calculadora-supernet .supernet-results__hero {
    background: rgba(125, 211, 252, 0.08);
    border-color: rgba(125, 211, 252, 0.25);
    border-left-color: #7dd3fc;
}
body.dark-mode .page-calculadora-supernet .supernet-results__hero-label { color: #94a3b8; }
body.dark-mode .page-calculadora-supernet .supernet-results__hero-value { color: #7dd3fc; }
body.dark-mode .page-calculadora-supernet .supernet-results__table {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .page-calculadora-supernet .supernet-results__table th {
    background: #243149;
    color: #d7dde7;
}
body.dark-mode .page-calculadora-supernet .supernet-results__table th,
body.dark-mode .page-calculadora-supernet .supernet-results__table td {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: #d7dde7;
}
body.dark-mode .page-calculadora-supernet .supernet-results__alerts {
    background: rgba(243, 215, 128, 0.12);
    border-color: rgba(243, 215, 128, 0.35);
}
body.dark-mode .page-calculadora-supernet .supernet-results__alert { color: #f3d780; }
body.dark-mode .page-calculadora-supernet .supernet-results__list { color: #d7dde7; }

body.dark-mode .page-calculadora-supernet .supernet-results__panel.is-flashing {
    animation: supernet-panel-flash-dark 0.9s ease-out;
}
@keyframes supernet-panel-flash-dark {
    0%   { background: rgba(125, 211, 252, 0.18); border-color: rgba(125, 211, 252, 0.45); box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.15); }
    40%  { background: rgba(125, 211, 252, 0.10); border-color: rgba(125, 211, 252, 0.30); }
    100% { background: transparent; border-color: transparent; box-shadow: none; }
}

@media (max-width: 640px) {
    .page-calculadora-supernet .supernet-results__list { columns: 1; }
}
