:root {
    --cwh-auth-navy: #071827;
    --cwh-auth-navy-2: #123b55;
    --cwh-auth-cyan: #52d8fb;
    --cwh-auth-blue: #149dcc;
    --cwh-auth-yellow: #ffd83d;
    --cwh-auth-green: #2ccf9f;
    --cwh-auth-ink: #163147;
    --cwh-auth-muted: #66798a;
    --cwh-auth-line: #dce8f0;
    --cwh-auth-soft: #f2f7fa;
}

.cwh-auth-shell {
    overflow: hidden;
    margin: 8px auto 35px;
    background: #fff;
    border: 1px solid var(--cwh-auth-line);
    border-radius: 26px;
    box-shadow: 0 25px 65px rgba(7,24,39,.15);
}

.cwh-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
    max-width: 1080px;
    min-height: 690px;
}

.cwh-auth-visual {
    position: relative;
    overflow: hidden;
    padding: 53px 48px 35px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 10%, rgba(82,216,251,.16), transparent 22rem),
        linear-gradient(145deg, var(--cwh-auth-navy), var(--cwh-auth-navy-2));
}

.cwh-auth-visual::before,
.cwh-auth-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(82,216,251,.14);
    border-radius: 50%;
}
.cwh-auth-visual::before { right: -110px; top: -110px; width: 270px; height: 270px; }
.cwh-auth-visual::after { left: -150px; bottom: -170px; width: 360px; height: 360px; }

.cwh-auth-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cwh-auth-cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cwh-auth-visual h1,
.cwh-register-hero h1 {
    position: relative;
    z-index: 2;
    margin: 14px 0 15px;
    color: #fff !important;
    font-size: clamp(37px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
}
.cwh-auth-visual h1 em,
.cwh-register-hero h1 em {
    color: var(--cwh-auth-cyan);
    font-style: normal;
}
.cwh-auth-visual > p {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.7;
}

.cwh-auth-illustration {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 470px);
    height: 300px;
    margin: 8px auto 2px;
    object-fit: contain;
}

.cwh-auth-benefits {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}
.cwh-auth-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
}
.cwh-auth-benefits i { color: var(--cwh-auth-yellow); }
.cwh-auth-benefits b { color: #ecf9fd; font-size: 10px; }

.cwh-auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px 48px;
}
.cwh-auth-form-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}
.cwh-auth-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    color: var(--cwh-auth-navy);
    background: linear-gradient(135deg, var(--cwh-auth-cyan), var(--cwh-auth-blue));
    border-radius: 16px;
    font-size: 21px;
}
.cwh-auth-form-heading > div > span {
    color: var(--cwh-auth-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.cwh-auth-form-heading h2 {
    margin: 2px 0;
    color: var(--cwh-auth-navy);
    font-size: 30px;
    font-weight: 800;
}
.cwh-auth-form-heading p { margin: 0; color: var(--cwh-auth-muted); font-size: 13px; }

.cwh-login-form label,
.cwh-register-main label {
    color: var(--cwh-auth-navy);
    font-size: 12px;
    font-weight: 700;
}
.cwh-login-form .input-group,
.cwh-register-main .prepend-icon {
    border-radius: 11px;
}
.cwh-login-form .input-group-text {
    min-width: 47px;
    justify-content: center;
    border-color: #cadbe6;
    border-right: 0;
    background: var(--cwh-auth-soft);
    color: var(--cwh-auth-blue);
}
.cwh-login-form .form-control {
    min-height: 49px;
    border-color: #cadbe6;
    background: #fbfdfe;
    color: var(--cwh-auth-ink);
    box-shadow: none;
}
.cwh-login-form .form-control:focus {
    border-color: var(--cwh-auth-blue);
    box-shadow: 0 0 0 3px rgba(20,157,204,.12);
}
.cwh-login-form .btn-reveal-pw {
    min-width: 48px;
    border-color: #cadbe6;
    border-left: 0;
    background: #fbfdfe;
    color: var(--cwh-auth-muted);
}
.cwh-forgot-link { color: var(--cwh-auth-blue) !important; font-size: 11px; font-weight: 700; }
.cwh-login-options { display: flex; justify-content: flex-end; margin: -4px 0 17px; }
.cwh-remember { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--cwh-auth-muted) !important; }
.cwh-remember input { width: 16px; height: 16px; }
.cwh-auth-submit,
.cwh-register-submit {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 51px;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--cwh-auth-yellow) !important;
    color: var(--cwh-auth-navy) !important;
    font-weight: 800 !important;
    box-shadow: 0 11px 23px rgba(255,216,61,.24);
}

