@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');



body {
    font-family: "DM Sans", Helvetica;
    font-style: normal;
}

/* Q-Cash Custom */
body, html {
    margin: 0;
    padding: 0;
    background-color: #F7F8FA;
}

p {
    margin: 0 !important;
    padding: 0 !important;
}

/*page headings*/
.page-heading-h1 {
    display: flex;
    padding-left: 24px;
    padding-bottom: 12px;
    line-height: 1.2;
    gap: 12px;
    color: var(--primary-00);
    font-weight: 700;
    font-size: 24px;
}

.page-heading-h2 {
    display: flex;
    padding-left: 24px;
    padding-bottom: 16px;
    gap: 12px;
    line-height: 1.2;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-00);
}

.page-heading-left-h2 {
    display: flex;
    padding-bottom: 12px;
    gap: 12px;
    line-height: 1.2;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-00);
}

.page-card-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-00);
    text-align: center;
}

.page-card-title i {
    font-size: 26px;
    font-weight: 700;
}

.text-h0 {
    font-weight: 700;
    font-size: 36px;
}

.text-h1 {
    font-weight: 700;
    font-size: 1.5rem;
}

.text-h2 {
    font-weight: 700;
    font-size: 1.25rem;
}

.text-h3 {
    font-weight: 700;
    font-size: 1rem
}

.text-h4 {
    font-weight: 700;
    font-size: 0.85rem
}

.qcash-sub-text {
    font-size: 0.875rem;
}

.qcash-bold-sub-text {
    font-size: 0.875rem;
    font-weight: 700;
}

.qcash-small-text {
    font-size: 0.625rem;
}

.text-brand {
    color: var(--primary-00) !important;
}

.qcash-text-secondary {
    color: var(--secondary-00) !important;
}

.qcash-text-grey {
    color: var(--grey-20);
}

.text-grey-white {
    color: var(--grey-white, #FFF);
}

.text-header-grey {
    color: var(--grey-10, #525252) !important;
}

.text-standard {
    font-weight: 400;
    color: var(--grey-10);
    font-size: 16px;
    line-height: 24px;
}

.qcash-card {
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
    background-color: var(--greywhite);
    border: 1px solid transparent;
    padding: 24px;
}

.qcash-card-selected {
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
    background-color: var(--secondary-20);
    border: 1px solid var(--secondary-10, #E2CCFF);
}

.qcash-card-hover {
    cursor: pointer;
}

.qcash-card-hover:hover {
        border: 1px solid var(--secondary-00, #9747FF) !important;
    }


.products {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.flex-1 {
    flex: 1;
}

.gap-12 {
    gap: 12px;
}

.gap-32 {
    gap: 32px;
}

.margin-bottom-1 {
    margin-bottom: 1px;
}

.font-size-14 {
    font-size: 14px;
}

.qcash-amount-section {
    float: right;
}

.qcash-loan-landing-section{
    padding: 93px 48px;
    margin-bottom: 1px;
    align-items: center;
}

.qcash-dropdown-button .qcash-amount-section {
    color: var(--primary-00);
    font-weight: 700;
    margin-right: 20px;
    float: none;
}

.qcash-amount-style {
    display: none;
}

.qcash-dropdown-button .qcash-amount-style {
    display: inline;
}

::marker {
    color: var(--secondary-00);
    font-size: 20px;
}


/*checkbox styles*/
.qcash-check-box-input:focus {
    border-color: var(--secondary-00);
    outline: 0;
    box-shadow: none;
}

.qcash-check-box-input[type=checkbox] {
    border-radius: 2px;
    border: 2px solid var(--grey-20);
}

.qcash-check-box-input:hover {
    border: 2px solid var(--grey-00);
}

.qcash-check-box-input:hover:disabled {
    border: 2px solid var(--grey-20);
}
.qcash-checkbox .form-check-label {
    margin-left: 6px;
}
.qcash-checkbox .form-check-footer {
    margin-left: 6px;
}

.qcash-check-box-input:checked {
    background-color: var(--secondary-00);
    border-color: var(--secondary-00);
}

/*primary button*/
.qcash-btn-primary {
    background-color: var(--primary-00);
    color: var(--greywhite);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px
}

.qcash-btn-primary:hover, #components-reconnect-modal button:hover {
    color: var(--greywhite);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.20) 100%), var(--primary-00);
}

.qcash-btn-primary:active, #components-reconnect-modal button:active {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.10) 100%), var(--primary-00);
}

.qcash-btn-primary:focus, #components-reconnect-modal button:focus {
    box-shadow: 0 0 0 0.25rem var(--primary-10);
}

.qcash-btn-primary:disabled {
    opacity: 1;
    background-color: var(--primary-10);
}

#components-reconnect-modal button {
    background-color: var(--primary-00);
    color: var(--greywhite);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    margin-top: 20px !important;
    height: 53px;
    line-height: 1;
    min-width: 172px;
    height: 53px;
    line-height: 1;
}

/*secondary  button*/
.qcash-btn-secondary {
    background-color: var(--primary-20);
    color: var(--primary-00);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px
}

