.cp-whois-checker {
    padding: 48px 16px 72px;
    background: #f7f9fe;
}
.cp-whois-checker__container {
    width: min(920px, 100%);
    margin: 0 auto;
}

.cp-whois-checker__intro {
    margin-bottom: 28px;
    text-align: center;
}

.cp-whois-checker__eyebrow {
    color: #6551d4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cp-whois-checker h1,
.cp-whois-result h2,
.cp-whois-result h3 {
    color: #1b2559;
}

.cp-whois-checker h1 {
    margin: 8px 0 10px;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 750;
}

.cp-whois-checker__intro p {
    max-width: 580px;
    margin: 0 auto;
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
}

.cp-whois-checker__form,
.cp-whois-result {
    padding: 28px;
    border: 1px solid #e5e9f5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(27, 37, 89, .07);
}

.cp-whois-checker__form > label {
    display: block;
    margin-bottom: 8px;
    color: #1b2559;
    font-size: 14px;
    font-weight: 650;
}

.cp-whois-checker__input-row {
    display: flex;
    gap: 10px;
}

.cp-whois-checker__input-row input {
    min-width: 0;
    flex: 1;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #d6dceb;
    border-radius: 10px;
    color: #1b2559;
    font-size: 16px;
}

.cp-whois-checker__input-row input:focus {
    border-color: #6551d4;
    outline: 3px solid rgba(101, 81, 212, .14);
}

.cp-whois-checker__input-row button {
    min-width: 150px;
    border: 0;
    border-radius: 10px;
    background: #6551d4;
}

.cp-whois-checker__form .captcha-cloudx-theme {
    margin-top: 18px;
}

.cp-whois-checker__alert {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.cp-whois-checker__alert--error,
.cp-whois-checker__alert--invalid,
.cp-whois-checker__alert--not_found,
.cp-whois-checker__alert--rate_limited,
.cp-whois-checker__alert--unsupported,
.cp-whois-checker__alert--upstream_error {
    background: #fff3f2;
    color: #a33a35;
}

.cp-whois-result {
    margin-top: 24px;
}

.cp-whois-result__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0f7;
}

.cp-whois-result h2 {
    margin: 8px 0 0;
    font-size: clamp(22px, 4vw, 32px);
    overflow-wrap: anywhere;
}

.cp-whois-result__heading a {
    color: #6551d4;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    text-align: right;
}

.cp-whois-result__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.cp-whois-result__grid > div {
    padding: 15px;
    border-radius: 10px;
    background: #f7f8fc;
}

.cp-whois-result dt {
    margin-bottom: 7px;
    color: #667085;
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
}

.cp-whois-result dd {
    margin: 0;
    color: #1b2559;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.cp-whois-status {
    display: inline-block;
    margin: 0 4px 4px 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e9e5ff;
    color: #5141ad;
    font-size: 12px;
}

.cp-whois-result__nameservers {
    padding-top: 4px;
}

.cp-whois-result__nameservers h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.cp-whois-result__nameservers ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-whois-result__nameservers li,
.cp-whois-result__nameservers p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

@media (max-width: 640px) {
    .cp-whois-checker {
        padding: 32px 12px 52px;
    }

    .cp-whois-checker__form,
    .cp-whois-result {
        padding: 20px;
        border-radius: 14px;
    }

    .cp-whois-checker__input-row,
    .cp-whois-result__heading {
        display: block;
    }

    .cp-whois-checker__input-row button {
        width: 100%;
        margin-top: 10px;
    }

    .cp-whois-result__heading a {
        display: inline-block;
        margin-top: 14px;
        text-align: left;
    }

    .cp-whois-result__grid,
    .cp-whois-result__nameservers ul {
        grid-template-columns: 1fr;
    }
}
