/* CSS Cho Plugin Tra Cứu WHOIS */
.whois-checker-container {
    max-width: 700px;
    margin: 20px auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    box-sizing: border-box;
}

.whois-checker-container * {
    box-sizing: border-box;
}

.whois-header {
    margin-bottom: 20px;
    text-align: center;
}

.whois-header h2 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
}

.whois-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.whois-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.whois-search-box input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.whois-search-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.whois-search-box button {
    padding: 12px 28px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.whois-search-box button:hover {
    background-color: #1d4ed8;
}

#whois-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    color: #475569;
    font-size: 14px;
}

.whois-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: whois-spin 0.8s linear infinite;
}

@keyframes whois-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.whois-box {
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.whois-available {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 15px;
}

.whois-details {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.whois-details h3 {
    margin: 0 0 16px 0;
    font-size: 17px;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.whois-details h3 span {
    color: #2563eb;
}

.whois-table {
    width: 100%;
    border-collapse: collapse;
}

.whois-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
    vertical-align: top;
}

.whois-table tr:last-child td {
    border-bottom: none;
}

.whois-table td.lbl {
    width: 40%;
    font-weight: 600;
    color: #475569;
}

.whois-error-box {
    padding: 14px 18px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 15px;
}

@media (max-width: 500px) {
    .whois-search-box {
        flex-direction: column;
    }
    .whois-table td.lbl {
        width: 50%;
    }
}
