html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

/*.invalid {
    outline: 1px solid red;
}*/

/*.validation-message {
    color: red;
}*/

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgM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MDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.2rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}


/*steps css*/
.onboarding-steps {
    margin: 0 auto;
}

.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    font-size: 13px;
    text-align: center;
}

    .stepper-item::before {
        position: absolute;
        content: "";
        border-bottom: 6px solid #ccc;
        width: 100%;
        top: 17px;
        left: -10px;
        z-index: 2;
    }

    .stepper-item::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 100%;
        top: 20px;
        left: 50%;
        z-index: 2;
    }

    .stepper-item.active .step-counter {
        opacity: 1;
    }

    .stepper-item .step-counter {
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin: 0 auto 6px;
        opacity: 0;
    }

    .stepper-item a {
        color: #999999;
    }

    .stepper-item.active a:after, .stepper-item.completed a:after {
        display: none;
    }

    .stepper-item a:hover:after {
        content: "You can click on the page you want to visit from this menu and all your information will be saved.";
        position: absolute;
        top: 110%;
        left: 0;
        background: #ffff;
        border: 1px solid #ccc;
        color: #333;
        z-index: 9;
        width: 200px;
        margin-left: -39px;
    }

    .stepper-item a:hover {
        text-decoration: none;
        color: #1197d5;
    }

    .stepper-item:last-child .step-name:after {
        display: none;
    }

    .stepper-item:hover:after {
        border-bottom: 2px solid #1197d5;
    }

    .stepper-item:hover:before {
        border-bottom: 6px solid #1197d5;
    }

.step-name:after {
    position: absolute;
    content: "";
    right: -1px;
    top: 16px;
    background: #f3f5f7;
    width: 0px;
    height: 8px;
    z-index: 9;
    transform: rotate(25deg);
}

.stepper-item.completed .step-name:after {
    width: 3px;
}

.stepper-item.completed .step-counter {
    color: #fff;
}

.stepper-item.active::after {
    position: absolute;
    content: "";
    border-bottom: 6px solid #0097d5;
    width: 100%;
    top: 17px;
    left: 0;
    z-index: 3;
    clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 6px solid #004F9B;
    width: 100%;
    top: 17px;
    left: 0;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

.stepper-item.completed {
    color: #004F9B;
}

.stepper-item.active a {
    color: #1197d5;
}


.stepper-item:last-child a:hover:after {
}

.main-content {
    margin-left: -80px;
}

h2.text-center.broker-head {
    border: 0;
}

.btnhover:hover {
    background: transparent !important;
}

.onboarding-steps {
        max-width: 1015px;
        margin: 0 auto;
}


.section-header {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 6px 12px;
    margin-bottom: 12px;
}

    .section-header .label {
        color: #1f6fb4;
        font-weight: 600;
        font-size: 16px;
    }

.section-content {
    padding: 8px 2px 18px 2px;
    margin-bottom: 8px;
}

.required-star {
    color: red; /* red */
    margin-left: -2px;
}

/* validation-popup CSS: attached to input border */
.input-wrapper {
    position: relative;
    margin-top: 6px;
}

.input-error {
    border: 1px solid #f9777f !important;
}

.validation-popup {
    display: none;
    background: #f9777f; /* light red/pink */
    color: white; /* dark red text */
    padding: 3px 6px;
    font-weight: 600;
    font-size: 12px;
    position: absolute;
    left: 1px;
    top: calc(142% - 6px); /* overlap input border */
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    z-index: 10;
}

    .validation-popup::after {
        content: "";
        position: absolute;
        top: -10px;
        left: 12px;
        border-width: 6px;
        border-style: solid;
        border-color: transparent transparent #f9777f transparent;
    }

.headingtag {
    font-weight: 600;
    padding-left: 10px;
    border-left: 4px solid #00589C;
}

.review-edit-link {
    cursor: pointer;
    color: #00589C !important; /* dark blue */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none; /* remove underline from entire link */
}

    .review-edit-link .edit-text {
        text-decoration: underline !important; /* underline only text */
    }

    .review-edit-link .edit-icon {
        text-decoration: none; /* ensure no underline */
    }


.backgray {
    border: 1px solid var(--rz-base-300);
}

/*Css for the uploader box*/
.upload-box {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 1px);
    height: 22px;
}

    .upload-box .input-inner {
        background: #fff;
        border: 2px dashed #ccc;
        border-radius: 4px;
        padding: 10px 15px;
        margin-right: 10px;
        position: relative;
    }

