/* https://x.com/i/grok?conversation=1925811056263196755 */
* {
    box-sizing: border-box;
}

.whois-search-form form {
    pointer-events: auto !important;
}

.whois-container {
    max-width: 800px;
    width: calc(100% - 20px);
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.whois-container h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.whois-container .section {
    margin-bottom: 20px;
}

.whois-container .section h2 {
    color: #0cd2df;
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #0cd2df;
    padding-bottom: 5px;
}

.whois-container .info {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.whois-container .info:last-child {
    border-bottom: none;
}

.whois-container .label {
    font-weight: bold;
    color: #2c3e50;
    width: 30%;
}

.whois-container .value {
    width: 65%;
    color: #333;
    background-color: rgba(64, 214, 129, 0.2);
    padding: 5px 10px;
    border-radius: 4px;
    word-wrap: break-word;
}

.whois-container .value ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whois-container .value ul li {
    margin-bottom: 5px;
}

.whois-container .error {
    color: #e74c3c;
    text-align: center;
    font-size: 18px;
}

.whois-container .raw-data {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    word-wrap: break-word;
    max-width: 100%;
}

.whois-search-form {
    max-width: 800px;
    width: calc(100% - 20px);
    margin: 20px auto;
    text-align: center;
}

.whois-search-form input[type="text"] {
    padding: 10px;
    width: 70%;
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.whois-search-form button {
    padding: 10px 20px;
    background-color: #0cd2df;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.whois-search-form button:hover {
    background-color: #0ab8c5;
}

@media (max-width: 768px) {
    .whois-container {
        width: calc(100% - 16px);
        padding: 15px;
    }

    .whois-container h1 {
        font-size: 24px;
    }

    .whois-container .section h2 {
        font-size: 18px;
    }

    .whois-container .info {
        flex-direction: column;
        gap: 5px;
    }

    .whois-container .label,
    .whois-container .value {
        width: 100%;
        font-size: 14px;
    }

    .whois-container .value {
        padding: 8px;
    }

    .whois-container .raw-data {
        font-size: 12px;
    }

    .whois-search-form input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
    }

    .whois-search-form button {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .whois-container {
        width: calc(100% - 10px);
        padding: 10px;
    }

    .whois-container h1 {
        font-size: 20px;
    }

    .whois-container .section h2 {
        font-size: 16px;
    }

    .whois-container .label,
    .whois-container .value {
        font-size: 13px;
    }

    .whois-container .raw-data {
        font-size: 11px;
    }
}

#whois-domain-display {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0;
}