.cwh-domain-heading {
    margin-bottom: 28px;
}

.cwh-domain-heading h1 {
    margin: 6px 0 8px;
}

.cwh-domain-heading p {
    max-width: 720px;
    margin: 0;
    color: #65758b;
    font-size: 16px;
}

.cwh-domain-eyebrow {
    color: #079fd3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cwh-smart-domain {
    max-width: 880px;
}

#cwhSmartDomainForm {
    padding: 28px;
    border: 1px solid #dfe8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(10, 49, 82, .08);
}

.cwh-domain-label {
    display: block;
    margin-bottom: 11px;
    color: #0b3150;
    font-size: 17px;
    font-weight: 700;
}

.cwh-domain-input-wrap {
    position: relative;
    display: flex;
    gap: 10px;
}

#cwhDomainInput {
    height: 58px;
    padding: 0 20px;
    border: 2px solid #cbd9e5;
    border-radius: 9px;
    color: #0b3150;
    background: transparent;
    font-size: 19px;
    font-weight: 600;
    line-height: 58px;
    transition: border-color .2s, box-shadow .2s;
}

#cwhDomainInput:focus {
    border-color: #079fd3;
    box-shadow: 0 0 0 4px rgba(7, 159, 211, .12);
}

#cwhCheckDomain {
    min-width: 148px;
    border-radius: 9px;
    font-weight: 700;
}

.cwh-typewriter {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 20px;
    max-width: calc(100% - 205px);
    overflow: hidden;
    color: #8a9bad;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
    white-space: nowrap;
}

.cwh-typewriter-caret {
    display: inline-block;
    width: 2px;
    height: 22px;
    margin-right: 2px;
    background: #079fd3;
    vertical-align: -4px;
    animation: cwhCaretBlink .85s step-end infinite;
}

@keyframes cwhCaretBlink {
    50% { opacity: 0; }
}

.cwh-domain-help,
.cwh-continue-wrap p,
.cwh-suggestions-disclaimer {
    margin: 10px 0 0;
    color: #718096;
    font-size: 13px;
}

.cwh-domain-status {
    display: none;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid transparent;
    border-radius: 11px;
}

.cwh-domain-status.is-visible { display: block; }
.cwh-domain-status.is-checking { border-color: #d9e7f1; background: #f7fbfd; color: #35546d; }
.cwh-domain-status.is-available { border-color: #acdcbc; background: #edf9f1; color: #176637; }
.cwh-domain-status.is-unavailable { border-color: #f0d589; background: #fff9e8; color: #745816; }
.cwh-domain-status.is-invalid { border-color: #e4c27b; background: #fffaf0; color: #765716; }
.cwh-domain-status.is-error { border-color: #efb6b6; background: #fff3f3; color: #8a2c2c; }

.cwh-status-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 800;
}

.cwh-status-title i { font-size: 19px; }
.cwh-status-copy { margin: 0; line-height: 1.6; }
.cwh-status-price { font-weight: 800; }

.cwh-status-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 13px;
}

.cwh-status-actions .btn {
    border-radius: 7px;
    font-weight: 700;
}

.cwh-status-secondary {
    color: inherit;
    font-size: 13px;
}

.cwh-free-year {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #16713a;
    font-size: 14px;
    font-weight: 900;
}

.cwh-continue-wrap {
    padding: 22px 0 4px;
    text-align: center;
}

.cwh-domain-continue {
    width: 100%;
    min-height: 58px;
    border-radius: 9px;
    box-shadow: 0 8px 20px rgba(7, 159, 211, .2);
    font-size: 17px;
    font-weight: 800;
}

.cwh-suggestions {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #dfe8f0;
}

.cwh-suggestions-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cwh-suggestions-heading h2 {
    margin: 4px 0 0;
    color: #0b3150;
    font-size: 23px;
}

.cwh-suggestion {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 12px 14px 12px 18px;
    border: 1px solid #dfe8f0;
    border-bottom: 0;
    background: #fff;
}

.cwh-suggestion:first-child { border-radius: 10px 10px 0 0; }
.cwh-suggestion:last-child { border-bottom: 1px solid #dfe8f0; border-radius: 0 0 10px 10px; }
.cwh-suggestion:only-child { border-bottom: 1px solid #dfe8f0; border-radius: 10px; }
.cwh-suggestion-domain { flex: 1; color: #0b3150; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.cwh-suggestion-price { color: #52677a; font-weight: 700; white-space: nowrap; }

.cwh-suggestion-add {
    min-width: 43px;
    border: 1px solid #079fd3;
    border-radius: 7px;
    color: #079fd3;
    background: #fff;
    font-weight: 800;
}

.cwh-suggestion-add:hover,
.cwh-suggestion-add:focus { color: #fff; background: #079fd3; }
.cwh-suggestion-add.is-added {
    border-color: #cf3445;
    color: #fff;
    background: #cf3445;
}
.cwh-suggestion-add.is-added:hover,
.cwh-suggestion-add.is-added:focus { border-color: #ad2434; background: #ad2434; }
.cwh-suggestion.is-added { border-left-color: #85c99d; background: #f5fbf7; }
.cwh-suggestion.is-unavailable { background: #f7f9fb; opacity: .72; }
.cwh-suggestion.is-unavailable .cwh-suggestion-price { color: #8b98a5; font-weight: 600; }

@media (max-width: 640px) {
    .cwh-domain-heading { padding-top: 20px; }
    #cwhSmartDomainForm { padding: 20px 16px; }
    .cwh-domain-input-wrap { display: block; }
    #cwhCheckDomain { width: 100%; min-height: 48px; margin-top: 10px; }
    .cwh-typewriter { top: 29px; max-width: calc(100% - 40px); }
    .cwh-suggestion { flex-wrap: wrap; }
    .cwh-suggestion-domain { min-width: calc(100% - 60px); }
}

@media (prefers-reduced-motion: reduce) {
    .cwh-typewriter-caret { animation: none; }
}

.cwh-epp-help {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.cwh-epp-info {
    padding: 0;
    border: 0;
    color: #079fd3;
    background: transparent;
    cursor: help;
    font-size: 16px;
    line-height: 1;
}

.cwh-epp-explanation {
    flex-basis: 100%;
    color: #718096;
    font-size: 12px;
}

/* Registered-domain choices: vertical order, with the free year beside transfer. */
.cwh-status-actions.cwh-transfer-actions {display:flex;flex-direction:column;align-items:flex-start;gap:14px;}
.cwh-transfer-row {display:flex;align-items:center;gap:16px;flex-wrap:wrap;width:100%;}
.cwh-transfer-row .cwh-free-year {margin:0;flex:1;min-width:200px;color:#168443;font-weight:700;}
.cwh-transfer-actions .cwh-choice-button {min-width:230px;white-space:normal;text-align:left;}
@media(max-width:575px){.cwh-transfer-row {flex-direction:column;align-items:stretch;} .cwh-transfer-actions,.cwh-transfer-actions .cwh-choice-button {width:100%;} .cwh-transfer-row .cwh-free-year {min-width:0;}}

.cwh-registrar-note {flex:1;min-width:180px;color:#526579;font-size:14px;}
@media(max-width:575px){.cwh-registrar-note{min-width:0;}}