.qcash-btn-secondary:hover {
    color: var(--primary-00);
    background: var(--secondary-20);
}

.qcash-btn-secondary:active {
    background: var(--primary-20);
}

.qcash-btn-secondary:focus {
    box-shadow: 0 0 0 0.25rem var(--primary-10);
}

.qcash-btn-secondary:disabled {
    opacity: 1;
    color: var(--greywhite);
    background-color: var(--primary-10);
}

.qcash-btn-secondary:disabled svg path {
    fill: var(--greywhite);
}

/*tertiary button*/
.qcash-btn-tertiary {
    background-color: var(--greywhite);
    color: var(--grey-00);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px
}

.qcash-btn-tertiary:hover {
    color: var(--primary-00);
}

.qcash-btn-tertiary:focus {
    box-shadow: 0 0 0 0.25rem var(--primary-10);
 }

.qcash-btn-tertiary:disabled {
    opacity: 1;
    color: var(--grey-30);
}

.qcash-md-btn {
    min-width: 172px;
    height: 53px;
    line-height: 1;
}

.qcash-lg-btn {
    min-width: 186px;
    height: 53px;
    line-height: 1;
}

.qcash-flex-btn {
    flex: 1;
    min-width: 186px;
    min-height: 53px;
    line-height: 1;
}

.qcash-m-btn {
    width: 50%;
    height: 53px;
    line-height: 1;
}

.qcash-xlg-btn {
    width: 100%;
    height: 53px;
    line-height: 1;
}

.qcash-dollar-input-box {
    width: 44px;
    height: 48px;
    border-radius: 4px 0px 0px 4px;
    border: 1px solid var(--grey-40, #E0E0E0);
    background: var(--grey-50, #FAFAFA);
    text-align: center;
    line-height: 48px;
    font-size: 14px;
}

.dollar-input .qcash-input-number {
    border-radius: 0px 4px 4px 0px;
}
    .dollar-input .qcash-input-number:focus {
        animation: none;
    }

.qcash-input-number {
    border-radius: 4px;
    min-height: 48px;
    max-height: 48px;
    border: 1px solid var(--grey-40, #E0E0E0);
    background: var(--greywhite, #FFF);
    height: 48px;
    flex: 1;
    padding-left: 1rem;
    -moz-appearance: textfield;
}

    .qcash-input-number:hover {
        border: 1px solid var(--primary-00);
    }

    .qcash-input-number:focus {
        border: 1px solid var(--primary-00);
        animation: shadowFadeInOut 0.75s forwards;
    }

.qcash-invalid-input span{
    color: var(--functionalmandatory-fields-errors);
}

    .qcash-invalid-input input {
        border: 1px solid var(--functionalmandatory-fields-errors) !important;
        outline: none;
    }

    .qcash-invalid-input input:focus {
        animation: shadowFadeInOutInvalid 0.75s forwards;
    }

.qcash.qcash-input-number:active {
    border: 1px solid var(--primary-00, #E0E0E0);
}

.dollar-input:hover div {
    border: 1px solid var(--primary-00);
}

.dollar-input:hover input {
    border: 1px solid var(--primary-00);
}

.dollar-input.focused div {
    border: 1px solid var(--primary-00);
    color: var(--primary-00);
}

.dollar-input.focused input {
    border: 1px solid var(--primary-00);
    outline: none;
}

.dollar-input.focused {
    border-radius: 4px;
    animation: shadowFadeInOut 0.75s forwards;
}

.dollar-input.invalid-input.focused {
    border-radius: 4px;
    animation: shadowFadeInOutInvalid 0.75s forwards;
}

@keyframes shadowFadeInOut {
    0%, 100% {
        box-shadow: none;
    }

    20% {
        box-shadow: 0 0 0 0.25rem var(--primary-10);
    }

    50% {
        box-shadow: 0 0 0 0.25rem var(--primary-10);
    }
}

@keyframes shadowFadeInOutInvalid {
    0%, 100% {
        box-shadow: none;
    }

    20% {
        box-shadow: 0 0 0 0.25rem #ffbaba;
    }

    50% {
        box-shadow: 0 0 0 0.25rem #ffbaba;
    }
}

.required-field::after {
    content: "*";
    color: red;
    margin-left: 2px
}

.dollar-input.invalid-input div {
    border: 1px solid var(--functionalmandatory-fields-errors);
    color: var(--functionalmandatory-fields-errors);
}

.dollar-input.invalid-input input {
    border: 1px solid var(--functionalmandatory-fields-errors);
    outline: none;
}

.text-invalid-input {
    color: var(--functionalmandatory-fields-errors);
}

.qcash-action-section {
    display: flex;
    flex-direction: row;
    margin-top: 48px;
    gap: 16px;
    justify-content: space-between;
}

/* For Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    outline: none;
}

input::placeholder {
    color: var(--grey-60) !important;
    font-size: 14px;
}

/* For Firefox */
input[type=number] {
    -moz-appearance: textfield;
    outline: none;
}

input[type=text] {
    -moz-appearance: textfield;
    outline: none;
}

/* Radio Styling */
.qcash-radio-selected {
    color: var(--secondary-00) !important;
    font-weight: 700 !important;
}


.qcash-radio-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

input[type=radio] {
    --s: 1em; /* control the size */
    --c: var(--secondary-00); /* the active color */
    height: var(--s);
    aspect-ratio: 1;
    border: calc(var(--s)/8) solid var(--grey-20);
    padding: calc(var(--s)/8);
    background: radial-gradient(farthest-side,var(--c) 94%,#0000) 50%/0 0 no-repeat content-box;
    border-radius: 50%;
    outline-offset: calc(var(--s)/10);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    font-size: inherit;
    transition: .3s;
}

input[type=radio]:checked {
    border-color: var(--c);
    background-size: 100% 100%;
}

input[type=radio]:disabled {
    background: linear-gradient(#939393 0 0) 50%/100% 20% no-repeat content-box;
    opacity: .5;
    cursor: not-allowed;
}

@media print {
    input[type=radio] {
        -webkit-appearance: auto;
        -moz-appearance: auto;
        appearance: auto;
        background: none;
    }
}

/*Loading Anim color customization*/
#hand path {
    stroke: var(--primary-00) !important;
}

#coin1 path {
    stroke: var(--primary-00) !important;
}

#coin2 path {
    stroke: var(--primary-00) !important;
}

#cuff path {
    stroke: var(--primary-00) !important;
}

/* Other */
#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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

/* a blue color as a generic focus style */
button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
}

.collapse-btn {
    cursor: pointer;
}

.page-dialog-title {
    gap: 12px;
    line-height: 1.2;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-00);
    padding: 16px;
}

@import url("https://fonts.googleapis.com/css?family=DM+Sans:500,400,700");

/*page layout styles*/

.qcash-root-container {
    display: flex;
    flex-direction: column;
    min-height: 600px;
    gap: 48px;
}

.qcash-split-page-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.qcash-large-page-container {
    display: flex;
    flex-direction: column;
    width: 65%;
}

.qcash-small-page-container {
    display: flex;
    flex-direction: column;
    width: 35%;
}

.qcash-centered-page-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 794px;
    margin: auto;
}

