/* =========================================================
   ANDINOHOST — WP DOMAIN CHECKER ADAPTER 1.4.4
   Reference-style search + results.
   Elementor Atomic V4 owns the rest of the page.
   ========================================================= */

.andino-whois-plugin,
#andino-domain-results {
    --wdc-brand: #44b5ed;
    --wdc-brand-strong: #168fc8;
    --wdc-ink: #111315;
    --wdc-text: #262b30;
    --wdc-muted: #66717b;
    --wdc-line: #e2e7eb;
    --wdc-line-strong: #cfd7de;
    --wdc-surface: #ffffff;
    --wdc-featured-bg: #f5faff;
    --wdc-featured-line: #b9dcf7;
    --wdc-danger: #a23d45;
    --wdc-success: #168fc8;
    --wdc-taken: #5f6973;
    --wdc-unknown: #8b949c;

    font-family: "Inter", sans-serif !important;
}

 .andino-current-ip {
     color:#44b5ed;
 }
/* =========================================================
   SEARCH CARD
   ========================================================= */

.andino-whois-plugin {
    width: 100%;
    color: var(--wdc-text);
}

.andino-whois-plugin .wdc-style-1-clean-container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid var(--wdc-line) !important;
    border-radius: 10px !important;

    background: var(--wdc-surface) !important;

    box-shadow:
        0 18px 50px rgba(17, 24, 39, 0.06),
        0 2px 8px rgba(17, 24, 39, 0.03) !important;

    overflow: hidden;
}

/*
 * The outer plugin container is now the card.
 * The form itself stays structurally neutral.
 */
.andino-whois-plugin .wdc-style-1-clean-form {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

.andino-whois-plugin .wdc-style-1-clean-form::before {
    content: "WHOIS.ANDINO.HOST";

    display: block;

    padding: 20px 28px;

    border-bottom: 1px solid var(--wdc-line);

    color: #5f6973;

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
}

/* ---------- Search row ---------- */

.andino-whois-plugin .wdc-style-1-clean-search-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;

    align-items: stretch !important;
    gap: 8px !important;

    margin: 0 !important;
    padding: 30px 28px 14px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

.andino-whois-plugin
.wdc-style-1-clean-search-container
input[type="text"],
.andino-whois-plugin .wdc-style-1-clean-search-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    border: 1px solid var(--wdc-line-strong) !important;
    border-radius: 7px !important;
    outline: 0 !important;

    background: #fff !important;
    color: var(--wdc-ink) !important;

    box-shadow:
        inset 0 1px 1px rgba(17, 24, 39, 0.02) !important;

    font-family: "Inter", sans-serif !important;
    font-size: 22px !important;
    font-weight: 720 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.025em !important;

    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease !important;
}

.andino-whois-plugin
.wdc-style-1-clean-search-container
input[type="text"]:focus,
.andino-whois-plugin .wdc-style-1-clean-search-input:focus {
    border-color: var(--wdc-brand) !important;

    box-shadow:
        0 0 0 3px rgba(68, 181, 237, 0.12) !important;
}

.andino-whois-plugin .wdc-style-1-clean-search-input::placeholder {
    color: #aeb6bd !important;
    opacity: 1 !important;
}

/* ---------- Search button ---------- */

.andino-whois-plugin .wdc-style-1-clean-search-button {
    min-width: 190px !important;
    min-height: 56px !important;

    margin: 0 !important;
    padding: 0 24px !important;

    border: 1px solid var(--wdc-ink) !important;
    border-radius: 7px !important;

    background: var(--wdc-ink) !important;
    color: #fff !important;

    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 0 !important;
    font-weight: 760 !important;
    text-transform: none !important;

    cursor: pointer;

    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease !important;
}

/*
 * Keeps the visible label stable even if WP Domain Checker changes
 * its internal button text during AJAX.
 */
.andino-whois-plugin .wdc-style-1-clean-search-button::after {
    content: "Consultar";

    display: inline-block;

    font-family: inherit;
    font-size: 14px;
    font-weight: 760;
    line-height: 1;
    white-space: nowrap;
}

.andino-whois-plugin .wdc-style-1-clean-search-button:hover,
.andino-whois-plugin .wdc-style-1-clean-search-button:focus-visible {
    border-color: #000 !important;
    background: #000 !important;
}

.andino-whois-plugin .wdc-style-1-clean-search-button:active {
    transform: translateY(1px);
}

/* ---------- Suggested TLDs + help ---------- */

.andino-domain-search-extras {
    padding: 0 28px 28px !important;
}

.andino-domain-search-extras .suggested-tlds {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;
}

