/* ============================================
   SITEMAP-VALIDATOR.HTML
   ============================================ */

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

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

.smv-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;
}

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

.smv-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;
}

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

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

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

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

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

.smv-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;
}

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

.smv-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.smv-type-chip {
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #1a1a1a;
    padding: 4px 10px;
    font-weight: 700;
    background: #f8f0b8;
}

.smv-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.smv-stat {
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #1a1a1a;
    padding: 8px 12px;
    background: #fff;
    font-size: 0.9rem;
}

.smv-stat strong {
    display: block;
    font-size: 1.1rem;
}

.smv-issues,
.smv-sample,
.smv-children {
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #1a1a1a;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fff;
}

.smv-issues {
    background: #ffe8d6;
}

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

.smv-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.smv-table th,
.smv-table td {
    text-align: left;
    padding: 6px 8px;
    border-bottom: 1px solid #1a1a1a;
    word-break: break-all;
}

.smv-empty {
    margin: 0;
}

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

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

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