.dns-check-form {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 18px;
}

.dns-summary {
    margin-top: 18px;
}

.dns-summary-card {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.dns-summary-success {
    background: #ecfdf5;
    color: #047857;
}

.dns-summary-warning {
    background: #fffbeb;
    color: #b45309;
}

.dns-summary-error {
    background: #fef2f2;
    color: #b91c1c;
}

.dns-results {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.dns-resolver-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.dns-resolver-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dns-status {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.dns-status-success {
    background: #dcfce7;
    color: #166534;
}

.dns-status-warning {
    background: #fef3c7;
    color: #92400e;
}

.dns-status-error {
    background: #fee2e2;
    color: #991b1b;
}

.dns-records {
    padding: 12px 16px;
}

.dns-record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
}

.dns-record:last-child {
    border-bottom: 0;
}

.dns-record-value {
    overflow-wrap: anywhere;
    font-family: monospace;
    font-size: 13px;
}

.dns-record-meta {
    flex-shrink: 0;
    color: #64748b;
    font-size: 12px;
}

.dns-empty,
.dns-error-text {
    padding: 14px 16px;
    color: #64748b;
    font-size: 13px;
}

.dns-error-text {
    color: #b91c1c;
}

@media (max-width: 700px) {

    .dns-check-form {
        grid-template-columns: 1fr;
    }

    .dns-record {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .dns-resolver-header {
        align-items: flex-start;
        flex-direction: column;
    }

}
