/* Career Fixx — checkout: progress steps, the billing form (checkout.blade.php) and the
   order summary (amount_page.blade.php). Class names the checkout script relies on are kept. */

.cfx-ck {
    --ck-card: #ffffff;
    --ck-line: #ebe7f6;
    --ck-ink: #1a1236;
    --ck-text: #5b5675;
    --ck-muted: #8a85a3;
    --ck-soft: #f4f0fd;
    --ck-input: #fbfaff;
    --ck-accent: #7c3aed;
    --ck-ok: #16a34a;
    --ck-err: #e11d48;
    --ck-grad: linear-gradient(135deg, #9b3cf6 0%, #7c3aed 45%, #5b21b6 100%);
    --ck-night:
        radial-gradient(320px 220px at 100% 0%, rgba(155, 60, 246, .5), transparent 70%),
        radial-gradient(280px 200px at 0% 100%, rgba(124, 58, 237, .38), transparent 70%),
        #0c0820;
    padding: clamp(24px, 3vw, 40px) 0 clamp(40px, 5vw, 72px);
    background:
        radial-gradient(rgba(155, 60, 246, .1) 1px, transparent 1.6px) 0 0 / 24px 24px,
        #f7f5fc;
}
html[data-theme="dark"] .cfx-ck {
    --ck-card: #1c1733;
    --ck-line: #2e2650;
    --ck-ink: #f4f1ff;
    --ck-text: #c8c1e2;
    --ck-muted: #958eb3;
    --ck-soft: rgba(168, 85, 247, .14);
    --ck-input: #151029;
    --ck-accent: #d8b4fe;
    --ck-ok: #4ade80;
    --ck-err: #fb7185;
    background:
        radial-gradient(rgba(155, 60, 246, .12) 1px, transparent 1.6px) 0 0 / 24px 24px,
        #0e0b1a;
}

/* ── steps ──────────────────────────────────────────────────────────── */
.cfx-ck-steps { display: flex; align-items: center; justify-content: center; max-width: 660px; margin: 0 auto clamp(22px, 3vw, 32px); padding: 0; list-style: none; }
.cfx-ck .cfx-ck-steps li { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ck-muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.cfx-ck-steps li + li::before { content: ''; width: clamp(22px, 6vw, 72px); height: 2px; margin-right: 4px; border-radius: 2px; background: var(--ck-line); }
.cfx-ck-steps span { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2px solid var(--ck-line); border-radius: 50%; background: var(--ck-card); color: var(--ck-muted); font-size: 13px; }
.cfx-ck .cfx-ck-steps li.is-current { color: var(--ck-ink); }
.cfx-ck-steps li.is-current span { border-color: transparent; background: var(--ck-grad); color: #fff; box-shadow: 0 0 0 5px rgba(124, 58, 237, .15); }

/* ── total on phones (the summary sits below the form there) ────────── */
.cfx-ck .mobile-price-bar { display: none; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 16px 20px; border-radius: 20px; background: var(--ck-night); color: #fff; box-shadow: 0 16px 34px rgba(20, 8, 60, .28); }
.cfx-ck .mobile-price-bar .mp-label { color: #a89fc9; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: 1; }
.cfx-ck .mobile-price-bar .mp-plan { color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.cfx-ck .mobile-price-bar .mp-price { color: #fff; font-size: 24px; font-weight: 800; }
@media (max-width: 991.98px) { .cfx-ck .mobile-price-bar { display: flex !important; } }

/* ── log in instead ─────────────────────────────────────────────────── */
.cfx-ck .login-nudge { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 14px 14px 16px; border: 1px solid var(--ck-line); border-radius: 20px; background: var(--ck-card); box-shadow: 0 10px 26px rgba(40, 16, 90, .06); color: var(--ck-text); font-size: 14px; line-height: 1.5; }
.login-nudge-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: var(--ck-soft); color: var(--ck-accent); font-size: 18px; }
.login-nudge-text { flex: 1; min-width: 0; }
.login-nudge-text b { display: block; color: var(--ck-ink); font-size: 14.5px; }
.cfx-ck .login-nudge a { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid rgba(124, 58, 237, .3); border-radius: 999px; color: var(--ck-accent); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.cfx-ck .login-nudge a:hover { border-color: transparent; background: var(--ck-grad); color: #fff; }

/* ── billing form ───────────────────────────────────────────────────── */
.cfx-ck .co-card { margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--ck-line); border-radius: 26px; background: var(--ck-card); box-shadow: 0 18px 44px rgba(40, 16, 90, .08); }
.co-card-head { display: flex; align-items: center; gap: 14px; padding: 20px clamp(18px, 3vw, 30px); border-bottom: 1px solid var(--ck-line); background: linear-gradient(135deg, rgba(155, 60, 246, .08), transparent 60%); }
.co-card-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 15px; background: var(--ck-grad); color: #fff; font-size: 20px; box-shadow: 0 10px 22px rgba(124, 58, 237, .3); }
.cfx-ck .co-card h4.co-title { display: block; margin: 0; padding: 0; border: 0; color: var(--ck-ink); font-size: 20px; font-weight: 800; line-height: 1.3; }
.cfx-ck .co-card-head p { margin: 2px 0 0; color: var(--ck-text); font-size: 13px; text-align: left; }
.cfx-ck #registerForm { padding: 0 clamp(18px, 3vw, 30px) clamp(20px, 3vw, 30px); }
.cfx-ck .co-group { padding: 22px 0; border-bottom: 1px dashed var(--ck-line); }
.cfx-ck .co-group:last-child { padding-bottom: 0; border-bottom: 0; }
.cfx-ck .co-group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--ck-ink); font-size: 15.5px; font-weight: 800; }
.co-group-title span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ck-soft); color: var(--ck-accent); font-size: 12.5px; }

.cfx-ck .field-group { margin: 0; }
.cfx-ck .field-group > label { display: block; margin: 0 0 7px; color: var(--ck-ink); font-size: 13px; font-weight: 700; }
.cfx-ck .req { color: var(--ck-err); }
.cfx-ck .opt { color: var(--ck-muted); font-weight: 500; }
.cfx-ck .field-wrap { position: relative; }
.cfx-ck .f-icon { position: absolute; top: 50%; left: 15px; z-index: 2; color: var(--ck-muted); font-size: 16px; transform: translateY(-50%); pointer-events: none; transition: color .2s ease; }
.cfx-ck .field-wrap:focus-within .f-icon { color: var(--ck-accent); }
.cfx-ck .field-wrap input,
.cfx-ck #state_field_wrap select {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 14px 0 44px;
    border: 1.5px solid var(--ck-line);
    border-radius: 14px;
    background-color: var(--ck-input);
    box-shadow: none;
    color: var(--ck-ink);
    font-size: 14.5px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cfx-ck .field-wrap input:focus,
.cfx-ck #state_field_wrap select:focus { border-color: #7c3aed; background-color: var(--ck-card); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
.cfx-ck .field-wrap input::placeholder { color: var(--ck-muted); }
.cfx-ck #state_field_wrap select {
    padding-right: 40px;
    -webkit-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b8cc4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 16px;
    cursor: pointer;
}

/* phone with the country code */
.cfx-ck .phone-field-wrap { display: flex; height: 50px; overflow: hidden; border: 1.5px solid var(--ck-line); border-radius: 14px; background: var(--ck-input); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.cfx-ck .phone-field-wrap:focus-within { border-color: #7c3aed; background: var(--ck-card); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
.cfx-ck .phone-prefix { display: flex; flex: none; align-items: center; padding: 0 14px; border-right: 1.5px solid var(--ck-line); background: var(--ck-soft); color: var(--ck-accent); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.cfx-ck .phone-field-wrap input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ck-ink); font-size: 14.5px; outline: 0; -moz-appearance: textfield; }
.cfx-ck .phone-field-wrap input::placeholder { color: var(--ck-muted); }
.cfx-ck .phone-field-wrap input::-webkit-outer-spin-button,
.cfx-ck .phone-field-wrap input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

/* password */
.cfx-ck .pw-field-wrap input { padding-right: 50px; }
.cfx-ck .pw-toggle { position: absolute; top: 50%; right: 7px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ck-muted); font-size: 16px; transform: translateY(-50%); cursor: pointer; transition: background .2s ease, color .2s ease; }
.cfx-ck .pw-toggle:hover { background: var(--ck-soft); color: var(--ck-accent); }
.cfx-ck .strength-wrap { margin-top: 8px; }
.cfx-ck .s-bars { display: flex; gap: 5px; }
.cfx-ck .s-bar { flex: 1; height: 5px; border-radius: 99px; background: var(--ck-line); transition: background .3s ease; }
.cfx-ck .s-label { margin-top: 5px; font-size: 12px; font-weight: 600; }

/* sponsor code */
.cfx-ck .sponsor-wrap { display: flex; gap: 8px; }
.cfx-ck .sponsor-wrap .field-wrap { flex: 1; min-width: 0; }
.cfx-ck .sponsor-apply { flex: none; height: 50px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--ck-grad); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px rgba(124, 58, 237, .25); cursor: pointer; transition: filter .2s ease, box-shadow .2s ease; }
.cfx-ck .sponsor-apply:hover { filter: brightness(1.08); box-shadow: 0 12px 24px rgba(124, 58, 237, .35); }
.cfx-ck .sponsor-status { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.cfx-ck .sponsor-status:empty { display: none; }
.cfx-ck .sponsor-status.ok { color: var(--ck-ok); }
.cfx-ck .sponsor-status.err { color: var(--ck-err); }

.cfx-ck .field-err { margin-top: 5px; color: var(--ck-err); font-size: 12px; font-weight: 600; }
.cfx-ck .field-err:empty { display: none; }

/* agreements: the whole card ticks the box */
.cfx-ck .terms-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; padding: 14px 16px; border: 1.5px solid var(--ck-line); border-radius: 16px; background: var(--ck-input); transition: border-color .2s ease, background .2s ease; }
.cfx-ck .co-group-title + .terms-row { margin-top: 0; }
.cfx-ck .terms-row:has(input:checked) { border-color: rgba(124, 58, 237, .45); background: var(--ck-soft); }
.cfx-ck .terms-row input[type=checkbox] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #7c3aed; cursor: pointer; }
.cfx-ck .terms-row label { margin: 0; color: var(--ck-text); font-size: 13.5px; line-height: 1.6; cursor: pointer; }
.cfx-ck .terms-row a { color: var(--ck-accent); font-weight: 700; text-decoration: none; }
.cfx-ck .terms-row a:hover { text-decoration: underline; }

/* ── order summary ──────────────────────────────────────────────────── */
.cfx-ck .order-card { position: sticky; top: 100px; overflow: hidden; border: 1px solid var(--ck-line); border-radius: 26px; background: var(--ck-card); box-shadow: 0 18px 44px rgba(40, 16, 90, .1); }
.cfx-ck .order-card-head { position: relative; isolation: isolate; overflow: hidden; padding: 20px 22px 24px; background: var(--ck-night); color: #d3cdef; text-align: center; }
.cfx-ck .order-card-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 80%); }
.cfx-ck .plan-chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #d8b4fe; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.order-card-image { position: relative; display: flex; align-items: center; justify-content: center; height: 150px; margin: 14px 0 10px; }
.order-card-image::before { content: ''; position: absolute; width: 132px; height: 132px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, .86) 70%); box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 0 60px rgba(155, 60, 246, .5); }
.order-card-image img { position: relative; max-width: 120px; max-height: 132px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(20, 5, 50, .35)); }
.cfx-ck .order-card-head h3 { margin: 0 0 4px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: .06em; }
.cfx-ck .order-card-head .head-sub { color: #a89fc9; font-size: 12.5px; opacity: 1; }
.cfx-ck .order-card-body { padding: 20px 22px 22px; }

.order-includes { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--ck-line); }
.cfx-ck .order-includes h6,
.cfx-ck .gateway-section h6 { margin: 0 0 10px; color: var(--ck-muted); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.order-includes ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cfx-ck .order-includes li { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: var(--ck-ink); font-size: 13.5px; line-height: 1.45; }
.order-includes li i { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--ck-grad); color: #fff; font-size: 11px; }
.cfx-ck .order-includes > a { display: inline-block; margin-top: 10px; color: var(--ck-accent); font-size: 12.5px; font-weight: 700; }

.order-prices { padding: 2px 14px; border: 1px solid var(--ck-line); border-radius: 16px; background: var(--ck-input); }
.cfx-ck .price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--ck-line); border-bottom: 0; font-size: 14px; }
.cfx-ck .price-row:first-child { border-top: 0; }
.cfx-ck .price-row .lbl { color: var(--ck-text); }
.cfx-ck .price-row .val { color: var(--ck-ink); font-weight: 700; }
.cfx-ck .price-row.discount .val { color: var(--ck-ok); }
.cfx-ck .price-row.grand { margin: 0; padding: 14px 0 12px; border-top: 2px dashed var(--ck-line); }
.cfx-ck .price-row.grand .lbl { color: var(--ck-ink); font-size: 15px; font-weight: 800; }
.cfx-ck .price-row.grand .val { background: var(--ck-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 26px; font-weight: 800; }
html[data-theme="dark"] .cfx-ck .price-row.grand .val { background: linear-gradient(100deg, #c4b5fd, #e9d5ff); -webkit-background-clip: text; background-clip: text; }

/* payment methods, when the plan offers more than one */
.cfx-ck .gateway-section { margin-top: 18px; }
.cfx-ck .gateway-options { display: grid; gap: 8px; }
.cfx-ck .gateway-opt { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1.5px solid var(--ck-line); border-radius: 14px; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.cfx-ck .gateway-opt:has(input:checked) { border-color: #7c3aed; background: var(--ck-soft); box-shadow: 0 0 0 3px rgba(124, 58, 237, .1); }
.cfx-ck .gateway-opt input[type=radio] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #7c3aed; }
.cfx-ck .gateway-opt .gw-name { color: var(--ck-ink); font-size: 14px; font-weight: 700; }
.cfx-ck .gateway-opt .gw-sub { color: var(--ck-muted); font-size: 12px; }

/* pay */
.cfx-ck .pay-btn-wrap { margin-top: 18px; }
.cfx-ck-pay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 10px 16px;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: var(--ck-grad);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(124, 58, 237, .35);
    cursor: pointer;
    transition: filter .2s ease, box-shadow .2s ease;
}
.cfx-ck-pay i { font-size: 17px; }
.cfx-ck-pay::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-20deg); animation: cfxCkShine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes cfxCkShine { 0%, 65% { left: -60%; } 100% { left: 130%; } }
.cfx-ck-pay:hover { filter: brightness(1.08); box-shadow: 0 18px 34px rgba(124, 58, 237, .45); }

.cfx-ck .trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ck-line); }
.cfx-ck .trust-item { display: inline-flex; align-items: center; gap: 6px; color: var(--ck-text); font-size: 12px; font-weight: 600; }
.cfx-ck a.trust-item:hover { color: var(--ck-accent); }
.cfx-ck .trust-item i { color: var(--ck-ok); font-size: 14px; }
.cfx-ck .method-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.cfx-ck .method-chip { padding: 4px 10px; border: 1px solid var(--ck-line); border-radius: 999px; background: var(--ck-input); color: var(--ck-text); font-size: 11px; font-weight: 600; }

/* ── while the order is sent ────────────────────────────────────────── */
#loading_div.loader { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(12, 8, 32, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
#loading_div.loader.active { display: flex; }
#loading_div .loader-box { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 40px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); text-align: center; }
#loading_div .loader-ring { width: 46px; height: 46px; margin-bottom: 10px; border: 4px solid #ede9fe; border-top-color: #7c3aed; border-radius: 50%; animation: cfxCkSpin .8s linear infinite; }
@keyframes cfxCkSpin { to { transform: rotate(360deg); } }
#loading_div .loader-box b { color: #1a1236; font-size: 16px; }
#loading_div .loader-box p { margin: 0; color: #6f6b85; font-size: 13px; }
html[data-theme="dark"] #loading_div .loader-box { background: #1c1733; }
html[data-theme="dark"] #loading_div .loader-ring { border-color: #2e2650; border-top-color: #d8b4fe; }
html[data-theme="dark"] #loading_div .loader-box b { color: #fff; }
html[data-theme="dark"] #loading_div .loader-box p { color: #c8c1e2; }

/* ══ Glossy finish (tokens from cf-gloss-site.css) ═════════════════════
   Same layout and colours; glossy pills, clay cards, inset fields with a violet glow. */

/* steps: glossy discs, the current one violet */
.cfx-ck-steps span { border: 0; background: var(--gl-light); box-shadow: var(--gl-light-shadow); }
.cfx-ck-steps li.is-current span { background: var(--gl-btn); box-shadow: inset 0 -3px 0 #3b0f86, inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 0 6px rgba(124, 58, 237, .14), 0 10px 18px rgba(91, 43, 201, .3); }
.cfx-ck-steps li + li::before { height: 3px; background: linear-gradient(90deg, var(--ck-line), rgba(124, 58, 237, .25), var(--ck-line)); }

/* log in instead */
.cfx-ck .login-nudge { border-color: transparent; border-radius: 24px; box-shadow: var(--gl-clay); }
.login-nudge-icon { border-radius: 14px; background: var(--gl-btn); box-shadow: inset 0 -3px 0 #3b0f86, inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 16px rgba(91, 33, 182, .22); color: #fff; }
.cfx-ck .login-nudge a { border: 0; background: var(--gl-light); box-shadow: var(--gl-light-shadow); }
.cfx-ck .login-nudge a:hover { background: var(--gl-btn); box-shadow: var(--gl-btn-shadow); color: #fff; }

/* the form card */
.cfx-ck .co-card { border-color: transparent; border-radius: 32px; box-shadow: var(--gl-clay), 0 24px 48px -28px rgba(76, 29, 149, .25); }
.co-card-icon { background: var(--gl-btn); box-shadow: inset 0 -3px 0 #3b0f86, inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 22px rgba(124, 58, 237, .3); }
.co-group-title span { width: 28px; height: 28px; border-radius: 50%; background: var(--gl-light); box-shadow: var(--gl-light-shadow); }

/* fields: sunk in a little, violet glow when typing */
.cfx-ck .field-wrap input,
.cfx-ck #state_field_wrap select,
.cfx-ck .phone-field-wrap {
    border-radius: 16px;
    box-shadow: inset 0 2px 4px rgba(60, 20, 140, .06), inset 0 -1px 0 rgba(255, 255, 255, .8);
}
html[data-theme="dark"] .cfx-ck :is(.field-wrap input, #state_field_wrap select, .phone-field-wrap) { box-shadow: inset 0 2px 5px rgba(0, 0, 0, .35); }
.cfx-ck .field-wrap input:focus,
.cfx-ck #state_field_wrap select:focus,
.cfx-ck .phone-field-wrap:focus-within { box-shadow: 0 0 0 4px rgba(124, 58, 237, .14), 0 10px 22px -10px rgba(124, 58, 237, .45); }
.cfx-ck .phone-prefix { border-right-color: var(--ck-line); background: var(--gl-light); }
.cfx-ck .sponsor-apply { border-radius: 16px; background: var(--gl-btn); box-shadow: var(--gl-btn-shadow); }
.cfx-ck .sponsor-apply:hover { filter: none; box-shadow: var(--gl-btn-shadow); }

/* agreements: glossy rows with a custom tick box */
.cfx-ck .terms-row { border-radius: 18px; box-shadow: var(--gl-light-shadow); }
.cfx-ck .terms-row:has(input:checked) { box-shadow: 0 0 0 3px rgba(124, 58, 237, .1), var(--gl-light-shadow); }
.cfx-ck .terms-row input[type=checkbox] {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 0;
    border: 1.5px solid var(--ck-line);
    border-radius: 7px;
    background: var(--gl-light);
    box-shadow: var(--gl-light-shadow);
    -webkit-appearance: none;
            appearance: none;
    transition: background .2s ease, border-color .2s ease;
}
.cfx-ck .terms-row input[type=checkbox]:checked {
    border-color: transparent;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat, var(--gl-btn);
    box-shadow: inset 0 -2px 0 #3b0f86, 0 4px 10px rgba(91, 43, 201, .3);
}
.cfx-ck .terms-row input[type=checkbox]:focus-visible { outline: 2px solid #7c3aed; outline-offset: 2px; }
/* the theme hides the real box and draws a small one on the label: show ours instead */
.cfx-ck .terms-row input[type=checkbox] { opacity: 1; }
.cfx-ck .terms-row input[type=checkbox] + label { padding-left: 0; }
.cfx-ck .terms-row input[type=checkbox] + label::before,
.cfx-ck .terms-row input[type=checkbox] + label::after { display: none; }

/* order summary */
.cfx-ck .order-card { border-color: transparent; border-radius: 32px; box-shadow: var(--gl-clay), 0 30px 60px -30px rgba(76, 29, 149, .45); }
.cfx-ck .order-card-head { background: var(--gl-sheen), var(--ck-night); box-shadow: inset 0 4px 0 rgba(255, 255, 255, .14), inset 0 -8px 0 rgba(30, 5, 70, .16); }
.cfx-ck .plan-chip { border-color: transparent; background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 10px rgba(20, 5, 50, .15); color: #fff; }
.order-includes li i { width: 20px; height: 20px; background: var(--gl-btn); box-shadow: inset 0 -2px 0 #3b0f86; }
.order-prices { border-color: transparent; border-radius: 20px; background: var(--gl-card-2); box-shadow: var(--gl-light-shadow); }
.cfx-ck .gateway-opt { border-radius: 16px; background: var(--gl-light); box-shadow: var(--gl-light-shadow); }
.cfx-ck .gateway-opt:has(input:checked) { box-shadow: 0 0 0 3px rgba(124, 58, 237, .12), var(--gl-light-shadow); }
.cfx-ck-pay { min-height: 58px; border-radius: 99px; background: var(--gl-btn); box-shadow: var(--gl-btn-shadow); }
.cfx-ck-pay:hover { filter: none; box-shadow: var(--gl-btn-shadow); }
.cfx-ck .method-chip { border-color: transparent; background: var(--gl-light); box-shadow: var(--gl-light-shadow); }
.cfx-ck .mobile-price-bar { border-radius: 22px; background: var(--gl-sheen), var(--ck-night); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .14), inset 0 -6px 0 rgba(30, 5, 70, .16), 0 16px 34px rgba(20, 8, 60, .28); }

/* ── smaller screens ────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .cfx-ck .order-card { position: static; }
}
@media (max-width: 575.98px) {
    /* steps: numbers only, except the current one */
    .cfx-ck .cfx-ck-steps li:not(.is-current) { gap: 0; font-size: 0; }
    .cfx-ck-steps li + li::before { width: 24px; margin-right: 8px; }
    .cfx-ck .cfx-ck-steps li.is-current + li::before,
    .cfx-ck .cfx-ck-steps li + li.is-current::before { margin-left: 8px; }
    .cfx-ck .login-nudge { flex-wrap: wrap; }
    .cfx-ck .login-nudge a { justify-content: center; width: 100%; }
    .cfx-ck .co-card { border-radius: 22px; }
    .co-card-head { padding: 16px 18px; }
    .co-card-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 18px; }
    .cfx-ck .order-card { border-radius: 22px; }
    .cfx-ck .order-card-body { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .cfx-ck-pay::after { display: none; }
}
