* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html, body {
            overflow-x: hidden;
        }
        html, body {
            overflow-x: hidden;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: 'Verdana', sans-serif;
            background: white;
            color: black;
        }

        #wrap {
            margin: 0 auto;
            width: 80%;
            max-width: 1200px;
            padding-top: 0;
            padding-bottom: 40px;
        }

        .header-section {
            position: static;
            width: 100%;
            background: white;
            padding: 0;
			margin: 0;
        }

                .ad-top {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            margin: 15px auto 0 auto;
            background: white;
            width: 80%;
            max-width: 1200px;
            box-sizing: border-box;
        }
        .site-banner {
            width: 80%;
            max-width: 1200px;
            margin: 15px auto 15px auto;
        }
        .site-banner img {
            width: 100%;
            height: auto;
            display: block;
        }
.ad-top-inner {
            min-width: 320px !important;
            width: 728px;
            height: 90px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
                    }

        .ad-top-inner-content {
            width: 728px;
            height: 90px;
            background: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #666;
            border: 1px solid #ccc;
        }

        .ad-bottom {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            padding: 30px 10px;
            background: white;
        }

        .bottom-rule {
            width: 80%;
            max-width: 1200px;
            border-bottom: 0.15em dashed #000;   
        }

        .ad-bottom-inner {
            min-width: 320px !important;
            width: 728px;
            height: 90px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 30px;
        }

        .ad-bottom-inner-content {
            width: 728px;
            height: 90px;
            background: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #666;
            border: 1px solid #ccc;
        }

        /* Main Layout */
        .content-wrapper {
            padding: 0;
        }

        .logo-header {
            display: none;
        }

        .horizontal-rule {
    border-bottom: 0.15em dashed #000;
    margin: 20px 0 0 0;  /* reduce from 30px */
    padding: 0 20px;
}

        .first-horizontal-rule {
            border-bottom: 0.15em dashed #000;
            margin: 10px 0 0 0;  /* reduce from 30px */
    padding: 0 20px;
        }

        
        
        /* CSS-only dropdown nav */
        .site-nav { margin: 20px -10%; }
        .site-nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: center;
            width: 100%;
        }
        .site-nav ul ul {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            border: 1px solid #ccc;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            min-width: 200px;
            z-index: 1000;
            flex-direction: column;
            gap: 0;
        }
        .site-nav li {
            position: relative;
        }
        .site-nav li:hover > ul {
            display: flex;
        }
        .site-nav > ul > li > a {
            display: block;
            padding: 10px 20px;
            background: #f5f5f5;
            border: 1px solid #000;
            font-family: Verdana, sans-serif;
            font-size: 0.85em;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #000;
            text-decoration: none;
            white-space: nowrap;
        }
        .site-nav > ul > li > a:hover,
        .site-nav > ul > li:hover > a {
            background: #e8e8e8;
        }
        .site-nav ul ul a {
            display: block;
            padding: 10px 15px;
            font-family: Verdana, sans-serif;
            font-size: 0.85em;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #eee;
            white-space: nowrap;
        }
        .site-nav ul ul a:hover {
            background: #f5f5f5;
            border-left: 3px solid #000;
            padding-left: 12px;
        }
        @media (max-width: 768px) {
            .site-nav > ul > li > a { padding: 8px 12px; font-size: 0.75em; }
            .site-nav > ul > li:nth-child(1) > ul,
            .site-nav > ul > li:nth-child(2) > ul { left: 0; right: auto; }
            .site-nav > ul > li:nth-child(3) > ul,
            .site-nav > ul > li:nth-child(4) > ul { left: auto; right: 0; }
        }

            .site-nav a { font-size: 0.78em; padding: 3px 6px; }
        }


        /* Content Area */
        #content-area {
            min-height: 500px;
        }

        /* Loading */
        .loading {
            text-align: center;
            padding: 60px 20px;
        }

        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #333;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .test-header {
            margin-bottom: 20px;
        }

        .test-header h2 {
            font-size: 1.8em;
            margin-bottom: 10px;
        }

        .test-header p {
            color: #666;
            line-height: 1.5;
        }

        .seo-intro {
    background: transparent;
    padding: 0;
    margin: 40px 0;
    border-left: none;
    line-height: 1.8;
}

        .seo-intro p {
            margin-bottom: 15px;
            color: #333;
        }

        .seo-content h3 {
            font-size: 1.4em;
            margin: 30px 0 15px 0;
            color: #000;
        }

        .seo-content h3:first-child {
            margin-top: 0;
        }

        .seo-content h4 {
            font-size: 1.1em;
            margin: 20px 0 10px 0;
            color: #333;
        }

        .seo-content p {
            margin-bottom: 15px;
            line-height: 1.8;
            color: #333;
        }

        .seo-content ul {
            margin: 10px 0 20px 25px;
            line-height: 1.8;
        }

        .seo-content li {
            margin-bottom: 8px;
            color: #333;
        }

        .seo-content strong {
            color: #000;
        }

        .ip-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 40px;
            margin-bottom: 20px;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .ip-row {
                grid-template-columns: 1fr;
            }
            .info-grid {
                grid-template-columns: 1fr;
            }
        }

        .info-card {
            background: white;
            padding: 20px;
            border: 1px solid #ddd;
        }

        .info-card h4 {
            font-size: 0.9em;
            color: #666;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .info-card .value {
            font-size: 1em;
            font-weight: bold;
            margin-bottom: 5px;
            word-break: break-all;
        }

        .info-card .detail {
            font-size: 0.85em;
            color: #888;
        }

        .btn {
            padding: 12px 24px;
            background: #000;
            color: white;
            border: none;
            cursor: pointer;
            font-family: 'Verdana', sans-serif;
            font-size: 0.9em;
            margin: 10px 5px 10px 0;
            transition: all 0.2s;
        }

        .btn:hover {
            background: #333;
        }

        .btn-secondary {
            background: #666;
        }

        .btn-secondary:hover {
            background: #888;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            h1 {
                margin-top: 20px !important;
            }

            #wrap {
                width: 95%;
                margin: 0 auto;
                padding-top: 0;
                padding-bottom: 40px;
            }

            .header-section {
                width: 95%;
                margin: 0 auto;
				padding: 0;
            }

            /* Mobile ads */
            .ad-top {
                padding: 0;
                width: 95%;
                max-width: 1200px;
            }
            .site-banner {
                width: 95%;
                max-width: 1200px;
            }

            .ad-top-inner,
            .ad-bottom-inner {
                min-width: unset;
                width: 100%;
                max-width: 320px;
                height: 50px;
            }

            .ad-top-inner-content,
            .ad-bottom-inner-content {
                width: 100%;
                max-width: 320px;
                height: 50px;
                font-size: 10px;
            }

            

            /* Content */
            .content-wrapper {
            padding: 0;
        }

            .test-section {
                padding: 15px;
            }

            .test-controls {
                flex-direction: column;
                gap: 10px;
            }

            .control-group {
                width: 100%;
            }

            .results-grid {
                grid-template-columns: 1fr;
            }

            .seo-intro,
            .seo-content {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: none;
}

            .info-card {
                padding: 15px;
            }

            .test-header h2 {
                font-size: 1.4em;
            }
        }
    
        /* Footer constraint */
        footer {
            display: block;
            width: 100%;
            box-sizing: border-box;
        }
        /* Dashed rule above footer */
        .footer-rule {
            width: 100%;
            margin: 40px 0 0 0;
            border-bottom: 0.15em dashed #000;
        }

