/**
 * Domen Hub — DNS Checker Tool Specific Styles
 * Purely supplementary styles, core layout is managed by public-tools.css
 */

.dns-record-section {
    margin-top: 16px;
    border-top: 1px solid var(--brand-border);
    padding-top: 16px;
    min-width: 0;
}

.dns-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}

.dns-type-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-text);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dns-type-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    background-color: var(--brand-surface-2);
    color: var(--brand-secondary);
    border: 1px solid var(--brand-border);
    flex-shrink: 0;
}

.dns-record-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    box-sizing: border-box;
    table-layout: fixed;
}

.dns-record-table th {
    text-align: left;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--brand-text-muted);
    border-bottom: 1px solid var(--brand-border);
}

.dns-record-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--brand-border);
    color: var(--brand-text);
    vertical-align: top;
    box-sizing: border-box;
}

.dns-record-table tr:last-child td {
    border-bottom: none;
}

.dns-val-cell {
    font-family: var(--font-mono);
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    max-width: 100%;
    line-height: 1.45;
}

.dns-txt-content {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    max-width: 100%;
    display: inline;
}

.dns-ttl-cell {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--brand-text-muted);
    white-space: nowrap;
    text-align: right;
    width: 70px;
}

.dns-pri-cell {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--brand-primary);
    font-weight: 600;
    width: 90px;
    white-space: nowrap;
}

.dns-empty-notice {
    font-size: 13px;
    color: var(--brand-text-muted);
    padding: 6px 0;
    font-style: italic;
}

.dns-cross-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

@media (max-width: 640px) {
    .dns-record-table th, 
    .dns-record-table td {
        padding: 6px 4px;
        font-size: 12px;
    }
    
    .dns-ttl-cell {
        width: 55px;
        font-size: 11px;
    }
    
    .dns-pri-cell {
        width: 75px;
        font-size: 11px;
    }
    
    .dns-type-title {
        font-size: 13px;
    }
}
