/* ============================================
   HTTP-HEADER-CHECKER.HTML
   ============================================ */

.main-content-no-padding {
    padding-top: 0 !important;
}

.hhc-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
}

.hhc-card {
    background: var(--surface);
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 4px 4px 0 #1a1a1a;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hhc-card:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #1a1a1a;
}

.hhc-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: -24px -24px 16px -24px;
    padding: 12px 16px;
    border-bottom: 2px solid #1a1a1a;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hhc-card-url {
    background: #e0d4fc;
}

.hhc-card-url .hhc-card-title {
    background: #e0d4fc;
}

.hhc-card-results {
    background: #b8f0ef;
}

.hhc-card-results .hhc-card-title {
    background: #b8f0ef;
}

.hhc-help {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hhc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #1a1a1a;
    background: #fff;
    font: inherit;
    margin: 0 0 12px;
}

.hhc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hhc-issues {
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #1a1a1a;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #ffe8d6;
}

.hhc-issues ul {
    margin: 8px 0 0;
    padding-left: 1.2rem;
}

.hhc-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.hhc-panel {
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #1a1a1a;
    padding: 12px 14px;
    background: #fff;
}

.hhc-panel h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.hhc-dl {
    margin: 0;
}

.hhc-dl div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px;
    margin: 4px 0;
    font-size: 0.92rem;
    word-break: break-word;
}

.hhc-dl dt {
    font-weight: 700;
}

.hhc-empty {
    margin: 0;
}

@media (min-width: 768px) {
    .hhc-panels {
        grid-template-columns: 1fr 1fr;
    }
}

.page-http-header-checker .gradient-text-green,
.page-http-header-checker .gradient-text-blue,
.page-http-header-checker .gradient-text-purple {
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

.page-http-header-checker .gradient-text-green { color: #047857 !important; }
.page-http-header-checker .gradient-text-blue { color: #1d4ed8 !important; }
.page-http-header-checker .gradient-text-purple { color: #6d28d9 !important; }

@media (prefers-color-scheme: dark) {
    .hhc-card,
    .hhc-input,
    .hhc-issues,
    .hhc-panel {
        border-color: #f0ede8;
        box-shadow: 4px 4px 0 #f0ede8;
    }
    .hhc-input,
    .hhc-panel {
        background: #1e1e1e;
        color: #f0ede8;
    }
    .hhc-card-url,
    .hhc-card-url .hhc-card-title { background: rgba(224, 212, 252, 0.14); }
    .hhc-card-results,
    .hhc-card-results .hhc-card-title { background: rgba(184, 240, 239, 0.12); }
    .hhc-issues { background: rgba(255, 214, 184, 0.16); }
}
