.create-account-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* margin-right: -32px; */
    padding-top: 0px !important;
}

.mud-main-content {
    padding-top: 0px !important;
}

.mud-button-label {
    font-weight: 400;
    font-size: 19px;
    width: 100%;
    display: inherit;
    align-items: inherit;
    justify-content: space-between;
}

.create-account-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    background: radial-gradient(circle at 75% 120%, rgba(50, 138, 212, 0.35), transparent 44%),
        radial-gradient(circle at 15% -30%, rgba(93, 167, 234, 0.22), transparent 48%),
        linear-gradient(132deg, #0a3f6c, #0f5d95 80%);
    padding: 28px 24px 75px;
}

.create-account-hero__decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.create-account-hero__decor--left {
    top: 0;
    left: 0;
    width: min(390px, 25vw);
}

.create-account-hero__decor--right {
    top: 50%;
    right: 0;
    width: min(450px, 25vw);
}

.create-account-hero::before {
    content: "";
    position: absolute;
    pointer-events: none;
}

.create-account-hero::before {
    inset: 0;
    opacity: 0.18;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
}

.create-account-hero__content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.create-account-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    padding-right: 20px;
}

.create-account-brand__logo {
    border-radius: 10px;
    padding: 8px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(45deg, #000000, transparent);*/
}

.create-account-brand__logo img {
    width: auto;
    height: 89px;
    display: block;
}

.create-account-brand__text {
    color: #f5fbff;
    text-align: left;
    font-size: 18px;
    line-height: 1.18;
    letter-spacing: 0.01em;
    font-weight: 700;
}

.create-account-hero__title {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(2rem, 3.2vw, 3.35rem);
    font-weight: 400;
    line-height: 1.16;
}

.create-account-hero__title span {
    color: #91c7ff;
    font-weight: 700;
}

.create-account-hero__subtitle {
    margin: 0;
    color: rgba(228, 242, 255, 0.8);
    font-size: 18px;
    font-weight: 300;
}

.create-account-shell {
    width: min(1250px, calc(100% - 48px));
    margin: -56px auto 20px;
    display: flex;
    flex-direction: column;
    gap: 55px;
}

.create-account-card {
    z-index: 1;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e6ecf2;
    box-shadow: 0 22px 52px rgba(12, 42, 69, 0.16);
    padding: 28px 90px 40px;
}

.create-account-card__stepper {
    margin-bottom: 22px;
}

.wizard-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 0;
}

.wizard-stepper__item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wizard-stepper__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid #e1e4e8;
    background: #f3f4f6;
    color: #b3b8c0;
}

.wizard-stepper__circle--active {
    background: #0a4f83;
    border-color: #0a4f83;
    color: #ffffff;
}

.wizard-stepper__circle--completed {
    background: #1568a6;
    border-color: #1568a6;
    color: #ffffff;
}

.wizard-stepper__circle--inactive {
    background: #f3f4f6;
    border-color: #e1e4e8;
    color: #b3b8c0;
}

.wizard-stepper__line {
    width: 42px;
    height: 1px;
    margin: 21px 8px 0;
    background: #e2e5e9;
}

.wizard-stepper__line--active {
    background: #1568a6;
}

.mud-input>input.mud-input-root-outlined, div.mud-input-slot.mud-input-root-outlined {
    padding: 0px !important;
}

.create-account-card__header {
    margin-top: 2rem;
    text-align: center;
}

.create-account-card__header h2 {
    margin: 0;
    color: #08355a;
    font-size: 33px;
    font-weight: 700;
}

.create-account-card__header p {
    margin: 6px 0 0;
    color: #757f89;
    font-size: 16px;
    font-weight: 400;
}

.create-account-form {
    margin-top: 40px;
    display: grid;
    gap: 16px;
}

.create-account-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.create-account-form__row--full {
    grid-template-columns: 1fr;
}

.create-account-form__row--thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.create-account-form__row--last {
    grid-template-columns: 1fr;
}

.create-account-field {
    width: 100%;
}

/* Mask SSN digits visually without using password input type,
   to reduce browser password/SSN autofill while still showing dots. */
.ssn-masked input {
    -webkit-text-security: disc;
    text-security: disc;
}

.create-account-input {
    position: relative;
}