p.upload-text {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #817e7e;
    margin-bottom: -3px;
    margin-top: -4px;
}

.upload-box .input-inner input {
    opacity: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    display: block;
}

.page-bg {
    background: #f4f6f7; /* subtle gray outside card like screenshot */
    padding: 30px 16px 60px;
    min-height: 100vh;
}

.card-container {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff; /* white card */
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.card-header {
    border-left: 4px solid #1b6ea8; /* deeper blue accent */
    padding: 14px 20px;
    font-weight: 700;
    color: #143b4d; /* dark blue text */
    background: #fff;
    font-size: 15px;
}

.app-req-container {
    padding: 22px 28px 28px 28px;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: white;
}

    .app-req-container h2 {
        color: #143b4d;
        margin: 0 0 8px 0;
        font-size: 20px;
    }

    .app-req-container .lead {
        color: #6b7176;
        margin-bottom: 18px;
        font-size: 13px;
    }

.requirements-panel {
    background: #e6f3fb; /* pale blue box */
    border: 1px solid #cfeaf8;
    border-left: 4px solid #1b9adf; /* bright blue left border */
    border-radius: 6px;
    padding: 18px 20px;
}

.section {
    margin-bottom: 14px;
}

.section-title {
    font-weight: 600;
    color: #143b4d;
    margin-bottom: 8px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* control spacing between icon and text */
}

.section .check {
    color: #1b9adf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-weight: 700;
    line-height: 1;
    background: #e6f3fb;
    border-radius: 50%;
    border: 1px solid #cfeaf8;
}

.requirements-panel ul {
    margin: 0 0 0 18px;
    color: #2c3e50;
    font-size: 13px;
}

.requirements-panel .sub-list {
    margin-top: 6px;
    margin-left: 14px;
}

.note {
    margin-top: 18px;
    color: #444;
    font-size: 13px;
}

.help-callout {
    margin-top: 22px;
    background: #fafafa; /* very light gray */
    border-radius: 4px;
    padding: 18px 22px;
    text-align: center;
    border: 1px solid #eef1f2;
}

    .help-callout .help-text {
        font-size: 15px;
        margin-bottom: 6px;
        color: #333;
    }

        .help-callout .help-text strong {
            color: #0b5a78;
        }

    .help-callout .help-sub a {
        color: #0b5a78;
    }

.footer-note {
    margin-top: 12px;
    text-align: center;
    color: #6b7176;
    font-size: 12px;
}

.actions {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    padding: 8px 14px;
    border-radius: 4px;
    border: none;
    font-size: 13px;
}

.btn-back {
    background: #e6e6e6;
    color: #333;
    border: 1px solid #cfcfcf;
}

.btn-continue {
    background: #7fc241; /* green like screenshot */
    color: #fff;
}

/* Ensure RadzenCard background stays white */
.radzen-card {
    background: #fff !important;
}

/* DocuSign iframe / widget z-index fixes
   Some DocuSign scripts create modals/iframes that can be placed behind app overlays.
   Ensure common DocuSign iframe selectors are on top. */
iframe.docusign-iframe,
iframe[src*="docusign"],
.docusign-widget,
.ds-widget,
.ds-modal,
.ds-iframe,
.signing-modal,
.docusign-embed {
    position: relative !important;
    z-index: 2147483646 !important; /* very high but below browser UI */
}

/* Ensure our loading spinner does not sit above third-party modals */
.loading-progress,
.loading-progress-text,
#app {
    z-index: 0 !important;
}

/* Lower modal backdrop if used so DocuSign content can be visible */
.modal-backdrop {
    z-index: 1040 !important;
}

/* Allow clicks to pass through the page spinner so embedded iframes can receive events */
.loading-progress,
.loading-progress-text {
    pointer-events: none !important;
}

/* Ensure DocuSign iframe/widget receives pointer events and sits above page overlays */
iframe.docusign-iframe,
iframe[src*="docusign"],
.docusign-widget,
.ds-widget,
.ds-modal,
.ds-iframe,
.signing-modal,
.docusign-embed {
    pointer-events: auto !important;
    z-index: 2147483647 !important;
}


/*For error page only*/

.error-wrapper {
    padding: 15px 20px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    background-color: white;
}

.error-header {
    background-color: #eeeeee;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #cc0000;
}

.error-icon {
    width: 45px;
    height: 31px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: top left;
}

.error-message {
    margin-top: 18px;
    color: #444E8C;
}

