:root {
    color-scheme: light;
}

body {
    margin: 0;
}

.icdl-page,
.icdl-page * {
    box-sizing: border-box;
}

.icdl-page {
    --icdl-navy: #0d2340;
    --icdl-navy-light: #17385f;
    --icdl-blue: #1f68d5;
    --icdl-blue-dark: #1556b5;
    --icdl-aqua: #70d4c6;
    --icdl-gold: #e1b755;
    --icdl-ink: #132238;
    --icdl-muted: #67758a;
    --icdl-line: #dbe2ec;
    --icdl-surface: #ffffff;
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    padding: 42px 24px;
    background:
        radial-gradient(circle at 8% 5%, rgba(60, 126, 210, .13), transparent 29%),
        radial-gradient(circle at 92% 92%, rgba(112, 212, 198, .16), transparent 31%),
        linear-gradient(135deg, #f7f9fc 0%, #edf2f7 48%, #f8fafc 100%);
    color: var(--icdl-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    isolation: isolate;
}

.icdl-page::before,
.icdl-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(13, 35, 64, .07);
    border-radius: 46% 54% 63% 37%;
    transform: rotate(24deg);
}

.icdl-page::before {
    top: -390px;
    right: -180px;
    box-shadow: 0 0 0 65px rgba(255, 255, 255, .2), 0 0 0 130px rgba(13, 35, 64, .025);
}

.icdl-page::after {
    bottom: -430px;
    left: -170px;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .25), 0 0 0 140px rgba(31, 104, 213, .025);
}

.icdl-shell {
    width: min(100%, 1040px);
    min-height: 650px;
    display: grid;
    grid-template-columns: 45% 55%;
    overflow: hidden;
    border: 1px solid rgba(27, 51, 79, .08);
    border-radius: 28px;
    background: var(--icdl-surface);
    box-shadow: 0 28px 80px rgba(21, 39, 67, .16);
}

.icdl-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 46px 44px 40px;
    background:
        radial-gradient(circle at 90% 12%, rgba(112, 212, 198, .22), transparent 30%),
        linear-gradient(155deg, #17385f 0%, #0d2340 56%, #091a30 100%);
    color: #fff;
}

.icdl-intro::before {
    content: "";
    position: absolute;
    right: -145px;
    bottom: -165px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, .025), 0 0 0 110px rgba(255, 255, 255, .018);
}

.icdl-intro::after {
    content: "";
    position: absolute;
    top: 48%;
    left: -60px;
    width: 210px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(112, 212, 198, .5));
    transform: rotate(-34deg);
}

.icdl-brand,
.icdl-mobile-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.icdl-brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.icdl-brand-mark svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: var(--icdl-aqua);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.icdl-brand strong,
.icdl-brand small,
.icdl-mobile-brand strong,
.icdl-mobile-brand small {
    display: block;
}

.icdl-brand strong,
.icdl-mobile-brand strong {
    font-size: 15px;
    font-weight: 720;
    letter-spacing: .01em;
}

.icdl-brand small,
.icdl-mobile-brand small {
    margin-top: 2px;
    font-size: 11px;
    letter-spacing: .13em;
    opacity: .7;
    text-transform: uppercase;
}

.icdl-intro-copy {
    position: relative;
    z-index: 1;
    margin: auto 0;
}

.icdl-eyebrow,
.icdl-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--icdl-aqua);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.icdl-eyebrow::before,
.icdl-step::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
}

.icdl-intro-copy h1 {
    max-width: 360px;
    margin: 18px 0 20px;
    color: #fff;
    font-size: clamp(34px, 3.1vw, 46px);
    font-weight: 720;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.icdl-intro-copy p {
    max-width: 350px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.75;
}

.icdl-assurance {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.icdl-assurance-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(112, 212, 198, .12);
}

.icdl-assurance-icon svg {
    width: 21px;
    fill: none;
    stroke: var(--icdl-aqua);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.icdl-assurance strong,
.icdl-assurance small {
    display: block;
}

.icdl-assurance strong {
    font-size: 13px;
}

.icdl-assurance small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    line-height: 1.45;
}

.icdl-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px clamp(42px, 5vw, 72px) 36px;
    background: #fff;
}

.icdl-mobile-brand {
    display: none;
    margin-bottom: 38px;
    color: var(--icdl-navy);
}

.icdl-mobile-brand .icdl-brand-mark {
    border-color: rgba(13, 35, 64, .1);
    background: var(--icdl-navy);
}

.icdl-form-heading {
    margin-bottom: 28px;
}

.icdl-step {
    color: var(--icdl-blue);
}

