body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #3498db;
    color: #fff;
    padding: 20px;
    text-align: center;
}

#lookup-form {
    text-align: center;
    padding: 20px;
}

#lookup-form input[type="text"] {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

#lookup-form button {
    background-color: #2ecc71;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#whois-results {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
}

/* --- WHOIS DATA STYLES --- */
.whois-data {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.whois-data .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.whois-data h1 {
    font-size: 1.5em;
    margin: 0;
}

.whois-data .refresh {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 0.8em;
}

.whois-data .refresh svg {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    cursor: pointer;
    fill: #777; /* Set the SVG fill color */
}

.whois-data .df-block {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

.whois-data .df-heading {
    background-color: #f9f9f9;
    padding: 8px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: #555;
}

.whois-data .df-heading .df-ico-domain,
.whois-data .df-heading .df-ico-rar,
.whois-data .df-heading .df-ico-regcon,
.whois-data .df-heading .df-ico-admcon,
.whois-data .df-heading .df-ico-tekcon {
    /* Add styles for your icons here (e.g., using Font Awesome or similar) */
    margin-right: 5px;
}

.whois-data .df-row {
    display: flex;
    margin-bottom: 5px;
}

.whois-data .df-label {
    width: 150px;
    font-weight: bold;
    color: #666;
}

.whois-data .df-value {
    flex: 1;
    color: #444;
}

.whois-data .df-value img.email {
    /* Styles for the email image, if needed */
    vertical-align: middle; /* Align with text */
}
/* --- END WHOIS DATA STYLES --- */

footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.faq {
    margin-top: 20px;
    text-align: left;
}

.faq ul {
    list-style: none;
    padding: 0;
}

.faq li {
    margin-bottom: 10px;
}

.error {
    color: red;
}

/* Responsive Design */
@media (max-width: 600px) {
    #lookup-form input[type="text"] {
        width: 80%;
        margin-bottom: 10px;
        margin-right: 0;
    }

    #lookup-form button {
        width: 80%;
    }
}

/* Example Animation (Customize as you wish) */
header {
    animation: fadeInDown 1s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Turnstile Styling */
.turnstile-wrapper {
    margin-top: 10px;
    text-align: center;
}