:root {
    --cw-register-accent: #0ab5b5;
    --cw-register-accent-strong: #079a9a;
    --cw-register-accent-soft: rgba(10, 181, 181, 0.12);
    --cw-register-bg: #f2f5f9;
    --cw-register-surface: #ffffff;
    --cw-register-surface-muted: #f8fafc;
    --cw-register-border: #e2e8f0;
    --cw-register-text: #0f172a;
    --cw-register-muted: #475569;
    --cw-register-soft: #64748b;
    --cw-register-navy: #102238;
    --cw-register-navy-2: #17364a;
    --cw-register-hero-teal: #0f4f56;
    --cw-register-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    --cw-register-radius-lg: 28px;
    --cw-register-radius-md: 18px;
    --cw-register-radius-sm: 12px;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--cw-register-bg) !important;
}

body.kt-header--fixed,
body.kt-header-mobile--fixed,
.kt-header--fixed .kt-wrapper,
.kt-header-mobile--fixed .kt-wrapper {
    padding-top: 0 !important;
}

body,
.cw-register-surface,
.cw-register-surface * {
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.kt-page-loader,
#kt_header_mobile,
#kt_header,
#dvHead,
#kt_scrolltop {
    display: none !important;
}

.kt-page,
.kt-wrapper,
.kt-body,
.kt-content,
.kt-container,
.main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kt-grid__item,
.kt-grid.kt-grid--ver,
.kt-grid.kt-grid--hor {
    min-height: auto !important;
}

.cw-register-surface {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(520px, 680px) minmax(420px, 560px);
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 32px;
    color: var(--cw-register-text);
    overflow: hidden;
}

.cw-register-surface::before,
.cw-register-surface::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.cw-register-surface::before {
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(10, 181, 181, 0.15), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.11), transparent 26%),
        linear-gradient(135deg, #f8fafc 0%, #f2f5f9 46%, #edf4f7 100%);
}

.cw-register-surface::after {
    inset: 24px;
    border: 1px solid rgba(226, 232, 240, 0.78);
    border-radius: 32px;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.cw-register-hero,
.cw-register-card-wrap {
    position: relative;
    z-index: 1;
}

.cw-register-hero {
    width: 100%;
    max-width: 680px;
    min-height: min(640px, calc(100vh - 64px));
    justify-self: end;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--cw-register-radius-lg);
    color: #ffffff;
    background:
        radial-gradient(circle at 84% 16%, rgba(10, 181, 181, 0.20), transparent 34%),
        radial-gradient(circle at 18% 92%, rgba(125, 211, 252, 0.10), transparent 30%),
        linear-gradient(137deg, var(--cw-register-navy) 0%, var(--cw-register-navy-2) 50%, var(--cw-register-hero-teal) 100%);
    box-shadow: var(--cw-register-shadow);
    overflow: hidden;
}

.cw-register-hero::before {
    content: "";
    position: absolute;
    right: -96px;
    bottom: -132px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 50%;
    background: rgba(10, 181, 181, 0.055);
}

.cw-register-brand {
    position: relative;
    margin-bottom: 34px;
}

.cw-register-brand img {
    display: block;
    width: clamp(150px, 13vw, 190px);
    height: auto;
    filter: drop-shadow(0 12px 26px rgba(2, 8, 23, 0.20));
}

.cw-register-kicker {
    position: relative;
    margin: 0 0 14px;
    color: rgba(226, 232, 240, 0.76);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cw-register-hero h1 {
    position: relative;
    max-width: 540px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.07;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.cw-register-hero-copy {
    position: relative;
    max-width: 560px;
    margin: 18px 0 0;
    color: rgba(226, 232, 240, 0.88);
    font-size: 15px;
    line-height: 1.65;
}

.cw-register-proof {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.cw-register-proof li {
    min-height: 104px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.15);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cw-register-proof strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.25;
}

.cw-register-proof span {
    display: block;
    color: rgba(226, 232, 240, 0.76);
    font-size: 12px;
    line-height: 1.45;
}

.cw-register-status-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 38px;
}

.cw-register-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(226, 232, 240, 0.16);
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.88);
    background: rgba(255, 255, 255, 0.075);
    font-size: 12px;
    font-weight: 700;
}

.cw-register-status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cw-register-accent);
    box-shadow: 0 0 0 4px rgba(10, 181, 181, 0.16);
}

