/* === INDEX SPECIFIC === */
.diag-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    border: 2px solid rgba(28,191,255,0.3); background: rgba(28,191,255,0.08);
    color: var(--bg-color-newlink); cursor: pointer; transition: all 0.25s;
    position: relative; font-size: 16px; text-decoration: none;
    box-shadow: 0 0 20px rgba(28,191,255,0.1);
}
.diag-icon-btn:hover { background: var(--bg-color-newlink); color: #0a1628; border-color: var(--bg-color-newlink); box-shadow: 0 4px 24px rgba(28,191,255,0.35); transform: scale(1.1); }
.diag-icon-btn:active { transform: scale(0.95); }
.diag-icon-btn .pulse-ring { position: absolute; inset: -4px; border: 2px solid rgba(28,191,255,0.3); border-radius: 50%; animation: pulseRing 2.5s infinite; }
@keyframes pulseRing { 0%{transform:scale(1);opacity:1}100%{transform:scale(1.6);opacity:0} }

.oc-tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(43,46,84,0.3); background: rgba(18,19,32,0.3); overflow-x: auto; }
.oc-tab { padding: 11px 13px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; cursor: pointer; color: var(--text-color); transition: all 0.15s; border-bottom: 2px solid transparent; white-space: nowrap; font-family: 'Moderustic', sans-serif; }
.oc-tab:hover { color: var(--bg-color-w); }
.oc-tab.active { color: var(--bg-color-newlink); border-bottom-color: var(--bg-color-newlink); }
.oc-panel { display: none; padding: 16px 18px; }
.oc-panel.active { display: block; animation: ocIn 0.2s ease; }
@keyframes ocIn { from{opacity:0}to{opacity:1} }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.info-cell { background: rgba(18,19,32,0.5); border: 1px solid rgba(43,46,84,0.3); border-radius: 8px; padding: 10px 12px; transition: border-color 0.2s; }
.info-cell:hover { border-color: rgba(28,191,255,0.12); }
.info-cell-label { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-color); margin-bottom: 3px; font-weight: 600; }
.info-cell-value { font-size: 13px; color: #fff; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.info-cell-value a { color: var(--bg-color-newlink); text-transform: none; cursor: pointer; text-decoration: none; }
.info-cell-value a:hover { color: #fff; }
.info-cell-full { grid-column: 1 / -1; }
.info-cell-accent { border-color: rgba(28,191,255,0.12); background: linear-gradient(135deg, rgba(28,191,255,0.04), transparent); }

.oc-section-label { font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-color); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.oc-section-label::after { content: ''; flex: 1; height: 1px; background: rgba(43,46,84,0.25); }

/* DNS */
.dns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dns-card { background: rgba(18,19,32,0.5); border: 1px solid rgba(43,46,84,0.3); border-radius: 8px; padding: 10px; text-align: center; transition: border-color 0.2s; }
.dns-card:hover { border-color: rgba(28,191,255,0.15); }
.dns-card-logo { height: 20px; margin-bottom: 6px; opacity: 0.85; }
.dns-card-name { font-size: 11px; font-weight: 700; color: var(--bg-color-w); margin-bottom: 4px; }
.dns-card-ips { font-size: 11px; line-height: 1.7; }
.dns-card-ips a { color: var(--bg-color-newlink); font-family: 'Courier New', monospace; text-transform: none; text-decoration: none; display: block; }
.dns-card-ips a:hover { color: #fff; }
.dns-card-ping { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(43,46,84,0.2); font-size: 12px; font-weight: 700; font-family: 'Moderustic', sans-serif; min-height: 22px; }
.dns-all-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 6px; border: 1px dashed rgba(43,46,84,0.4); color: var(--text-color-a); font-size: 11px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.dns-all-btn:hover { border-color: rgba(28,191,255,0.3); color: var(--bg-color-newlink); background: rgba(28,191,255,0.03); }

/* Network - wider */
.net-toggle { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid rgba(43,46,84,0.4); margin-bottom: 10px; }
.net-toggle-btn { flex: 1; padding: 9px; text-align: center; cursor: pointer; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-color); background: rgba(18,19,32,0.4); transition: all 0.2s; border: none; font-family: 'Moderustic', sans-serif; }
.net-toggle-btn:first-child { border-right: 1px solid rgba(43,46,84,0.4); }
.net-toggle-btn.active { background: rgba(28,191,255,0.1); color: var(--bg-color-newlink); }
.net-toggle-btn:hover { color: var(--bg-color-newlink); }
.net-console { background: rgba(12,13,22,0.5); border: 1px solid rgba(43,46,84,0.3); border-radius: 8px; overflow: hidden; }
.net-console-header { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; background: rgba(18,19,32,0.5); border-bottom: 1px solid rgba(43,46,84,0.2); }
.net-console-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-color); font-weight: 600; }
.net-console-copy { font-size: 10px; color: var(--bg-color-newlink); cursor: pointer; text-decoration: none; text-transform: uppercase; font-weight: 700; }
.net-console-copy:hover { color: #fff; }
.net-console-body { padding: 10px 12px; max-height: 300px; overflow-y: auto; }
.net-console-body pre { margin: 0; font-size: 12px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
.net-ip-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 12px; }
.net-ip-item { padding: 4px 0; font-size: 12px; font-family: 'Courier New', monospace; break-inside: avoid; display: flex; align-items: center; justify-content: space-between; }
.net-ip-item a { color: var(--bg-color-newlink); text-transform: none; text-decoration: none; }
.net-ip-item a:hover { color: #fff; }
.net-ip-item .net-ip-copy { font-size: 10px; color: var(--text-color); cursor: pointer; }
.net-ip-item .net-ip-copy:hover { color: var(--bg-color-newlink); }

/* Diag - console style, no button glow */
.diag-visual { background: rgba(12,13,22,0.5); border: 1px solid rgba(43,46,84,0.3); border-radius: 10px; padding: 16px; margin-bottom: 14px; text-align: center; }
.diag-route { display: flex; align-items: center; justify-content: center; gap: 0; margin: 14px 0; }
.diag-node { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.diag-node-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; border: 2px solid rgba(43,46,84,0.4); transition: all 0.3s; }
.diag-node-icon.active { border-color: var(--bg-color-newlink); box-shadow: 0 0 12px rgba(28,191,255,0.2); }
.diag-node-icon.success { border-color: #28a745; color: #28a745; }
.diag-node-label { font-size: 9px; color: var(--text-color); text-transform: uppercase; max-width: 60px; text-align: center; line-height: 1.2; }
.diag-line { width: 30px; height: 2px; background: rgba(43,46,84,0.4); position: relative; margin: 0 2px 16px; }
.diag-line.success { background: #28a745; }
.diag-line-ms { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--bg-color-newlink); white-space: nowrap; font-weight: 700; }
.diag-start-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 22px; border-radius: 8px; background: var(--bg-color-newlink); color: #0a1628; border: none; font-size: 12px; font-weight: 700; cursor: pointer; transition: background 0.2s, opacity 0.2s; font-family: 'Moderustic', sans-serif; letter-spacing: 0.5px; text-transform: uppercase; }
.diag-start-btn:hover { background: #15a8e0; }
.diag-start-btn:disabled { opacity: 0.5; cursor: not-allowed; }
/* Console log - real terminal style */
.diag-log { background: #0c0d16; border: 1px solid rgba(43,46,84,0.3); border-radius: 8px; padding: 12px 14px; margin-top: 10px; font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.8; max-height: 220px; overflow-y: auto; display: none; color: #6b7280; }
.diag-log.show { display: block; }
.diag-log::before { content: attr(data-prompt); display: block; color: #28a745; margin-bottom: 6px; font-weight: 700; }