.andino-domain-search-extras .suggested-tlds button {
    appearance: none;

    min-height: 38px;

    margin: 0;
    padding: 0 16px;

    border: 1px solid var(--wdc-line-strong);
    border-radius: 6px;

    background: #fff;
    color: var(--wdc-ink);

    box-shadow: none;

    font-family: inherit;
    font-size: 12px;
    font-weight: 730;
    line-height: 1;

    cursor: pointer;

    transition:
        border-color 0.16s ease,
        color 0.16s ease,
        background-color 0.16s ease;
}

.andino-domain-search-extras .suggested-tlds button:hover,
.andino-domain-search-extras .suggested-tlds button:focus-visible {
    border-color: var(--wdc-brand);
    background: #f7fcff;
    color: var(--wdc-brand-strong);
}

.andino-domain-search-extras .suggested-tlds button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    border-color: var(--wdc-line);
    color: var(--wdc-muted);
    background: #f7f9fa;
}

.andino-domain-search-extras.is-ip .suggested-tlds {
    opacity: 0.72;
}

.andino-domain-search-extras .search-help {
    margin: 24px 0 0;

    color: var(--wdc-muted);

    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 1.55;
}

/* ---------- Plugin errors ---------- */

.andino-whois-plugin .wdc-style-1-clean-error-message {
    margin: 0 28px 24px !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
    color: var(--wdc-danger) !important;

    font-family: inherit !important;
    font-size: 12px !important;
}

/*
 * Native WP Domain Checker UI must remain in the DOM for AJAX / WHMCS,
 * but must never flash over the V2.
 */
.andino-whois-plugin #results.wdc-style-1-clean-results-container,
.andino-whois-plugin #loading.wdc-style-1-clean-skeleton-container {
    position: absolute !important;

    left: -100000px !important;
    top: 0 !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================================
   RESULTS
   Elementor owns the outer #andino-domain-results container.
   ========================================================= */

#andino-domain-results[hidden] {
    display: none !important;
}

#andino-domain-results .andino-wdc-v2 {
    display: grid;

    width: 100%;
    margin: 0;

    gap: 22px;

    font-family: "Inter", sans-serif;
}

/* ---------- Featured result ---------- */

.andino-wdc-v2__featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;

    align-items: center;

    gap: 48px;

    padding: 34px 44px;

    border: 1px solid var(--wdc-featured-line);
    border-radius: 10px;

    background:
        linear-gradient(
            110deg,
            rgba(68, 181, 237, 0.045),
            rgba(255, 255, 255, 0.5)
        ),
        var(--wdc-featured-bg);

    box-shadow:
        0 8px 28px rgba(41, 117, 170, 0.035);
}

.andino-wdc-v2__kicker {
    display: block;

    margin: 0 0 20px;

    color: var(--wdc-brand-strong);

    font-family: inherit;
    font-size: 11px;
    font-weight: 820;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.andino-wdc-v2__domain {
    margin: 0;

    color: var(--wdc-ink);

    font-family: inherit;
    font-size: clamp(38px, 4.6vw, 56px);
    font-weight: 790;
    line-height: 0.98;
    letter-spacing: -0.05em;

    overflow-wrap: anywhere;
}

.andino-wdc-v2__availability {
    margin: 16px 0 0;

    color: var(--wdc-muted);

    font-family: inherit;
    font-size: 15px;
    font-weight: 450;
    line-height: 1.45;
}

.andino-wdc-v2__featured-action,
.andino-wdc-v2__row-action {
    display: flex;

    align-items: center;
    justify-content: flex-end;
}

.andino-wdc-v2__register {
    min-width: 128px;
    min-height: 36px;

    margin: 0;
    padding: 0 18px;

    border: 1px solid var(--wdc-brand);
    border-radius: 5px;

    background: #fff;
    color: var(--wdc-brand-strong);

    box-shadow: none;

    font-family: inherit !important;
    font-size: 12px;
    font-weight: 760;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease,
        transform 0.16s ease;
}

.andino-wdc-v2__register:hover,
.andino-wdc-v2__register:focus-visible {
    border-color: var(--wdc-brand-strong);
    background: var(--wdc-brand-strong);
    color: #fff;
}

.andino-wdc-v2__register:active {
    transform: translateY(1px);
}

.andino-wdc-v2__register--featured {
    min-width: 210px;
    min-height: 58px;

    padding-inline: 26px;

    border-color: var(--wdc-brand-strong);

    background: var(--wdc-brand-strong);
    color: #fff;

    font-size: 15px;
    font-weight: 760;

    box-shadow:
        0 9px 22px rgba(22, 143, 200, 0.16);
}

.andino-wdc-v2__register--featured:hover,
.andino-wdc-v2__register--featured:focus-visible {
    border-color: #117fb5;
    background: #117fb5;
    color: #fff;
}

/* ---------- Results list ---------- */

.andino-wdc-v2__more {
    padding: 20px 34px 10px;

    border: 1px solid var(--wdc-line);
    border-radius: 10px;

    background: var(--wdc-surface);

    box-shadow:
        0 12px 34px rgba(17, 24, 39, 0.04);
}

.andino-wdc-v2__more-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;

    min-height: 42px;
    margin: 0;

    border-bottom: 1px solid var(--wdc-line);
}