.cwh-auth-form-panel .providerLinkingFeedback + .login-form { margin-top: 0; }
.cwh-auth-form-panel .linked-accounts,
.cwh-auth-form-panel .providerLinkingFeedback { margin-top: 18px; }
.cwh-auth-form-panel .btn-social {
    border: 1px solid var(--cwh-auth-line);
    border-radius: 9px;
}

.cwh-auth-switch {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 23px 0 0;
    padding: 17px 0;
    border-top: 1px solid var(--cwh-auth-line);
    border-bottom: 1px solid var(--cwh-auth-line);
    font-size: 12px;
}
.cwh-auth-switch span { color: var(--cwh-auth-muted); }
.cwh-auth-switch a { color: var(--cwh-auth-blue); font-weight: 800; }
.cwh-auth-secure-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 19px;
    padding: 13px;
    background: var(--cwh-auth-soft);
    border-radius: 11px;
}
.cwh-auth-secure-note > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    color: #0e7b5f;
    background: #dcf8ef;
    border-radius: 10px;
}
.cwh-auth-secure-note b,
.cwh-auth-secure-note small { display: block; }
.cwh-auth-secure-note b { color: var(--cwh-auth-navy); font-size: 12px; }
.cwh-auth-secure-note small { color: var(--cwh-auth-muted); font-size: 10px; }

.cwh-register-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    min-height: 335px;
    margin: 8px 0 28px;
    padding: 38px 48px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 12%, rgba(82,216,251,.18), transparent 21rem),
        linear-gradient(125deg, var(--cwh-auth-navy), var(--cwh-auth-navy-2));
    border: 1px solid rgba(82,216,251,.16);
    border-radius: 24px;
    box-shadow: 0 22px 54px rgba(7,24,39,.16);
}
.cwh-register-hero::after {
    content: "";
    position: absolute;
    right: -105px;
    bottom: -180px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(82,216,251,.15);
    border-radius: 50%;
}
.cwh-register-hero__copy { position: relative; z-index: 2; }
.cwh-register-hero h1 { margin-top: 10px; font-size: clamp(34px, 4vw, 50px); }
.cwh-register-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; }
.cwh-register-hero__graphic { position: relative; z-index: 1; display: block; width: 100%; max-height: 280px; }
.cwh-register-hero__trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cwh-register-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: #eaf8fc;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}
.cwh-register-hero__trust i { color: var(--cwh-auth-yellow); }

.cwh-register-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}
.cwh-register-aside { position: sticky; top: 22px; display: grid; gap: 16px; }
.cwh-register-progress,
.cwh-register-aside-card,
.cwh-register-login-link {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--cwh-auth-line);
    border-radius: 17px;
    box-shadow: 0 11px 30px rgba(7,24,39,.07);
}
.cwh-register-progress { display: grid; gap: 6px; }
.cwh-register-progress span {
    position: relative;
    display: grid;
    grid-template-columns: 28px 25px 1fr;
    align-items: center;
    min-height: 47px;
    color: var(--cwh-auth-muted);
}
.cwh-register-progress span:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 37px;
    width: 2px;
    height: 23px;
    background: var(--cwh-auth-line);
}
.cwh-register-progress b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: var(--cwh-auth-muted);
    background: var(--cwh-auth-soft);
    border-radius: 50%;
    font-size: 10px;
}
.cwh-register-progress i { color: var(--cwh-auth-blue); font-size: 12px; text-align: center; }
.cwh-register-progress em { font-style: normal; font-size: 11px; font-weight: 700; }
.cwh-register-progress span.active b { color: var(--cwh-auth-navy); background: var(--cwh-auth-yellow); }
.cwh-register-progress span.active em { color: var(--cwh-auth-navy); }

.cwh-register-aside-card {
    color: #fff;
    background: linear-gradient(145deg, var(--cwh-auth-navy), var(--cwh-auth-navy-2));
    border-color: transparent;
}
.cwh-register-aside-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--cwh-auth-navy);
    background: var(--cwh-auth-cyan);
    border-radius: 14px;
    font-size: 19px;
}
.cwh-register-aside-card h3 { margin: 14px 0 7px; color: #fff !important; font-size: 16px; font-weight: 800; }
.cwh-register-aside-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.6; }
.cwh-register-login-link span { display: block; color: var(--cwh-auth-muted); font-size: 10px; }
.cwh-register-login-link a { display: inline-block; margin-top: 5px; color: var(--cwh-auth-blue); font-size: 11px; font-weight: 800; }