.create-account-input__icon {
    position: absolute;
    top: 29px;
    left: 16px;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.create-account-field--full {
    width: 100%;
}

.create-account-additional-link {
    color: #0a4f83;
    font-size: 18px;
    font-weight: 500;
    margin-top: -2px;
}

.create-account-note {
    color: #8f98a2;
    font-size: 12px;
    margin-top: 5px;
    left: 19px;
    position: relative;
}

.create-account-address-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.create-account-address-option {
    border: 1px solid #d8dde4;
    background: #f3f5f7;
    color: #404850;
    border-radius: 14px;
    min-height: 48px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.create-account-address-option--active {
    background: #c7dff4;
    border-color: #9ec2e7;
    color: #0a4f83;
}

.create-account-address-tabs {
    margin-top: -2px;
}

.create-account-address-tabs .mud-tabs-toolbar {
    padding: 0;
    min-height: 0;
    border-bottom: 1px solid #e6ecf2;
}

.create-account-address-tabs .mud-tabs-tabbar {
    gap: 8px;
    min-height: 0;
}

.create-account-address-tabs .mud-tab {
    min-height: 44px;
    border-radius: 10px 10px 0 0;
    padding: 0 14px;
    color: #2f3b47;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.create-account-address-tabs .mud-tab:hover {
    background: #eef4fa;
}

.create-account-address-tabs .mud-tab.mud-tab-active {
    background: #0a4f83;
    color: #ffffff;
}

.create-account-address-tabs .mud-tab .mud-icon-root {
    font-size: 19px;
}


.create-account-address-tabs .mud-tab,
.create-account-address-tabs .mud-tab.mud-tab-active {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.create-account-address-tabs .mud-tab::before,
.create-account-address-tabs .mud-tab::after,
.create-account-address-tabs .mud-tab.mud-tab-active::before,
.create-account-address-tabs .mud-tab.mud-tab-active::after {
    display: none !important;
}

mud-tooltip-root mud-tooltip-inline {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
.create-account-address-tabs .mud-tabs-slider {
    display: none;
}

.create-account-address-tabs .mud-tabs-panels {
    padding-top: 18px;
}

.create-account-address-tabs .mud-tabpanel {
    padding: 0;
}

.create-account-form__row {
    margin-top: 14px;
}

.create-account-same-home {
    padding: 2px 4px;
}

.create-account-same-home .mud-checkbox {
    margin: 0;
}

.create-account-same-home .mud-checkbox-label {
    font-size: 15px;
    color: #2f3b47;
    font-weight: 500;
}

.mud-tabs-tabbar-content {
    display: flex;
    justify-content: center !important;
}

.create-account-review {
    margin-top: 34px;
    display: grid;
    gap: 16px;
}

.create-account-review-card {
    border: 1px solid #e5ebf2;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.create-account-review-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    background: #f6f8fb;
    color: #0a4f83;
    font-size: 19px;
    font-weight: 500;
}

.create-account-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
    column-gap: 0;
    padding: 12px 14px 14px;
}

.create-account-review-item {
    min-height: 42px;
    padding: 0 12px;
    border-left: 1px solid #edf1f6;
}

.create-account-review-item:nth-child(3n + 1) {
    border-left: 0;
    padding-left: 0;
}

.create-account-review-item__label {
    color: #777777;
    font-size: 14px;
    line-height: 1.2;
}

.create-account-review-item__value {
    color: #2D2D2D;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.35;
    word-break: break-word;
}

.create-account-requirements {
    border: 1px solid #e1e5ea;
    border-radius: 18px;
    background: #ffffff;
    padding: 16px 18px;
}

.create-account-requirements__title {
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.create-account-requirements ul {
    margin: 0;
    padding-left: 22px;
    color: #666666;
    font-size: 16px;
    line-height: 1.45;
}

.create-account-step4-label {
    color: #0a4f83;
    font-size: 17px;
    font-weight: 500;
    margin-top: 6px;
}

.create-account-terms {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666666;
    font-size: 16px;
}

.create-account-terms a {
    color: #0b365a;
    font-weight: 600;
}

.create-account-card .mud-input-control {
    margin-top: 0;
}

.create-account-card .mud-input-outlined {
    border-radius: 28px;
    background: #f7f8f9;
}

.create-account-card .mud-input-outlined-border {
    border-color: #e3e7ec !important;
    border-radius: 28px !important;
}

.create-account-card .mud-input-slot {
    min-height: 56px;
    color: #35516a;
    font-size: 17px;
}

.create-account-card .create-account-field--with-icon .mud-select-input {
    display: flex !important;
    align-items: center;
}

.create-account-card .create-account-field--with-icon .mud-input-slot {
    padding-left: 44px !important;
}

.create-account-card input::placeholder {
    color: var(--ncc-color-000000) !important;
    opacity: 1;
    font-weight: 500;
}

.create-account-card .mud-select-input {
    color: var(--ncc-color-000000) !important;
    -webkit-text-fill-color: #244764 !important;
    font-weight: 500;
}

/*    .create-account-card .mud-select-input.mud-input-placeholder {
        color: var(--ncc-color-000000) !important;
        -webkit-text-fill-color: #244764 !important;
        font-weight: 500;
    }*/

.create-account-card .mud-input-adornment {
    color: #0b4a7f;
}

.create-account-card .mud-select-input+.mud-input-adornment-end {
    color: #0b4a7f;
}

.create-account-card__divider {
    margin: 40px 0 0;
    border-color: #edf1f6;
}

.create-account-card__actions {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.create-account-btn {
    border-radius: 999px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
    min-height: 52px;
    min-width: 118px;
}

.create-account-btn--back {
    border-color: #e3e7ec;
    color: #7a8692;
    padding: 4px 14px 4px 6px;
}

.create-account-btn--next {
    background: #0a4f83;
    color: #ffffff;
    padding: 4px 6px 4px 18px;
}

.create-account-btn--next .mud-button-label {
    justify-content: center;
    gap: 10px;
}

.create-account-btn__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.create-account-btn__icon--back {
    margin-right: 10px;
    background: #f0f2f5;
    color: #2c6a99;
}

.create-account-btn__icon--next {
    margin-left: 10px;
    background: #2a74af;
    color: #ffffff;
}

.create-account-card__meta {
    margin-top: 20px;
    text-align: center;
    display: grid;
    gap: 8px;
}

.create-account-card__meta p {
    margin: 0;
    font-size: 18px;
    color: #6b7785;
}

.create-account-card__meta strong {
    color: #0a406e;
}

.create-account-card__meta a {
    color: #0b4a7f;
    font-weight: 600;
}

.create-account-copyright {
    margin: 0;
    text-align: center;
    color: #6c7784;
    font-size: 16px;
}

.create-account-copyright span {
    color: #0a406e;
    font-weight: 700;
}

.create-account-success {
    display: grid;
    gap: 20px;
    color: #2f3740;
    font-size: 17px;
    line-height: 1.5;
}

.create-account-success__banner {
    background: #d7e3f3;
    border-radius: 18px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.create-account-success__check {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #0a4f83;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.create-account-success__title {
    font-size: 32px;
    font-weight: 700;
    color: #1ba621;
    line-height: 1.2;
}

.create-account-success__subtitle {
    margin-top: 4px;
    color: #6a7583;
    font-size: 14px;
}

.create-account-success__card {
    border: 1px solid #e3e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.create-account-success__card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #e8ebf0;
    background: #f8fafc;
    font-size: 25px;
}

.create-account-success__card-head strong {
    color: #0a4f83;
}

.create-account-success__card-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.create-account-success__card-body>div {
    padding: 12px 16px;
    border-right: 1px solid #e8ebf0;
}

.create-account-success__card-body>div:last-child {
    border-right: 0;
}

.create-account-success__card-body label {
    display: block;
    color: #7b8692;
    font-size: 11px;
}

.create-account-success__card-body div div {
    color: #2b3138;
    font-size: 27px;
    font-weight: 500;
}

.create-account-success h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.create-account-success p {
    margin: 0;
}

.create-account-success__email {
    color: rgba(16, 102, 165, 1);
}

.create-account-success__pda-link {
    color: rgba(16, 102, 165, 1) !important;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .create-account-page {
        width: calc(100% + 32px);
        margin-right: -32px;
    }

    .create-account-hero {
        padding-bottom: 112px;
    }

    .create-account-card {
        padding: 28px 28px 20px;
    }

    .create-account-card__header h2 {
        font-size: 32px;
    }
}

@media (max-width: 820px) {
    .create-account-page {
        width: calc(100% + 20px);
        margin-right: -20px;
    }

    .create-account-brand {
        width: 100%;
        justify-content: flex-start;
    }

    .create-account-brand__text {
        font-size: 14px;
    }

    .create-account-hero__decor--left,
    .create-account-hero__decor--right {
        width: 160px;
    }

    .create-account-shell {
        width: calc(100% - 24px);
        margin-top: -50px;
    }

    .create-account-form__row,
    .create-account-form__row--last,
    .create-account-form__row--thirds,
    .create-account-form__row--full {
        grid-template-columns: 1fr;
    }

    .create-account-address-toggle {
        flex-wrap: wrap;
    }

    .create-account-address-tabs .mud-tabs-tabbar {
        flex-wrap: wrap;
    }

    .create-account-review-grid {
        grid-template-columns: 1fr;
    }

    .create-account-review-item {
        border-left: 0;
        border-bottom: 1px solid #edf1f6;
        padding: 0 0 10px;
    }

    .create-account-review-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    /* .create-account-card__actions {
        flex-direction: column-reverse;
        gap: 12px;
    } */

    .create-account-btn {
        width: 100%;
        justify-content: center;
    }

    .create-account-card__meta p {
        font-size: 15px;
    }

    .create-account-terms {
        font-size: 15px;
        align-items: flex-start;
    }

    .create-account-requirements__title {
        font-size: 20px;
    }

    .create-account-requirements ul,
    .create-account-step4-label {
        font-size: 14px;
    }

    .create-account-success__title {
        font-size: 30px;
    }

    .create-account-success__card-body {
        grid-template-columns: 1fr;
    }

    .create-account-success__card-body>div {
        border-right: 0;
        border-bottom: 1px solid #e8ebf0;
    }

    .create-account-success__card-body>div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 600px) {
    .wizard-stepper__circle {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .wizard-stepper__line {
        width: 20px;
        margin: 15px 6px 0;
    }
}

/* Force-hide MudTabs active indicator for address tabs */
.create-account-address-tabs .mud-tabs-slider,
.create-account-address-tabs .mud-tab-slider,
.create-account-address-tabs .mud-tabs-slider-wrapper {
    display: none !important;
    height: 0 !important;
    opacity: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.create-account-address-tabs .mud-tabs-tabbar {
    border-bottom: 0 !important;
}

.create-account-address-tabs .mud-tab.mud-tab-active {
    border-bottom: 0 !important;
    box-shadow: none !important;
}
