.dns-checker-wrapper {
    max-width: 1000px; /* ⬅️ increased from 700px */
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: "Inter", sans-serif;
    overflow-x: auto;
}


.dns-title {
    text-align: center;
    margin-bottom: 5px;
    color: #222;
}

.dns-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.dns-input-area {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

#dns-domain {
    width: 70%;
    min-width: 260px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

#dns-check-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

#dns-check-btn:hover {
    background: #005d8a;
}

.dns-loading {
    text-align: center;
    color: #555;
    font-style: italic;
}

.dns-error {
    text-align: center;
    color: red;
    background: #ffeaea;
    padding: 10px;
    border-radius: 8px;
}

/* Result Table */
.dns-table {
    width: 100%;
    border-collapse: collapse;
    background: #fafafa;
    border-radius: 8px;
    overflow-x: auto;
    display: block;
}

.dns-table th, .dns-table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: anywhere;
}

.dns-table th {
    width: 160px;
    background: #f3f3f3;
    font-weight: 600;
    text-align: left;
}

.dns-table td {
    font-family: monospace;
    font-size: 14px;
    color: #222;
}

/* Responsive adjustments */
@media (max-width: 700px) {
    .dns-input-area {
        flex-direction: column;
        align-items: center;
    }

    #dns-domain {
        width: 100%;
    }

    #dns-check-btn {
        width: 100%;
    }

    .dns-table th, .dns-table td {
        display: block;
        width: 100%;
    }

    .dns-table tr {
        margin-bottom: 10px;
        display: block;
        border: 1px solid #eee;
        border-radius: 6px;
        background: #fff;
    }

    .dns-table th {
        background: #0073aa;
        color: #fff;
        border-bottom: 1px solid #ddd;
    }
}