.icdl-form-heading h2 {
    margin: 12px 0 8px;
    color: var(--icdl-ink);
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 740;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.icdl-form-heading p {
    margin: 0;
    color: var(--icdl-muted);
    font-size: 14px;
}

.icdl-message {
    margin: -5px 0 20px;
    padding: 12px 14px;
    border: 1px solid #f1b9b9;
    border-radius: 10px;
    background: #fff4f4;
    color: #922d2d;
    font-size: 13px;
    line-height: 1.5;
}

.icdl-message--info {
    border-color: #b8d3f5;
    background: #f1f7ff;
    color: #194f91;
}

.icdl-field {
    margin-bottom: 20px;
}

.icdl-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.icdl-field label,
.icdl-label-row label {
    display: block;
    margin-bottom: 8px;
    color: #283950;
    font-size: 13px;
    font-weight: 680;
}

.icdl-label-row a,
.icdl-help a {
    color: var(--icdl-blue);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.icdl-label-row a {
    margin-bottom: 8px;
}

.icdl-label-row a:hover,
.icdl-help a:hover {
    color: var(--icdl-blue-dark);
    text-decoration: underline;
}

.icdl-input-wrap {
    position: relative;
}

.icdl-input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 19px;
    height: 19px;
    color: #8996a8;
    transform: translateY(-50%);
    pointer-events: none;
}

.icdl-input-icon svg,
.icdl-password-toggle svg,
.icdl-submit svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.icdl-input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 46px;
    border: 1px solid var(--icdl-line);
    border-radius: 11px;
    outline: 0;
    background: #fbfcfe;
    color: var(--icdl-ink);
    font: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.icdl-input-wrap input::placeholder {
    color: #9aa5b4;
}

.icdl-input-wrap input:focus {
    border-color: var(--icdl-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 104, 213, .1);
}

.icdl-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #7d8b9f;
    cursor: pointer;
    transform: translateY(-50%);
}

.icdl-password-toggle:hover,
.icdl-password-toggle:focus-visible {
    background: #eef3f8;
    color: var(--icdl-blue);
    outline: 0;
}

.icdl-password-toggle .icdl-eye-closed,
.icdl-password-toggle[aria-pressed="true"] .icdl-eye-open {
    display: none;
}

.icdl-password-toggle[aria-pressed="true"] .icdl-eye-closed {
    display: block;
}

.icdl-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 25px;
    color: var(--icdl-muted);
    font-size: 12px;
    cursor: pointer;
}

.icdl-remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--icdl-blue);
}

.icdl-submit {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 20px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--icdl-blue) 0%, #245bbd 100%);
    box-shadow: 0 10px 24px rgba(31, 104, 213, .22);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 720;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.icdl-submit:hover {
    background: linear-gradient(135deg, #185ec4 0%, #194fa5 100%);
    box-shadow: 0 13px 28px rgba(31, 104, 213, .28);
    transform: translateY(-1px);
}

.icdl-submit:focus-visible {
    outline: 3px solid rgba(31, 104, 213, .25);
    outline-offset: 3px;
}

.icdl-submit:disabled {
    cursor: wait;
    opacity: .78;
    transform: none;
}

.icdl-submit svg {
    width: 18px;
    height: 18px;
}

.icdl-spinner {
    width: 17px;
    height: 17px;
    display: none;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: icdl-spin .65s linear infinite;
}

.icdl-form.is-loading .icdl-spinner {
    display: block;
}

.icdl-form.is-loading .icdl-submit svg {
    display: none;
}

@keyframes icdl-spin {
    to { transform: rotate(360deg); }
}

.icdl-help {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 26px;
    color: var(--icdl-muted);
    font-size: 12px;
}

.icdl-notice {
    margin: auto 0 0;
    padding-top: 30px;
    color: #96a0ad;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.icdl-preview-label {
    position: absolute;
    bottom: 13px;
    left: 50%;
    margin: 0;
    color: #738096;
    font-size: 10px;
    letter-spacing: .04em;
    transform: translateX(-50%);
}

.icdl-logged-in {
    text-align: left;
}

.icdl-logged-in .icdl-form-heading {
    margin-bottom: 24px;
}

.icdl-account-actions {
    display: grid;
    gap: 11px;
}

.icdl-secondary-button {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid var(--icdl-line);
    border-radius: 11px;
    color: var(--icdl-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.icdl-secondary-button:hover {
    border-color: #aebbd0;
    background: #f7f9fc;
}

@media (max-width: 820px) {
    .icdl-page {
        padding: 28px 18px;
    }

    .icdl-shell {
        width: min(100%, 560px);
        min-height: auto;
        display: block;
    }

    .icdl-intro {
        display: none;
    }

    .icdl-panel {
        min-height: 660px;
        padding: 40px clamp(25px, 8vw, 56px) 28px;
    }

    .icdl-mobile-brand {
        display: flex;
    }
}

@media (max-width: 480px) {
    .icdl-page {
        min-height: 100svh;
        padding: 0;
        background: #fff;
    }

    .icdl-shell {
        min-height: 100svh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .icdl-panel {
        min-height: 100svh;
        justify-content: flex-start;
        padding: 30px 22px 24px;
    }

    .icdl-mobile-brand {
        margin-bottom: 52px;
    }

    .icdl-form-heading h2 {
        font-size: 31px;
    }

    .icdl-help {
        flex-wrap: wrap;
    }

    .icdl-preview-label {
        display: none;
    }
}

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