.andino-wdc-v2__more-title {
    margin: 0;

    color: var(--wdc-ink);

    font-family: inherit;
    font-size: 15px;
    font-weight: 780;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.andino-wdc-v2__count {
    color: var(--wdc-muted);

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
}

.andino-wdc-v2__list {
    border: 0;
}

.andino-wdc-v2__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(128px, auto);

    align-items: center;

    gap: 20px;

    min-height: 62px;

    border-bottom: 1px solid var(--wdc-line);
}

.andino-wdc-v2__row:last-child {
    border-bottom: 0;
}

.andino-wdc-v2__row-domain {
    color: var(--wdc-ink);

    font-family: inherit;
    font-size: 14px;
    font-weight: 690;

    overflow-wrap: anywhere;
}

.andino-wdc-v2__status {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--wdc-muted);

    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
    white-space: nowrap;
}

.andino-wdc-v2__status::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 999px;

    background: currentColor;
}

.andino-wdc-v2__status--available {
    color: var(--wdc-success);
}

.andino-wdc-v2__status--taken {
    color: var(--wdc-taken);
}

.andino-wdc-v2__status--unknown {
    color: var(--wdc-unknown);
}

.andino-wdc-v2__whois {
    min-width: 128px;
    min-height: 36px;

    margin: 0;
    padding: 0 16px;

    border: 1px solid var(--wdc-line-strong);
    border-radius: 5px;

    background: #fff;
    color: var(--wdc-taken);

    box-shadow: none;

    font-family: inherit !important;
    font-size: 12px;
    font-weight: 720;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease,
        transform 0.16s ease;
}

.andino-wdc-v2__whois:hover,
.andino-wdc-v2__whois:focus-visible {
    border-color: var(--wdc-brand);
    background: #f7fcff;
    color: var(--wdc-brand-strong);
}

.andino-wdc-v2__whois:active {
    transform: translateY(1px);
}

/* ---------- No-available notice / empty / timeout ---------- */

.andino-wdc-v2__notice {
    padding: 28px 34px;

    border: 1px solid var(--wdc-line);
    border-radius: 10px;

    background: var(--wdc-surface);

    box-shadow:
        0 12px 34px rgba(17, 24, 39, 0.04);
}

.andino-wdc-v2__notice-title {
    margin: 0;

    color: var(--wdc-ink);

    font-family: inherit;
    font-size: 18px;
    font-weight: 780;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.andino-wdc-v2__notice-text {
    margin: 8px 0 0;

    color: var(--wdc-muted);

    font-family: inherit;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.55;
}

/* ---------- Empty / timeout ---------- */

.andino-wdc-v2__empty {
    padding: 30px 34px;

    border: 1px solid var(--wdc-line);
    border-radius: 10px;

    background: var(--wdc-surface);
    color: var(--wdc-muted);

    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;

    box-shadow:
        0 12px 34px rgba(17, 24, 39, 0.04);
}

/* ---------- External loading ---------- */

.andino-wdc-v2-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;
    min-height: 100px;

    gap: 14px;

    padding: 26px 34px;

    border: 1px solid var(--wdc-line);
    border-radius: 10px;

    background: var(--wdc-surface);

    box-shadow:
        0 12px 34px rgba(17, 24, 39, 0.04);
}