.qcash-centered-dailog-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 592px;
    margin: auto;
}

.qcash-flex-column {
    display: flex;
    flex-direction: column;
}

.qcash-flex-row {
    display: flex;
    flex-direction: row;
}

.qcash-responsive-flex-row {
    display: flex;
    flex-direction: row;
}

/*Dialog*/
.qcash-modal-content {
    background-color: #F7F8FA;
    -ms-border-radius: 0.8rem;
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    gap: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.qcash-dialog-icon svg {
    margin-right: 10px;
    margin-bottom: 3px;
}

.qcash-modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

.qcash-modal-content .modal-body {
    padding: 16px;
}

.qcash-col-g1 {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

@media only screen and (max-width: 1024px) {
    .qcash-split-page-container {
        flex-direction: column;
    }
    .qcash-large-page-container, .qcash-small-page-container {
        width: 100%;
    }

    .qcash-action-section {
        flex-direction: column-reverse;
        margin-top: 16px;
        gap: 8px;
    }

    .qcash-centered-page-container {
        width: 100% ;
    }

    .qcash-centered-dailog-container {
    }

    .qcash-modal-content {
        padding: 8px;
    }

    .qcash-modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .gap-5 {
        gap: 32px !important;
    }

    .page-heading-h1 {
        padding-left: 16px;
        font-size: 20px;
    }

    .page-heading-h2 {
        padding-left: 16px;
        font-size: 16px;
    }

    .page-heading-left-h2 {
        padding-left: 16px;
        font-size: 16px;
    }

    .qcash-root-container {
        min-height: 450px;
    }

    .qcash-responsive-flex-row {
        flex-direction: column !important;
    }

    .qcash-small-section {
        width: 100%;
    }

    .qcash-large-section {
        width: 100%;
    }

    .qcash-flex-btn {
        flex: none;
    }

    .qcash-m-btn {
        width: 100%;
        margin: 0px !important;
    }

    .text-h1 {
        font-size: 20px;
    }

    .text-h2 {
        font-size: 16px;
    }

    .qcash-card {
        padding: 16px;
    }

    .page-card-title {
        font-size: 16px;
    }
    .qcash-loan-landing-section {
        padding: 16px 16px;
        gap: 8px;
    }
}



/* Style below is only for the time between the first dom response and actual page load spinner in _Host.cshtml */

.spinner {
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    transform: translate(-50%, -50%);
    height: 60px;
    width: 60px;
    -webkit-animation: rotation 1s infinite linear;
    -moz-animation: rotation 1s infinite linear;
    -o-animation: rotation 1s infinite linear;
    animation: rotation 1s infinite linear;
    border-left: 6px solid #D0DAF5;
    border-right: 6px solid #D0DAF5;
    border-bottom: 6px solid #D0DAF5;
    border-top: 6px solid #0a48f5;
    border-radius: 100%;
}


@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.spinner-overlay-global {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}