.cw-register-card-wrap {
    width: 100%;
    min-height: min(640px, calc(100vh - 64px));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-register-card {
    width: 100%;
    max-width: 560px;
    padding: clamp(26px, 3.4vw, 38px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--cw-register-radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--cw-register-shadow);
}

.cw-register-card-header {
    margin-bottom: 26px;
}

.cw-register-card-eyebrow {
    margin: 0 0 10px;
    color: var(--cw-register-accent-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cw-register-card h2 {
    margin: 0;
    color: var(--cw-register-text);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.042em;
    font-weight: 800;
}

.cw-register-card-subtitle {
    margin: 12px 0 0;
    color: var(--cw-register-muted);
    font-size: 14px;
    line-height: 1.58;
}

.cw-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cw-register-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
}

.cw-register-field legend {
    display: none;
}

.cw-register-field-wide {
    grid-column: 1 / -1;
}

.cw-register-label {
    display: block;
    margin: 0 0 8px;
    color: var(--cw-register-text);
    font-size: 13px;
    font-weight: 800;
}

.cw-register-input.form-control,
.cw-register-input {
    display: block;
    appearance: none;
    height: 48px;
    width: 100% !important;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--cw-register-border);
    border-radius: var(--cw-register-radius-sm);
    background: var(--cw-register-surface-muted);
    color: var(--cw-register-text);
    box-shadow: none;
    font-size: 15px;
    font-weight: 600;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.cw-register-input.form-control:focus,
.cw-register-input:focus {
    border-color: var(--cw-register-accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(10, 181, 181, 0.15);
    outline: none;
}

.cw-register-hint {
    margin: 16px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--cw-register-border);
    border-radius: 16px;
    color: var(--cw-register-muted);
    background: #ffffff;
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
}

.cw-register-validation {
    display: block;
    margin-top: 7px;
    color: var(--cw-register-accent-strong) !important;
    font-size: 12px;
    font-weight: 700;
}

.cw-register-terms {
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--cw-register-border);
    border-radius: 16px;
    background: var(--cw-register-surface-muted);
    text-align: left;
}

.cw-register-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--cw-register-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.cw-register-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--cw-register-accent);
}

.cw-register-captcha-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
}

.cw-register-submit {
    display: flex;
    align-items: center;
}

.cw-register-captcha {
    text-align: left;
}

.cw-register-captcha-title {
    display: block;
    margin-bottom: 8px;
    color: var(--cw-register-text);
    font-size: 13px;
    font-weight: 800;
}

.cw-register-captcha .RadCaptcha,
.cw-register-captcha table {
    max-width: 100%;
}

.cw-register-captcha input[type="text"] {
    display: block;
    appearance: none;
    height: 44px;
    width: 100% !important;
    max-width: 240px;
    padding: 10px 12px;
    border: 1px solid var(--cw-register-border);
    border-radius: var(--cw-register-radius-sm);
    background: var(--cw-register-surface-muted);
    color: var(--cw-register-text);
    font-weight: 600;
}

.cw-register-button.btn,
.cw-register-button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    background: var(--cw-register-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(10, 181, 181, 0.24);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.cw-register-button.btn:hover,
.cw-register-button.btn:focus,
.cw-register-button:hover,
.cw-register-button:focus {
    background: var(--cw-register-accent-strong) !important;
    color: #ffffff !important;
    box-shadow: 0 16px 32px rgba(10, 181, 181, 0.28);
    outline: none;
    transform: translateY(-1px);
}

.cw-register-secondary {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--cw-register-border);
    color: var(--cw-register-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.cw-register-secondary a,
.cw-register-hero a {
    color: var(--cw-register-accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.cw-register-hero a {
    color: #7dd3fc;
}

.cw-register-secondary a:hover,
.cw-register-hero a:hover,
.cw-register-secondary a:focus,
.cw-register-hero a:focus {
    text-decoration: underline;
}

.cw-register-legal {
    margin: 16px 0 0;
    color: var(--cw-register-soft);
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.cw-register-page .swal2-popup {
    border-radius: 18px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.cw-register-page .swal2-styled.swal2-confirm {
    border-radius: 12px !important;
    background-color: var(--cw-register-accent) !important;
    box-shadow: none !important;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .cw-register-surface {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .cw-register-hero,
    .cw-register-card-wrap {
        max-width: 760px;
        min-height: auto;
        justify-self: center;
    }

    .cw-register-card {
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .cw-register-surface {
        padding: 14px;
        gap: 14px;
    }

    .cw-register-surface::after {
        display: none;
    }

    .cw-register-hero {
        padding: 24px;
        border-radius: 22px;
    }

    .cw-register-proof,
    .cw-register-grid,
    .cw-register-captcha-action {
        grid-template-columns: 1fr;
    }

    .cw-register-card {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .cw-register-captcha-action {
        align-items: stretch;
    }
}

@media (max-width: 420px) {
    .cw-register-hero h1 {
        font-size: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cw-register-surface *,
    .cw-register-surface *::before,
    .cw-register-surface *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
