/* =========================================================
   AsiaWebHosting
   Domain Search
   ========================================================= */

.awh-ds-section {
    padding: 70px 20px;
    background: #f7f9fc;
    font-family: Arial, "Segoe UI", sans-serif;
    color: #172033;
}

.awh-ds-container {
    max-width: 920px;
    margin: 0 auto;
}


/* =========================================================
   Header
   ========================================================= */

.awh-ds-header {
    max-width: 720px;
    margin: 0 auto 35px;
    text-align: center;
}

.awh-ds-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.awh-ds-header h2 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
}

.awh-ds-header p {
    margin: 0;
    color: #687386;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   Search Box
   ========================================================= */

.awh-ds-search-box {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(20, 35, 60, 0.08);
}

.awh-ds-form {
    display: flex;
    gap: 10px;
}

.awh-ds-input-wrap {
    position: relative;
    flex: 1;
}

.awh-ds-input-wrap > i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 17px;
    pointer-events: none;
}

.awh-ds-input {
    width: 100%;
    height: 56px;
    padding: 0 18px 0 48px !important;
    border: 1px solid #dce3ec !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #172033 !important;
    font-size: 16px !important;
    outline: none !important;
    box-shadow: none !important;
}

.awh-ds-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10) !important;
}

.awh-ds-submit {
    height: 56px;
    padding: 0 27px;
    border: 0 !important;
    border-radius: 11px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.awh-ds-submit:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.awh-ds-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}


/* =========================================================
   TLD
   ========================================================= */

.awh-ds-tlds {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.awh-ds-tlds span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 30px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   Loading
   ========================================================= */

.awh-ds-loading {
    display: none;
    padding: 35px 20px;
    text-align: center;
    color: #687386;
    font-size: 14px;
}

.awh-ds-loading.is-active {
    display: block;
}

.awh-ds-spinner {
    width: 38px;
    height: 38px;
    margin: 0 auto 14px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: awhDsSpin 0.8s linear infinite;
}

@keyframes awhDsSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   Error
   ========================================================= */

.awh-ds-error {
    display: none;
    margin-top: 20px;
    padding: 15px 18px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.6;
}

.awh-ds-error.is-active {
    display: block;
}


/* =========================================================
   Results
   ========================================================= */

.awh-ds-results {
    display: none;
    margin-top: 30px;
}

.awh-ds-results.is-active {
    display: block;
}

.awh-ds-result-title {
    margin-bottom: 15px;
    color: #172033;
    font-size: 18px;
    font-weight: 800;
}

.awh-ds-result-card {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 12px;
    padding: 19px;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(20, 35, 60, 0.05);
    transition: all 0.25s ease;
}

.awh-ds-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 35, 60, 0.08);
}


/* =========================================================
   Result Icon
   ========================================================= */

.awh-ds-result-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 19px;
}

.awh-ds-result-card.is-available {
    border-color: #bbf7d0;
}

.awh-ds-result-card.is-available
.awh-ds-result-icon {
    background: #ecfdf5;
    color: #16a34a;
}

.awh-ds-result-card.is-registered
.awh-ds-result-icon {
    background: #fef2f2;
    color: #dc2626;
}

.awh-ds-result-card.is-error
.awh-ds-result-icon {
    background: #fff7ed;
    color: #ea580c;
}


/* =========================================================
   Result Information
   ========================================================= */

.awh-ds-result-info {
    min-width: 0;
    flex: 1;
}

.awh-ds-result-domain {
    margin-bottom: 4px;
    color: #172033;
    font-size: 17px;
    font-weight: 800;
    word-break: break-word;
}

.awh-ds-result-message {
    color: #687386;
    font-size: 13px;
    line-height: 1.5;
}

.awh-ds-result-card.is-available
.awh-ds-result-message {
    color: #15803d;
}

.awh-ds-result-card.is-registered
.awh-ds-result-message {
    color: #b91c1c;
}


/* =========================================================
   Action
   ========================================================= */

.awh-ds-result-action {
    flex: 0 0 auto;
}

.awh-ds-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 17px;
    border-radius: 9px;
    background: #16a34a;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.awh-ds-register:hover {
    background: #15803d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {

    .awh-ds-section {
        padding: 50px 15px;
    }

    .awh-ds-header h2 {
        font-size: 28px;
    }

    .awh-ds-header p {
        font-size: 14px;
    }

    .awh-ds-form {
        flex-direction: column;
    }

    .awh-ds-submit {
        width: 100%;
    }

    .awh-ds-result-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .awh-ds-result-action {
        width: 100%;
    }

    .awh-ds-register {
        width: 100%;
    }
}