.cwh-register-card {
    overflow: hidden;
    border: 1px solid var(--cwh-auth-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(7,24,39,.07) !important;
}
.cwh-register-card .card-body { padding: 29px !important; }
.cwh-register-card .card-title {
    position: relative;
    margin: -29px -29px 25px !important;
    padding: 19px 22px 19px 65px;
    color: var(--cwh-auth-navy) !important;
    background: #f5fafc;
    border-bottom: 1px solid var(--cwh-auth-line);
    font-size: 19px;
    font-weight: 800;
}
.cwh-register-title-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--cwh-auth-navy);
    background: var(--cwh-auth-cyan);
    border-radius: 10px;
    transform: translateY(-50%);
}
.cwh-register-title-icon i {
    display: block;
    color: var(--cwh-auth-navy) !important;
    font-size: 15px !important;
    line-height: 1 !important;
}
.cwh-register-card--billing .cwh-register-title-icon,
.cwh-register-card--marketing .cwh-register-title-icon { background: var(--cwh-auth-yellow); }
.cwh-register-card--security .cwh-register-title-icon { background: var(--cwh-auth-green); }

.cwh-register-main .prepend-icon .field-icon {
    top: 0 !important;
    left: 7px !important;
    z-index: 4;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 47px !important;
    line-height: 47px !important;
    color: var(--cwh-auth-blue) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    pointer-events: none;
}
.cwh-register-main .prepend-icon .field-icon i {
    position: static !important;
    margin: 0 !important;
    line-height: 1 !important;
    color: var(--cwh-auth-blue) !important;
    font-size: 15px !important;
    opacity: 1 !important;
}
.cwh-register-main input.field,
.cwh-register-main select.field,
.cwh-register-main .form-control {
    min-height: 47px;
    border-color: #cadbe6 !important;
    background-color: #fbfdfe;
    color: var(--cwh-auth-ink);
    border-radius: 9px;
    box-shadow: none;
}
.cwh-register-main .prepend-icon input.field,
.cwh-register-main .prepend-icon select.field,
.cwh-register-main .prepend-icon .form-control {
    padding-left: 49px !important;
}
.cwh-register-main .cwh-register-phone .iti,
.cwh-register-main .cwh-register-phone .intl-tel-input {
    display: block;
    width: 100%;
}
.cwh-register-main .cwh-register-phone input.field,
.cwh-register-main .cwh-register-phone .form-control {
    width: 100%;
    padding-left: 92px !important;
}
.cwh-register-main .cwh-register-phone .iti__selected-country,
.cwh-register-main .cwh-register-phone .selected-flag {
    z-index: 5;
}
.cwh-register-main input.field:focus,
.cwh-register-main select.field:focus,
.cwh-register-main .form-control:focus {
    border-color: var(--cwh-auth-blue) !important;
    box-shadow: 0 0 0 3px rgba(20,157,204,.11);
}
.cwh-register-main .password-strength-meter .progress { height: 8px; border-radius: 999px; }
.cwh-register-submit-wrap { max-width: 390px; margin: 24px auto 35px; }
.cwh-register-submit { min-height: 55px; }

@media (max-width: 991px) {
    .cwh-login-shell { grid-template-columns: 1fr; max-width: 680px; }
    .cwh-auth-visual { padding: 42px 38px 30px; }
    .cwh-auth-illustration { height: 250px; }
    .cwh-register-hero { grid-template-columns: 1fr 260px; padding: 34px; }
    .cwh-register-layout { grid-template-columns: 1fr; }
    .cwh-register-aside { position: static; grid-template-columns: repeat(3, minmax(0,1fr)); }
    .cwh-register-progress { grid-column: 1 / -1; grid-template-columns: repeat(4,minmax(0,1fr)); }
    .cwh-register-progress span { display: flex; gap: 7px; }
    .cwh-register-progress span::after { display: none; }
}

@media (max-width: 767px) {
    .cwh-auth-shell,
    .cwh-register-hero { border-radius: 17px; }
    .cwh-auth-visual { padding: 34px 23px 27px; }
    .cwh-auth-visual h1 { font-size: 37px; }
    .cwh-auth-benefits { grid-template-columns: 1fr; }
    .cwh-auth-illustration { height: 220px; }
    .cwh-auth-form-panel { padding: 34px 23px; }
    .cwh-register-hero { display: block; padding: 31px 23px; }
    .cwh-register-hero__graphic { max-height: 220px; margin-top: 10px; }
    .cwh-register-aside { grid-template-columns: 1fr; }
    .cwh-register-progress { grid-column: auto; grid-template-columns: 1fr 1fr; }
    .cwh-register-card .card-body { padding: 21px !important; }
    .cwh-register-card .card-title { margin: -21px -21px 21px !important; }
}

@media (max-width: 480px) {
    .cwh-auth-switch { display: grid; }
    .cwh-register-hero__graphic { display: none; }
    .cwh-register-progress { grid-template-columns: 1fr; }
}