/* ── Shared rules extracted from page-level styles ──────────────────────── */

h1 {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 10px;
}

.seo-content {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.seo-content code {
    background: #e8e8e8;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.ad-top-inner {
    min-width: 320px !important;
    width: 728px;
    height: 90px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-top-inner-content {
    width: 728px;
    height: 90px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
}

.ad-bottom-inner {
    min-width: 320px !important;
    width: 728px;
    height: 90px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.ad-bottom-inner-content {
    width: 728px;
    height: 90px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    border: 1px solid #ccc;
}

.btn:hover:not(:disabled) {
    background: #555;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

.test-header {
    margin-bottom: 20px;
}

.test-header h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.test-header p {
    color: #666;
    line-height: 1.5;
}

.test-control {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.test-status {
    color: #666;
    font-size: 0.95em;
}

.test-section {
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
    margin: 20px 0;
}

.section-header {
    font-size: 1.2em;
    font-weight: bold;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.section-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.results-container {
    display: none;
    margin-top: 30px;
}

.results-container.active {
    display: block;
}

.results-grid {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}

.control-group {
    width: 100%;
}

.input-section {
    background: white;
    padding: 25px;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.input-group textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 2px solid #ddd;
    resize: vertical;
    box-sizing: border-box;
}

.input-group textarea:focus {
    outline: none;
    border-color: #333;
}

.error-message {
    display: none;
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 15px;
    margin-bottom: 20px;
}

.error-message.show {
    display: block;
}

/* Legal pages */
.legal-container {
    margin: 0 auto;
    padding: 0;
}

.legal-header {
    margin-bottom: 30px;
    margin-top: 0;
}

.legal-header h1 {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 10px;
}

.legal-header p {
    color: #666;
    line-height: 1.5;
}

.legal-content {
    padding: 0;
    line-height: 1.8;
}

.legal-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.legal-meta p {
    margin: 5px 0;
    color: #666;
}

.legal-section-title {
    font-size: 1.1em;
    font-weight: bold;
    margin: 30px 0 15px 0;
    color: #000;
}

.legal-text {
    margin-bottom: 20px;
    color: #333;
    text-align: justify;
}

.legal-list {
    margin: 10px 0 20px 20px;
}

.legal-list li {
    margin-bottom: 8px;
    color: #333;
}

.link-text {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
}

.link-text:hover {
    color: #0052a3;
}

/* Quick examples (subnet calculator) */
.quick-examples {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
}

.quick-examples h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Mobile: shared responsive overrides */
@media (max-width: 768px) {
    .ad-top-inner,
    .ad-bottom-inner {
        min-width: unset;
        width: 100%;
        max-width: 320px;
        height: 50px;
    }

    .ad-top-inner-content,
    .ad-bottom-inner-content {
        width: 100%;
        max-width: 320px;
        height: 50px;
        font-size: 10px;
    }

    .test-controls {
        flex-direction: column;
        gap: 10px;
    }

    .test-header h2 {
        font-size: 1.4em;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .seo-intro,
    .seo-content {
        margin-top: 0;
        padding: 0;
        background: transparent;
        border: none;
    }

    .info-card {
        padding: 15px;
    }
}

/* ── Output / tool UI shared components ─────────────────────────────────── */

.mode-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.mode-btn {
    padding: 12px 24px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    cursor: pointer;
    font-family: 'Verdana', sans-serif;
    font-size: 0.9em;
    transition: all 0.2s;
}

.mode-btn:hover {
    background: #e8e8e8;
    border-color: #999;
}

.mode-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

.output-section {
    background: white;
    padding: 25px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.output-header h4 {
    margin: 0;
    font-size: 1em;
    font-weight: bold;
}

.output-content {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    word-break: break-all;
    min-height: 100px;
}

.copy-btn-small {
    padding: 8px 16px;
    background: #666;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Verdana', sans-serif;
    font-size: 0.85em;
    transition: all 0.2s;
}

.copy-btn-small:hover {
    background: #888;
}

.options-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* ── Page-specific styles (moved from inline) ───────────────────────────── */

/* browser/cookies-storage.html */
.status-indicator {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 8px;
    }
.status-ok {
        background: #4CAF50;
    }
.status-error {
        background: #f44336;
    }
.status-warning {
        background: #FF9800;
    }
.test-section h3 {
        margin-bottom: 15px;
        font-size: 1.1em;
    }
.test-result {
        padding: 10px;
        margin: 10px 0;
        background: #f9f9f9;
        border-left: 4px solid #ddd;
    }
.test-result.success {
        border-left-color: #4CAF50;
    }
.test-result.error {
        border-left-color: #f44336;
    }
.test-result.warning {
        border-left-color: #FF9800;
    }
.progress-bar {
        width: 100%;
        height: 20px;
        background: #f0f0f0;
        border: 1px solid #ddd;
        margin: 10px 0;
        position: relative;
    }
.progress-fill {
        height: 100%;
        background: #4CAF50;
        transition: width 0.3s;
    }
.progress-text {
        position: absolute;
        width: 100%;
        text-align: center;
        line-height: 20px;
        font-size: 0.8em;
        font-weight: bold;
    }
.timestamp {
        font-size: 0.85em;
        color: #888;
        margin-top: 10px;
    }

/* browser/feature-support.html */
.feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        margin: 20px 0;
    }
.feature-item {
        background: #fafafa;
        padding: 15px;
        border: 1px solid #ddd;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.2s;
        min-height: 50px;
    }
.feature-item:hover {
        background: #fafafa;
    }
.feature-name {
        font-weight: bold;
        font-size: 0.9em;
    }
.feature-status {
        font-size: 1.2em;
        font-weight: bold;
    }
.feature-status.supported {
        color: #4CAF50;
    }
.feature-status.not-supported {
        color: #f44336;
    }
.feature-status.partial {
        color: #FF9800;
    }
.summary-card {
        background: #f5f5f5;
        padding: 20px;
        border-left: 4px solid #4CAF50;
        margin: 20px 0;
    }
.summary-card h3 {
        margin: 0;
    }
.summary-stats {
        display: flex;
        gap: 30px;
        flex-wrap: wrap;
    }
.stat {
        font-size: 1.1em;
    }
.stat-number {
        font-size: 2em;
        font-weight: bold;
        margin-right: 5px;
    }

/* network/connection-stability.html */
.stability-container {
        margin: auto 0;
    }
100% { transform: rotate(360deg); }
}

    @media (max-width: 768px) {
    }
.result-card {
        background: white;
        padding: 20px;
        border: 1px solid #ddd;
        text-align: center;
        position: relative;
    }
.result-label {
        font-size: 0.75em;
        color: #666;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
.result-value {
        font-size: 2em;
        font-weight: bold;
        margin-bottom: 5px;
    }
.result-unit {
        font-size: 0.85em;
        color: #888;
        margin-bottom: 8px;
    }
.quality-badge {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 3px;
        font-size: 0.75em;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
.quality-excellent {
        background: #28a745;
        color: white;
    }
.quality-good {
        background: #5cb85c;
        color: white;
    }
.quality-fair {
        background: #ffc107;
        color: #333;
    }
.quality-poor {
        background: #dc3545;
        color: white;
    }

/* network/dns-resolution.html */
.dns-container {
        margin: auto 0;
    }
.dns-header {
        margin-bottom: 30px;
    }
.dns-form {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
        flex-wrap: wrap;
        align-items: flex-end;
    }
.form-group {
        flex: 1;
        min-width: 250px;
    }
.form-label {
        display: block;
        font-size: 0.85em;
        font-weight: bold;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
.form-input {
        width: 100%;
        padding: 12px;
        font-size: 1em;
        border: 2px solid #ddd;
        transition: border-color 0.2s;
        font-family: 'Courier New', monospace;
    }
.form-input:focus {
        outline: none;
        border-color: #333;
    }
.form-select {
        width: 100%;
        padding: 12px;
        font-size: 1em;
        border: 2px solid #ddd;
        background: white;
        cursor: pointer;
    }
.form-select:focus {
        outline: none;
        border-color: #333;
    }
.status-message {
        padding: 15px;
        margin-bottom: 20px;
        border-left: 4px solid #333;
        background: #f9f9f9;
        font-size: 0.9em;
    }
.status-error {
        border-left-color: #d32f2f;
        background: #ffebee;
        color: #b71c1c;
    }
.status-success {
        border-left-color: #388e3c;
        background: #e8f5e9;
        color: #1b5e20;
    }
.records-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        font-size: 0.9em;
    }
.records-table th {
        background: #f5f5f5;
        padding: 12px;
        text-align: left;
        font-weight: bold;
        border-bottom: 2px solid #333;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.85em;
    }
.records-table td {
        padding: 12px;
        border-bottom: 1px solid #e0e0e0;
        font-family: 'Courier New', monospace;
        word-break: break-all;
    }
.records-table tr:hover {
        background: #f9f9f9;
    }
.no-records {
        text-align: center;
        padding: 40px;
        color: #666;
        font-style: italic;
    }
.record-type-badge {
        display: inline-block;
        padding: 4px 8px;
        background: #e0e0e0;
        font-size: 0.85em;
        font-weight: bold;
        border-radius: 3px;
    }
.query-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin-bottom: 30px;
    }
.info-label {
        font-size: 0.75em;
        color: #666;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
.info-value {
        font-size: 1.1em;
        font-weight: bold;
        font-family: 'Courier New', monospace;
    }
100% { transform: rotate(360deg); }
}

    .seo-intro {
    background: transparent;
    padding: 0;
    margin: 40px 0;
    border-left: none;
    line-height: 1.8;
}

/* network/http-headers.html */
.headers-container {
        margin: auto 0;
    }
100% { transform: rotate(360deg); }
}

    .headers-section {
        margin: 30px 0;
    }
.headers-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }
.header-card {
        background: white;
        padding: 20px;
        border: 1px solid #ddd;
    }
.header-card h4 {
        font-size: 0.9em;
        color: #666;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }
.header-card .value {
        font-size: 0.95em;
        font-family: 'Courier New', monospace;
        word-break: break-all;
        color: #000;
        line-height: 1.6;
    }
.headers-table {
        width: 100%;
        border-collapse: collapse;
        background: white;
        border: 1px solid #ddd;
    }
.headers-table th {
        background: #f5f5f5;
        padding: 12px;
        text-align: left;
        font-weight: bold;
        border-bottom: 2px solid #333;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.85em;
    }
.headers-table td {
        padding: 12px;
        border-bottom: 1px solid #e0e0e0;
        font-family: 'Courier New', monospace;
        font-size: 0.9em;
        word-break: break-all;
    }
.headers-table tr:hover {
        background: #f9f9f9;
    }
.header-name {
        font-weight: bold;
        color: #333;
    }

/* network/subnet-calculator.html */
.subnet-container {
        margin: 40px 0;
    }
.input-row {
        display: flex;
        gap: 10px;
        align-items: center;
    }
.input-row input {
        flex: 1;
        padding: 12px;
        border: 1px solid #ddd;
        font-family: 'Courier New', monospace;
        font-size: 1em;
    }
.input-row select {
        padding: 12px;
        border: 1px solid #ddd;
        font-family: 'Courier New', monospace;
        font-size: 1em;
        background: white;
        min-width: 100px;
    }
.example-cidr {
        display: inline-block;
        padding: 8px 16px;
        background: #f0f0f0;
        border: 1px solid #ccc;
        cursor: pointer;
        font-size: 0.85em;
        margin: 5px 5px 5px 0;
        transition: all 0.2s;
        font-family: 'Courier New', monospace;
    }
.example-cidr:hover {
        background: #e0e0e0;
    }
.error-message.active {
        display: block;
    }
.result-section {
        background: white;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
.result-header {
        background: #000;
        color: white;
        padding: 15px;
        font-weight: bold;
    }
.result-content {
        padding: 20px;
    }
.result-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        margin-bottom: 20px;
    }
.result-card {
        background: #f9f9f9;
        padding: 15px;
        border: 1px solid #ddd;
    }
.result-label {
        font-size: 0.85em;
        color: #666;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
.result-value {
        font-size: 1.2em;
        font-weight: bold;
        color: #000;
        font-family: 'Courier New', monospace;
        word-break: break-all;
    }
.ip-range-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        font-family: 'Courier New', monospace;
        font-size: 0.9em;
    }
.ip-range-table th {
        background: #f0f0f0;
        padding: 10px;
        text-align: left;
        border: 1px solid #ddd;
        font-weight: bold;
    }
.ip-range-table td {
        padding: 10px;
        border: 1px solid #ddd;
    }
.ip-range-table tr:nth-child(even) {
        background: #f9f9f9;
    }
.binary-display {
        font-family: 'Courier New', monospace;
        font-size: 0.9em;
        background: #f5f5f5;
        padding: 15px;
        border: 1px solid #ddd;
        margin-top: 15px;
        line-height: 1.8;
    }
.binary-octet {
        display: inline-block;
        margin-right: 15px;
    }
.copy-btn {
        padding: 4px 8px;
        background: #666;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 0.75em;
        margin-left: 10px;
    }
.copy-btn:hover {
        background: #888;
    }

/* dev-tools/base64-encoder-decoder.html */
.base64-container { margin: 30px 0; }
.mode-selector { margin-bottom: 30px; }
.output-content { min-height: 100px; padding: 20px; }
.checkbox-option { display: flex; align-items: center; gap: 10px; }
.checkbox-option input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
.checkbox-option label { cursor: pointer; font-size: 0.9em; }
.options-row { margin: 20px 0; padding: 15px; background: #f9f9f9; border: 1px solid #eee; }
.jwt-section, .cert-section { display: none; }
.jwt-section.active, .cert-section.active { display: block; }
.jwt-part { background: white; border: 1px solid #ddd; margin-bottom: 20px; }
.jwt-part-header { display: flex; justify-content: space-between; align-items: center; background: #f5f5f5; padding: 15px; border-bottom: 1px solid #ddd; }
.jwt-part-header span { font-weight: bold; font-size: 0.95em; }
.jwt-part-content { padding: 20px; font-family: 'Courier New', monospace; font-size: 0.9em; background: #fafafa; white-space: pre-wrap; word-break: break-all; }
.cert-info-grid { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; }
.cert-info-grid .cert-label { font-weight: bold; color: #666; font-size: 0.9em; }
.cert-info-grid .cert-value { font-family: 'Courier New', monospace; font-size: 0.9em; word-break: break-all; }
@media (max-width: 768px) { .cert-info-grid { grid-template-columns: 1fr; } }

/* dev-tools/hash-generator.html */
.hash-container {
        margin-top: 20px;
    }
.input-group input[type="file"] {
        padding: 12px;
        border: 1px solid #ddd;
        width: 100%;
        box-sizing: border-box;
    }
.tab-container {
        display: flex;
        border-bottom: 2px solid #ddd;
        margin-bottom: 20px;
    }
.tab {
        padding: 12px 24px;
        background: #f0f0f0;
        border: none;
        cursor: pointer;
        font-family: 'Verdana', sans-serif;
        font-size: 0.9em;
        border-top: 2px solid transparent;
        transition: all 0.2s;
    }
.tab:hover {
        background: #e0e0e0;
    }
.tab.active {
        background: white;
        border-top: 2px solid #000;
        font-weight: bold;
    }
.tab-content {
        display: none;
    }
.tab-content.active {
        display: block;
    }
.algorithm-selector {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }
.algorithm-btn {
        padding: 10px 20px;
        background: #f0f0f0;
        border: 2px solid #ddd;
        cursor: pointer;
        font-family: 'Verdana', sans-serif;
        font-size: 0.9em;
        transition: all 0.2s;
    }
.algorithm-btn:hover {
        background: #e0e0e0;
    }
.algorithm-btn.selected {
        background: #000;
        color: white;
        border-color: #000;
    }
.hash-result {
        background: white;
        border: 1px solid #ddd;
        margin-bottom: 15px;
    }
.hash-header {
        background: #f0f0f0;
        padding: 12px 15px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #ddd;
    }
.hash-value {
        padding: 15px;
        font-family: 'Courier New', monospace;
        word-break: break-all;
        background: #fafafa;
        font-size: 0.9em;
    }
.copy-hash-btn {
        padding: 6px 12px;
        background: #666;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 0.8em;
    }
.copy-hash-btn:hover {
        background: #888;
    }
.file-info {
        background: #f9f9f9;
        padding: 15px;
        border: 1px solid #ddd;
        margin-bottom: 20px;
        font-size: 0.9em;
    }
.file-info strong {
        display: inline-block;
        min-width: 100px;
    }
.example-text {
        display: inline-block;
        padding: 8px 16px;
        background: #f0f0f0;
        border: 1px solid #ccc;
        cursor: pointer;
        font-size: 0.85em;
        margin: 5px 5px 5px 0;
        transition: all 0.2s;
    }
.example-text:hover {
        background: #e0e0e0;
    }
.processing-indicator {
        display: none;
        padding: 15px;
        background: #fff3cd;
        border: 1px solid #ffc107;
        margin-top: 15px;
        text-align: center;
    }
.processing-indicator.active {
        display: block;
    }

/* dev-tools/json-xml-formatter-validator.html */
.formatter-container { margin-top: 25px; }
.mode-selector { margin: 30px 0; }
.output-content { min-height: 200px; max-height: 600px; overflow-y: auto; }
.indent-selector { display: flex; align-items: center; gap: 10px; }
.indent-selector label { margin: 0; font-weight: normal; }
.indent-selector select { padding: 8px; border: 1px solid #ddd; font-family: 'Verdana', sans-serif; }
.validation-status { padding: 15px; margin-bottom: 20px; border-radius: 4px; display: none; }
.validation-status.valid { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; display: block; }
.validation-status.invalid { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; display: block; }
.validation-status strong { display: block; margin-bottom: 5px; }
.error-details { font-family: 'Courier New', monospace; font-size: 0.9em; margin-top: 10px; white-space: pre-wrap; }
.stats-section { background: #f9f9f9; padding: 15px; border: 1px solid #ddd; margin-top: 15px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: 10px; }
.stat-item { display: flex; justify-content: space-between; }
.stat-label { color: #666; }
.stat-value { font-weight: bold; font-family: 'Courier New', monospace; }
.example-item { display: inline-block; padding: 8px 16px; background: #f0f0f0; border: 1px solid #ccc; cursor: pointer; font-size: 0.85em; margin: 5px 5px 5px 0; transition: all 0.2s; }
.example-item:hover { background: #e0e0e0; }
@media (max-width: 768px) {
    .mode-selector { flex-direction: column; }
    .mode-btn { width: 100%; }
    .options-row { flex-direction: column; align-items: flex-start; }
}

/* security/cert-checker.html */
.cert-container {
        margin: auto 0;
    }
.input-group input {
        width: 100%;
        padding: 12px;
        font-size: 1em;
        border: 2px solid #ddd;
        font-family: 'Courier New', monospace;
    }
.input-group input:focus {
        outline: none;
        border-color: #333;
    }
.input-group .btn {
        align-self: flex-start;
        white-space: nowrap;
        min-width: 180px;
    }
.btn-secondary:hover:not(:disabled) {
        background: #f5f5f5;
    }
.status-message {
        padding: 15px;
        margin: 15px 0;
        border-left: 4px solid #ddd;
        background: #f9f9f9;
    }
.status-message.error {
        border-left-color: #dc3545;
        background: #f8d7da;
        color: #721c24;
    }
.status-message.success {
        border-left-color: #28a745;
        background: #d4edda;
        color: #155724;
    }
.status-message.warning {
        border-left-color: #ffc107;
        background: #fff3cd;
        color: #856404;
    }
.cert-chain {
        margin: 30px 0;
    }
.chain-overview {
        background: white;
        padding: 20px;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
.chain-overview h3 {
        margin: 0 0 15px 0;
        font-size: 1.2em;
    }
.chain-status {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
.status-indicator {
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }
.status-valid {
        background: #28a745;
    }
.status-invalid {
        background: #dc3545;
    }
.status-warning {
        background: #ffc107;
    }
.cert-card {
        background: white;
        border: 2px solid #ddd;
        margin-bottom: 15px;
        overflow: hidden;
    }
.cert-card.leaf {
        border-color: #28a745;
    }
.cert-card.intermediate {
        border-color: #17a2b8;
    }
.cert-card.root {
        border-color: #6c757d;
    }
.cert-header {
        padding: 15px 20px;
        background: #f8f9fa;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        user-select: none;
    }
.cert-header:hover {
        background: #e9ecef;
    }
.cert-type {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 3px;
        font-size: 0.75em;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-right: 10px;
    }
.cert-type.leaf {
        background: #28a745;
        color: white;
    }
.cert-type.intermediate {
        background: #17a2b8;
        color: white;
    }
.cert-type.root {
        background: #6c757d;
        color: white;
    }
.cert-
    .cert-body.expanded {
        display: block;
    }
.cert-detail {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
.cert-detail:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
.cert-label {
        font-weight: bold;
        color: #666;
        font-size: 0.9em;
    }
.cert-value {
        font-family: 'Courier New', monospace;
        font-size: 0.9em;
        word-break: break-all;
    }
.expiry-warning {
        color: #dc3545;
        font-weight: bold;
    }
.expiry-soon {
        color: #ffc107;
        font-weight: bold;
    }
.expiry-good {
        color: #28a745;
    }
100% { transform: rotate(360deg); }
}

    .seo-intro {
    background: transparent;
    padding: 0;
    margin: 40px 0;
    border-left: none;
    line-height: 1.8;
}

/* security/webrtc-leak.html */
.webrtc-container {
        margin: auto 0;
    }
.webrtc-header {
        margin-bottom: 30px;
    }
.webrtc-header
    .webrtc-header p {
        color: #666;
        line-height: 1.5;
    }
.ip-section {
        margin: 30px 0;
    }
.ip-list {
        background: #f9f9f9;
        padding: 20px;
        border: 1px solid #ddd;
    }
.ip-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        background: white;
        margin-bottom: 10px;
        border-left: 4px solid #333;
    }
.ip-item:last-child {
        margin-bottom: 0;
    }
.ip-label {
        font-weight: bold;
        font-size: 0.9em;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
.ip-value {
        font-family: 'Courier New', monospace;
        font-size: 1em;
        word-break: break-all;
    }
.info-box {
        background: transparent;
        margin: 10px 0;
        line-height: 1.8;
    }
.info-box h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
		margin-top: 40px;
    }
.info-box p {
        color: #333;
        margin-bottom: 10px;
    }
100% { transform: rotate(360deg); }
}

    .no-ips {
        text-align: center;
        padding: 40px;
        color: #666;
        font-style: italic;
    }

/* dev-tools/regex-checker.html */
.regex-container { margin-top: 0; }
.pattern-input-group { margin-bottom: 20px; }
.pattern-input-group label { display: block; margin-bottom: 8px; font-weight: bold; font-size: .9em; }
.pattern-input-group input { width: 100%; padding: 12px; border: 1px solid #ddd; font-family: 'Courier New', monospace; font-size: .95em; box-sizing: border-box; }
.flags-inline { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.flag-option { display: flex; align-items: center; gap: 6px; }
.flag-option input[type="checkbox"] { cursor: pointer; width: 16px; height: 16px; margin: 0; }
.flag-option label { cursor: pointer; font-size: .9em; user-select: none; }
.common-patterns-row { margin-bottom: 20px; position: relative; }
.common-patterns-row label { display: block; margin-top: 20px; margin-bottom: 8px; font-weight: bold; font-size: .9em; }
.pattern-dropdown-button { width: 100%; max-width: 500px; padding: 10px; border: 1px solid #ddd; font-size: .95em; background: white; cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; }
.pattern-dropdown-button:hover { background: #f9f9f9; }
.pattern-dropdown-button::after { content: '▼'; font-size: .8em; color: #666; }
.pattern-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; border: 1px solid #ddd; box-shadow: 0 4px 6px rgba(0,0,0,.1); z-index: 1000; width: 100%; max-width: 500px; max-height: 40vh; overflow-y: auto; margin-top: 2px; }
.pattern-dropdown-menu.active { display: block; }
.pattern-group-label { padding: 8px 12px; background: #f5f5f5; font-weight: bold; font-size: .85em; color: #666; text-transform: uppercase; letter-spacing: .05em; border-top: 1px solid #ddd; }
.pattern-group-label:first-child { border-top: none; }
.pattern-option { padding: 10px 12px; cursor: pointer; font-size: .9em; border-bottom: 1px solid #f0f0f0; transition: background .2s; }
.pattern-option:hover { background: #f9f9f9; border-left: 3px solid #999; padding-left: 15px; }
.test-string-group { margin-bottom: 20px; }
.test-string-group label { display: block; margin-bottom: 8px; font-weight: bold; font-size: .9em; }
.test-string-group textarea { width: 100%; min-height: 200px; padding: 12px; border: 1px solid #ddd; font-family: 'Courier New', monospace; font-size: .95em; resize: vertical; box-sizing: border-box; }
.btn-primary { background: #333; color: white; }
.btn-primary:hover { background: #555; }
.results-container { border: 1px solid #ddd; background: #fafafa; }
.results-header { background: #e8e8e8; padding: 15px 20px; font-weight: bold; font-size: 1.05em; border-bottom: 1px solid #ddd; }
.results-content { padding: 20px; }
.stat-card { background: white; padding: 15px; border: 1px solid #ddd; }
.stat-card .stat-label { font-size: .85em; color: #666; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.stat-card .stat-value { font-size: 1.5em; font-weight: bold; color: #333; }
.no-matches { padding: 30px; text-align: center; color: #666; font-style: italic; }
.match-item { background: white; border: 1px solid #ddd; padding: 15px; margin-bottom: 10px; }
.match-index { font-size: .85em; color: #666; margin-bottom: 8px; font-weight: bold; }
.match-text { background: #fffacd; padding: 10px; font-family: 'Courier New', monospace; border-left: 4px solid #ffeb3b; margin-bottom: 10px; word-break: break-all; }
.match-groups { font-size: .9em; color: #555; background: #f5f5f5; padding: 10px; border-left: 3px solid #999; line-height: 1.6; }

/* network/connection-stability.html - grid overrides */
.stability-container .results-grid {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
    .stability-container .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.result-card {
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
    text-align: center;
    position: relative;
}
.result-label {
    font-size: 0.75em;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.result-value {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 5px;
}
.result-unit {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 8px;
}
.quality-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.quality-excellent { background: #28a745; color: white; }
.quality-good { background: #5cb85c; color: white; }
.quality-fair { background: #ffc107; color: #333; }
.quality-poor { background: #dc3545; color: white; }
