/* Faedah Jaya — shared Choose a Domain content. Scoped to this order stage. */
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-guest-domain[hidden],
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-guest-domain [hidden]{display:none!important}
/* The native guest stage has a white presentation card. Keep it for native fallback and optional WHMCS modes;
   make only the enhanced 3-mode search use the screenshot's open pale page canvas. */
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain.fj-guest-domain-ready:not(.fj-domain-extra-mode) .fj-guest-stage-content{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-guest-domain{margin-bottom:18px;--fj-prefix-width:75px;--fj-search-width:140px}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 22px;width:100%;min-width:0}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode{display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left;min-width:0;box-sizing:border-box;padding:16px 17px;min-height:73px;border:1px solid #dce7e1;border-radius:11px;background:#fff;color:#344a40;font-size:13px;font-weight:600;line-height:1.45;cursor:pointer}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode.is-selected{border-color:#63b883;background:#f0f9f3;color:#11643e}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode-icon{display:grid;place-items:center;align-self:center;flex:0 0 33px;width:33px;height:33px;border:1px solid #d8e8de;border-radius:50%;font-size:17px;color:#138858}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode-icon>i{display:block;width:1em;height:1em;line-height:1;text-align:center;vertical-align:middle}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode.is-selected .fj-domain-mode-icon{color:#fff;background:#009d5a;border-color:#009d5a}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode-secondary{min-height:43px;padding:10px 16px;grid-column:auto}
/* Precisely match the homepage search silhouette: flat dark-grey field + green Search. */
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-searchbar{display:flex;width:100%;min-width:0;box-sizing:border-box;min-height:61px;margin:0;align-items:stretch;border-radius:3px;overflow:hidden}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-prefix{display:flex;align-items:center;flex:0 0 var(--fj-prefix-width);box-sizing:border-box;padding:0 0 0 13px;background:#6c6c6c;color:white;font-size:24px;font-weight:600;line-height:1}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain #fj-guest-domain-input{display:block;flex:1 1 auto;min-width:0;height:auto;min-height:61px;margin:0;padding:12px 15px;border:0!important;border-radius:0!important;background:#6c6c6c!important;color:#fff!important;font-size:23px;line-height:1.25;box-shadow:none!important;outline:none}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain #fj-guest-domain-input::placeholder{color:#a8a8a8;opacity:1}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain #fj-guest-domain-input:focus-visible{box-shadow:none!important;outline:none!important}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-search-button{display:flex;align-items:center;justify-content:center;gap:10px;flex:0 0 var(--fj-search-width);margin:0;padding:10px 15px;border:0;border-radius:0 8px 8px 0;background:#6ca93e;color:#fff;font-size:21px;line-height:1.2;cursor:pointer}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-search-button:hover{background:#5d9736}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-search-button:disabled{opacity:.65;cursor:wait}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-search-button:focus-visible,
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode:focus-visible,
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-action:focus-visible{outline:3px solid #52ba83;outline-offset:2px}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-autocomplete{width:100%;max-width:100%;box-sizing:border-box;margin:7px 0 12px;border:1px solid #dce6eb;border-radius:11px;background:#fff;box-shadow:0 10px 24px rgba(25,48,68,.1);overflow:hidden}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-list{width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:17px 0 14px}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-full-panel{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dce6eb;border-radius:11px;overflow:hidden;background:#fff}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-full-heading{padding:14px 18px;border-bottom:1px solid #e9eef1;background:#f8faf9;font-weight:700;color:#27483a}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-row{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-width:0;box-sizing:border-box;min-height:62px;padding:11px 17px;border-bottom:1px solid #edf0f1}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-row:last-child{border-bottom:0}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-name{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;font-size:14px;overflow-wrap:anywhere;color:#253c33}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-status{font-size:12px;color:#9b791a}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-status.is-available{color:#168451}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-status.is-unavailable{color:#c94b54}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-action{flex:0 0 auto;min-width:94px;min-height:36px;padding:8px 12px;border:0;border-radius:6px;background:#6ca93e;color:#fff;font-size:13px;font-weight:700;cursor:pointer}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-action[data-fj-action-mode="transfer"]{background:#6c6c6c}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-action:disabled{background:#d7ddda;cursor:not-allowed;color:#6d7974}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-more{display:block;margin:14px auto;padding:10px 16px;border:1px solid #cbded1;border-radius:6px;background:#fff;color:#147347;font-size:13px;font-weight:700}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-more:disabled{opacity:.6;cursor:wait}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-message{margin:11px 0;padding:12px 14px;border-radius:7px;background:#f2f8f4;color:#305947;font-size:13px}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-message.is-error{background:#fff2f2;color:#a13c42}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-fallback{display:inline-block;margin:1px 0 12px;padding:7px 0;border:0;background:transparent;color:#176b47;font-size:13px;font-weight:600;text-decoration:underline;cursor:pointer}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-free-note{margin-top:17px;color:#355d47;font-size:13px;line-height:1.6}
/* Original native elements exist unchanged. They remain the fallback if enhancement fails. */
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain.fj-guest-domain-ready #frmProductDomain{display:none}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain.fj-domain-extra-mode #frmProductDomain{display:block}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain.fj-domain-extra-mode #frmProductDomain .domain-selection-options>.option{display:none}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain.fj-domain-extra-mode #frmProductDomain .domain-selection-options>.option.fj-domain-native-selected{display:block}
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain.fj-domain-extra-mode #frmProductDomain>p{display:none}
/* Screenshot #4: both result edges align with the actual typing field,
   excluding the www. prefix and the Search button. */
body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain #fj-guest-domain-results{width:calc(100% - var(--fj-prefix-width) - var(--fj-search-width));max-width:100%;min-width:0;margin-left:var(--fj-prefix-width);box-sizing:border-box}
/* Do not duplicate the public homepage suggestions with native WHMCS's spotlight widgets. */
@media(max-width:800px){body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode-grid{grid-template-columns:1fr;gap:8px}body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-mode{min-height:59px}}
@media(max-width:575px){body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain #fj-guest-domain-results{width:100%;margin-left:0}}
@media(max-width:480px){body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-guest-domain{--fj-prefix-width:55px;--fj-search-width:92px}body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-prefix{font-size:17px;padding-left:9px}body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain #fj-guest-domain-input{min-height:53px;font-size:17px;padding:9px}body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-searchbar{min-height:53px}body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-search-button{flex-basis:92px;font-size:14px;gap:5px;padding:8px}body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-row{padding:10px;gap:6px}body #order-fjorder.fj-order-modern.fj-guest-configureproductdomain .fj-domain-result-action{min-width:78px;padding:7px}}

/* Logged-in content panel only; the enclosing Lara layout remains theme-owned. */
body #order-fjorder.fj-order-modern.fj-user-domain-stage {
    min-width: 0;
    font-size: 16px;
    background: #f1f6f4;
}
body #order-fjorder.fj-order-modern.fj-user-domain-stage .header-lined {
    padding: 0 0 8px;
    margin: 0;
    border: 0;
    background: transparent;
}
body #order-fjorder.fj-order-modern.fj-user-domain-stage .header-lined h1 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #204c35;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.7px;
    line-height: 1.25;
}
body #order-fjorder.fj-order-modern.fj-user-domain-stage .fj-guest-stage-content {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