.error-links {
    margin-top: 20px;
    color: #444E8C;
}

    .error-links a {
        color: #003399;
        text-decoration: underline;
    }


body {
    background-color: #fff !important;
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.tool-top-custom {
    position: relative;
    margin-right: 10px;
    height: 19px;
}

    .tool-top-custom:hover span {
        display: block;
    }

    .tool-top-custom span {
        background: #1f6fb4;
        padding: 8px;
        color: #fff;
        position: relative;
        display: block;
        margin-bottom: 10px;
    }

    .tool-top-custom .pop-tool {
        position: absolute;
        display: none;
        bottom: 100%;
        left: -10px;
        z-index: 9;
        width: 222px;
        font-size: 14px;
    }

    .tool-top-custom:hover .pop-tool {
        display: block;
    }

    .tool-top-custom span:after {
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #1f6fb4;
        position: absolute;
        position: absolute;
        content: "";
        bottom: -8px;
        left: 12px;
    }

.custompop-tool.tool-top-custom .pop-tool {
    top: 0;
    transform: translateY(-50%);
    left: 100%;
    margin-left: 10px;
    width: 325px;
    bottom: inherit;
}

.custompop-tool.tool-top-custom span:after {
    left: -11px;
    top: 78px;
    transform: rotate(90deg);
}

.tool-top-custom span a {
    color: #fff;
    text-decoration: underline;
}

@media only screen and (max-width: 1120px) {

    .tool-top-custom .pop-tool {
        width: 180px;
    }
}

@media only screen and (max-width: 640px) {

    .btn-box1 {
        margin-left: 0 !important;
        padding-top: 10px;
    }

        .btn-box1 button {
            margin-bottom: 10px;
        }
}

/*Css form npn tooltip*/
.tool-top-custom-npn {
    position: relative;
    margin-right: 10px;
    height: 19px;
}

    .tool-top-custom-npn .pop-tool-npn {
        position: absolute;
        display: none;
        bottom: 100%;
        left: -90px;
        z-index: 9;
        width: 222px;
        font-size: 14px;
    }

    .tool-top-custom-npn span:after {
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #1f6fb4;
        position: absolute;
        position: absolute;
        content: "";
        bottom: -8px;
        left: 91px;
    }

    .tool-top-custom-npn:hover span {
        display: block;
    }

    .tool-top-custom-npn span {
        background: #1f6fb4;
        padding: 8px;
        color: #fff;
        position: relative;
        display: block;
        margin-bottom: 10px;
    }


    .tool-top-custom-npn:hover .pop-tool-npn {
        display: block;
    }

.custompop-tool-npn.tool-top-custom-npn .pop-tool-npn {
    top: 0;
    transform: translateY(-50%);
    left: 100%;
    margin-left: 10px;
    width: 325px;
    bottom: inherit;
}

.custompop-tool-npn.tool-top-custom-npn span:after {
    left: -11px;
    top: 78px;
    transform: rotate(90deg);
}

.tool-top-custom-npn span a {
    color: #fff;
    text-decoration: underline;
}

@media only screen and (max-width: 1120px) {

    .tool-top-custom-npn .pop-tool-npn {
        width: 180px;
    }
}

.dd-hidden {
    visibility: hidden;
    height: 0;
}

.dd-visible {
    visibility: visible;
}


.btn-custom {
    font-weight: 400 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    width: 90px;
}

.btn-back-custom {
    background: #fff !important;
    border: 1px solid #bfbfbf !important;
    color: #333333e3 !important;
    min-width: 96px;
    padding: 6px 10px;
}

.btn-start-custom {
    background: #7fc241 !important;
    color: #fff !important;
    border: 0 !important;
    min-width: 160px;
    padding: 6px 14px;
}

.rz-textbox {
    border-radius: 4px !important;
    border-color: #cad5e2 !important;
    box-shadow: none !important;
    height: 35px !important;
}

.rz-dropdown {
    border-radius: 4px !important;
    border-color: #cad5e2 !important;
    box-shadow: none !important;
    height: 35px !important;
}

.rz-calendar .rz-inputtext {
    border-radius: 4px !important;
    border-color: #cad5e2 !important;
    box-shadow: none !important;
    height: 35px !important;
}

.rz-button {
    font-weight: 400 !important;
    border-radius: 6px !important;
}
.uploaded-file-name {
    display: inline-block;
    max-width: 50ch;
    overflow-wrap: anywhere;
    word-break: break-word;
    vertical-align: top;
}