.andino-wdc-v2-loading__label {
    color: var(--wdc-muted);

    font-family: inherit;
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.andino-wdc-v2-loading__line {
    position: relative;

    width: 100%;
    height: 2px;

    overflow: hidden;

    background: var(--wdc-line);
}

.andino-wdc-v2-loading__line::after {
    content: "";

    position: absolute;
    inset: 0 auto 0 0;

    width: 22%;

    background: var(--wdc-brand);

    animation: andino-domain-loading 1s ease-in-out infinite;
}

@keyframes andino-domain-loading {
    from {
        transform: translateX(-110%);
    }

    to {
        transform: translateX(520%);
    }
}

/* ---------- Focus ---------- */

.andino-whois-plugin button:focus-visible,
.andino-whois-plugin input:focus-visible,
#andino-domain-results button:focus-visible {
    outline: 2px solid var(--wdc-brand) !important;
    outline-offset: 3px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {
    .andino-whois-plugin .wdc-style-1-clean-container {
        border-radius: 8px !important;
    }

    .andino-whois-plugin .wdc-style-1-clean-form::before {
        padding: 18px 20px;
    }

    .andino-whois-plugin .wdc-style-1-clean-search-container {
        grid-template-columns: 1fr !important;

        gap: 12px !important;

        padding: 22px 20px 14px !important;
    }

    .andino-whois-plugin
    .wdc-style-1-clean-search-container
    input[type="text"],
    .andino-whois-plugin .wdc-style-1-clean-search-input {
        height: 52px !important;

        font-size: 15px !important;
    }

    .andino-whois-plugin .wdc-style-1-clean-search-button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 52px !important;
    }

    .andino-domain-search-extras {
        padding: 0 20px 22px !important;
    }

    .andino-domain-search-extras .suggested-tlds {
        gap: 7px;
    }

    .andino-domain-search-extras .suggested-tlds button {
        min-height: 34px;
        padding-inline: 12px;
    }

    .andino-domain-search-extras .search-help {
        margin-top: 18px;
    }

    .andino-wdc-v2__featured {
        grid-template-columns: 1fr;

        gap: 26px;

        padding: 28px 24px;
    }

    .andino-wdc-v2__domain {
        font-size: clamp(34px, 11vw, 46px);
    }

    .andino-wdc-v2__featured-action {
        justify-content: stretch;
    }

    .andino-wdc-v2__register--featured {
        width: 100%;
        min-width: 0;
    }

    .andino-wdc-v2__more {
        padding: 16px 20px 8px;
    }

    .andino-wdc-v2__more-header {
        align-items: flex-start;
    }

    .andino-wdc-v2__row {
        grid-template-columns: minmax(0, 1fr) auto auto;

        gap: 12px;

        min-height: 60px;
    }

    .andino-wdc-v2__register,
    .andino-wdc-v2__whois {
        min-width: 104px;

        padding-inline: 14px;
    }

    .andino-wdc-v2-loading,
    .andino-wdc-v2__empty,
    .andino-wdc-v2__notice {
        padding-inline: 24px;
    }
}

@media (max-width: 460px) {
    .andino-wdc-v2__more-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 4px;

        padding: 10px 0 12px;
    }

    .andino-wdc-v2__row {
        grid-template-columns: 1fr;

        gap: 9px;

        padding: 14px 0;
    }

    .andino-wdc-v2__status {
        white-space: normal;
    }

    .andino-wdc-v2__row-action {
        justify-content: stretch;
    }

    .andino-wdc-v2__register,
    .andino-wdc-v2__whois {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .andino-whois-plugin *,
    #andino-domain-results * {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   1.3.0 — EXACT DOMAIN RESPONSE
   When the visitor searches a complete domain (e.g. index.pe),
   show only that domain instead of the generic multi-TLD layout.
   ========================================================= */

.andino-wdc-v2--exact {
    gap: 0 !important;
}

.andino-wdc-v2__exact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 34px 38px;
    border: 1px solid var(--wdc-featured-line);
    border-radius: 10px;
    background: var(--wdc-featured-bg);
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.045);
}

.andino-wdc-v2__exact--taken {
    border-color: var(--wdc-line);
    background: #fafbfc;
}

.andino-wdc-v2__exact--unknown {
    border-color: var(--wdc-line);
    background: #fff;
}

.andino-wdc-v2__exact-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.andino-wdc-v2__kicker--taken {
    color: var(--wdc-taken);
}

.andino-wdc-v2__kicker--unknown {
    color: var(--wdc-unknown);
}

.andino-wdc-v2__whois--featured {
    min-width: 210px;
    min-height: 58px;
    padding-inline: 24px;
    border-color: var(--wdc-ink);
    background: var(--wdc-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 760;
}

.andino-wdc-v2__whois--featured:hover,
.andino-wdc-v2__whois--featured:focus-visible {
    border-color: #000;
    background: #000;
    color: #fff;
}

@media (max-width: 767px) {
    .andino-wdc-v2__exact {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 24px;
    }

    .andino-wdc-v2__exact-action {
        justify-content: stretch;
    }

    .andino-wdc-v2__whois--featured,
    .andino-wdc-v2__exact-action .andino-wdc-v2__register--featured {
        width: 100%;
        min-width: 0;
    }
}