/* DNS Checker Page */
.dns-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.dns-page h1 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dns-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Search form */
.dns-search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.dns-search-form input[type="text"] {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.dns-search-form select {
    margin-bottom: 0;
    min-width: 100px;
}

/* Results area */
.dns-results {
    margin-top: 1rem;
}

.dns-status {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.dns-no-records {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
}

/* Results table */
.dns-table-wrap {
    overflow-x: auto;
}

.dns-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.dns-table th,
.dns-table td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.dns-table th {
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.dns-table td {
    color: var(--text-primary);
}

.dns-table tr:hover td {
    background: var(--bg-surface);
}

.dns-table .dns-type-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.dns-table .dns-value {
    word-break: break-all;
    font-family: monospace;
    font-size: 0.85rem;
}

.dns-table .dns-ttl {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

/* SOA details */
.dns-soa-details {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.dns-soa-details span {
    margin-right: 0.8rem;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .dns-search-form {
        flex-direction: column;
    }

    .dns-search-form select {
        width: 100%;
    }

    .dns-table th,
    .dns-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
}
