.awaiting-consent {
    display: flex;
    align-items: center;
    line-height: 1.2
}

.awaiting-consent--variant-open-banking {
    color: var(--secondary-text-color);
    padding: 0 1.25rem
}

.spinner-wrapper {
    display: inline;
    margin-right: .8rem
}

.spinner {
    animation: consent-spinner-animation 1s linear infinite;
    fill: transparent;
    stroke-width: 10;
    stroke-linecap: round;
    transform-origin: 50% 50%;
    width: 24px;
    height: 24px;
    stroke: var(--teal)
}

.halfCircle1 {
    stroke-dasharray: 80,200
}

.halfCircle2 {
    stroke-dasharray: 80,200;
    stroke-dashoffset: 140
}

@keyframes consent-spinner-animation {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.button {
    border-radius: 20px;
    border-style: none;
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-family-body);
    text-align: center;
    text-decoration: none
}

.button:disabled {
    cursor: not-allowed;
    opacity: .5
}

.button_xs {
    border-radius: 15px;
    font-size: var(--font-size-xs);
    padding: 4px 12px
}

.button_sm {
    font-size: var(--font-size-sm);
    padding: 4px 12px
}

.button_md {
    padding: 8px 24px
}

.button_lg {
    line-height: 1.625rem;
    padding: 8px 24px
}

@media screen and (min-width: 576px) {
    .button_lg {
        font-size:var(--font-size-md);
        min-width: 180px
    }
}

.button_primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-colour)
}

.button_primary:hover {
    background-color: var(--button-primary-bg-hover)
}

.button_primary:active {
    background-color: var(--button-primary-bg-active)
}

.button_primary:disabled {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-colour-disabled)
}

.button_neutral {
    background-color: var(--button-neutral-bg);
    color: var(--button-neutral-colour)
}

.button_neutral:hover {
    background-color: var(--button-neutral-bg-hover)
}

.button_neutral:active {
    background-color: var(--button-neutral-bg-active)
}

.button_negative {
    background-color: var(--button-negative-bg);
    color: var(--button-negative-colour)
}

.button_negative:hover {
    background-color: var(--button-negative-bg-hover)
}

.button_negative:active {
    background-color: var(--button-negative-bg-active)
}

.button_negative:disabled {
    background-color: var(--button-negative-bg-disabled);
    color: var(--button-negative-colour-disabled)
}

.button_text {
    border-radius: 0;
    background-color: var(--text-button-bg);
    color: var(--text-button-colour);
    font-size: inherit;
    line-height: normal;
    padding: 0
}

.button_text:hover {
    color: var(--text-button-colour-hover)
}

.button_text:active {
    color: var(--text-button-colour-active)
}

.button_icon {
    background-color: transparent
}

.button_icon:hover {
    background-color: var(--button-neutral-bg-hover)
}

.button_icon:active {
    background-color: var(--button-neutral-bg-active)
}

.button_icon img {
    width: 1rem;
    height: 1rem
}

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    font-size: 1rem
}

.error-page__icon {
    margin: 0 0 2.2rem;
    height: 10rem;
    width: 10rem;
    z-index: 1
}

.error-page h1 {
    margin: 0 0 1.3rem
}

.error-page p {
    margin: 0
}

.error-page__button {
    margin-top: 1.3rem
}

@media screen and (min-width: 700px) {
    .error-page {
        flex-direction:row;
        text-align: left
    }

    .error-page__icon {
        margin: 0 2.2rem 0 0
    }
}

.mobile__header {
    border-bottom: 1px solid var(--light-grey);
    padding: .9rem 1.1rem;
    text-align: center;
    width: 100%
}

.mobile__header-logo {
    display: block;
    margin: 0 auto;
    width: 10rem
}

.mobile__main {
    display: flex;
    flex-direction: column;
    line-height: 1.4rem;
    padding: 2.6rem 1.8rem 1.8rem;
    text-align: center
}

.mobile__application-image {
    display: block;
    height: auto;
    margin: 0 auto 1.8rem;
    width: 3.5rem
}

.mobile__intro {
    color: var(--secondary-text-color);
    margin: 0
}

.mobile__application-name {
    font-size: 1.8rem;
    margin: .5rem 0 0;
    line-height: 1.2
}

.mobile__button-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column
}

.mobile__deeplink {
    background-color: var(--button-primary-bg);
    border-radius: 20px;
    border-style: none;
    color: var(--colour-content-strong);
    cursor: pointer;
    display: inline-block;
    font-family: Universal Sans;
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: -.23px;
    line-height: 24px;
    margin: 1.3rem 0;
    padding: 8px 24px;
    text-align: center;
    text-decoration: none
}

.mobile__deeplink:hover {
    background-color: var(--button-primary-bg-hover)
}

.mobile__deeplink:active {
    background-color: var(--button-primary-bg-active)
}

.mobile__download-card {
    background-color: var(--extra-light-grey);
    margin: 2.6rem auto 0;
    max-width: 500px;
    padding: 1.3rem 1.8rem
}

.mobile__download-card h3 {
    font-size: var(--font-size-md);
    font-weight: 850;
    line-height: 1.2;
    margin: 0
}

.mobile__downloadLink {
    display: block;
    margin: .9rem 0 0
}

.mobile__downloadLink img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 150px
}

.qrCode--variant-open-banking {
    background-color: var(--starling-white);
    padding: 1rem
}

.qrCode {
    border-radius: .5rem;
    margin-bottom: 2rem
}

.qrCode__instructions {
    align-items: center;
    display: flex;
    flex-direction: column
}

@media screen and (min-width: 460px) {
    .qrCode__instructions {
        flex-direction:row
    }
}

.qrCode__image-wrapper {
    aspect-ratio: 1 / 1;
    background-color: var(--light-grey);
    display: flex;
    margin-right: 10px;
    max-width: 225px;
    max-height: 225px;
    width: 80%
}

.qrCode__image {
    height: 100%;
    width: 100%
}

.qrCode__pulse {
    animation: pulse 1.2s ease-in-out infinite;
    background: linear-gradient(-90deg,#efefef,#fcfcfc,#efefef);
    background-size: 400% 400%;
    border: 10px solid white;
    height: 100%;
    width: 100%
}

@keyframes pulse {
    0% {
        background-position: 0% 0%
    }

    to {
        background-position: -135% 0%
    }
}

.qrCode__steps {
    background: var(--extra-light-grey);
    border-radius: 8px;
    margin: 10px 0;
    padding: 0 14px;
    font-weight: var(--font-weight-semibold);
    flex-grow: 1
}

.qrCode__steps--variant-open-banking {
    background: none
}

.qrCode__step {
    display: grid;
    grid-template-columns: 24px auto;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
    align-items: center;
    line-height: 1.3
}

.qrCode p {
    line-height: 1.2
}

.qrCode__details {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px
}

.qrCode__details-label {
    color: var(--secondary-text-color)
}

@media screen and (min-width: 900px) {
    .qrCode {
        display:flex;
        flex-direction: column;
        gap: 1rem
    }

    .qrCode__steps {
        margin: 0
    }

    .qrCode__details {
        padding-bottom: 0
    }
}

.background,.background img {
    display: none
}

@media screen and (min-width: 768px) {
    .background {
        background-color:var(--starling-indigo-blue);
        align-items: center;
        display: flex;
        flex: 1 1;
        justify-content: center;
        overflow: hidden;
        padding-right: 80px;
        position: relative
    }

    .wave-controls {
        bottom: .5rem;
        left: .5rem;
        position: fixed
    }

    .wave-controls-button {
        border: 1px solid var(--starling-indigo-blue);
        color: var(--starling-grey);
        opacity: .5;
        width: 40px;
        height: 40px;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .wave-controls-button:hover {
        border: 1px solid var(--starling-grey);
        background-color: var(--starling-indigo-blue)
    }

    .waves {
        top: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        right: -1px;
        overflow: hidden
    }

    .wave {
        position: absolute;
        height: 200%;
        width: 100%;
        bottom: 0;
        background-position: right 0;
        transform-origin: right center;
        background-repeat: no-repeat repeat;
        background-size: 80px 50%;
        animation: wave 15s infinite linear
    }

    .wave:nth-child(1) {
        background-size: 60px 50%;
        background-image: url(/assets/wave1-BS3A8Op0.png)
    }

    .wave:nth-child(2) {
        background-image: url(/assets/wave2-Bqd2ZGdJ.png);
        animation-duration: 30s;
        opacity: .5
    }

    .wave:nth-child(3) {
        background-image: url(/assets/wave3-uSCBbMFn.png);
        animation-duration: 45s;
        opacity: .3
    }

    @media (prefers-reduced-motion: reduce) {
        .wave {
            animation: none
        }
    }

    .play-waves {
        animation-play-state: running
    }

    .pause-waves {
        animation-play-state: paused
    }
}

@media screen and (min-width: 1200px) {
    .background img {
        width:100%;
        max-width: 35%;
        display: block;
        padding: 3rem 0
    }
}

@keyframes wave {
    0% {
        transform: translateY(0) translateZ(0)
    }

    50% {
        transform: translateY(25%) translateZ(0)
    }

    to {
        transform: translateY(50%) translateZ(0)
    }
}

.button_primary {
    background: var(--teal-400);
    color: var(--teal-1100)
}

.background {
    background-color: var(--starling-purple)
}

.main {
    display: grid;
    font-family: inherit;
    font-size: var(--font-size-sm);
    height: 100vh
}

@media screen and (min-width: 768px) {
    .main {
        grid-template-columns:1fr 4fr
    }
}

@media screen and (min-width: 1200px) {
    .main {
        grid-template-columns:1.1fr 1fr
    }
}

.oauth-section {
    display: flex;
    flex-direction: column;
    font-size: var(--font-size-sm);
    padding: 1.5rem
}

@media screen and (min-width: 576px) {
    .oauth-section {
        padding:1.5rem 4.5rem;
        font-size: var(--font-size-md)
    }
}

.oauth-preheader {
    color: var(--colour-content-medium);
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0
}

.oauth-header {
    color: var(--colour-content-strong);
    margin: .4rem 0 1rem
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 1.5rem 0 3rem
}

.starling-logo {
    max-width: 10.5rem;
    width: 100%
}

.fscsLink img {
    display: block;
    width: 60px
}

@media screen and (min-width: 576px) {
    .oauth-preheader {
        font-size:1.375rem
    }

    .oauth-header {
        font-size: 3rem
    }

    .starling-logo {
        max-width: 14.5rem
    }

    .fscsLink img {
        width: 80px
    }
}

.oauth-form {
    border: none;
    margin: 0;
    padding: 0
}

.oauth-form:disabled {
    opacity: .5
}

.oauth-form-label {
    color: var(--colour-content-strong);
    margin-right: .35rem;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    line-height: 1.625
}

.oauth-form-input {
    border: 1px solid var(--input-border-colour);
    border-radius: 4px 0px 0px 4px;
    font-family: inherit;
    font-size: var(--font-size-sm);
    margin: .75rem 0 .5rem;
    padding: 1rem;
    width: 100%
}

.oauth-form-hidden-input {
    display: none
}

@media screen and (min-width: 576px) {
    .oauth-form-input {
        font-size:var(--font-size-md)
    }
}

.oauth-form-input:hover {
    background-color: var(--input-hover-colour)
}

.oauth-form-account-number-field {
    margin-bottom: .5rem
}

.oauth-form__remember-account-number {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem
}

.oauth-form__clear-saved-account-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--input-disabled-colour);
    border: 1px solid var(--input-border-colour);
    border-radius: 4px;
    box-shadow: none;
    display: block;
    font-family: inherit;
    font-size: var(--font-size-sm);
    margin: .75rem 0 1rem;
    padding: 1rem;
    text-align: left;
    width: 100%;
    cursor: pointer
}

.oauth-form__clear-saved-account-button:hover {
    background-color: var(--input-disabled-hover-colour)
}

.oauth-form__remember-checkbox {
    position: relative;
    margin-bottom: 1.8rem
}

.oauth-form__remember-checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.oauth-form__remember-checkbox input:before {
    background: var(--starling-white);
    border: 1px solid var(--input-border-colour);
    content: "";
    height: 18px;
    width: 18px;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 2.5px;
    display: inline-block
}

.oauth-form__remember-checkbox input:hover:before {
    background-color: var(--input-hover-colour)
}

.oauth-form__remember-checkbox input:focus:before {
    box-shadow: 0 0 4px 1px var(--input-active-border-colour)
}

.oauth-form__remember-checkbox input:checked:before {
    background-color: var(--button-primary-bg);
    border-color: var(--button-primary-bg);
    color: var(--button-text-colour);
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3csvg%20width='14'%20height='11'%20viewBox='0%200%2014%2011'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.238.39a.98.98%200%20011.37-.195.974.974%200%2001.274%201.244l-.078.122L7.485%209.96a2.62%202.62%200%2001-3.857.356L.287%206.986a.973.973%200%20010-1.38.981.981%200%20011.274-.094l.11.095L4.97%208.894l.03.023c.259.194.612.17.84-.04l.079-.088L12.238.39z'%20fill='%232C1C49'%20fill-rule='evenodd'/%3e%3c/svg%3e");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    font-weight: var(--font-weight-semibold);
    text-align: center
}

.oauth-form__remember-checkbox input:checked:hover:before {
    background-color: var(--button-primary-bg-hover)
}

.oauth-form__remember-checkbox-label {
    padding-left: 25px
}

.oauth-form__country-code-select {
    margin: .75rem .25rem .5rem 0
}

@media screen and (min-width: 300px) {
    .oauth-form__phone-number-wrapper {
        display:flex
    }
}

.oauth-form__country-code-button {
    background-color: var(--starling-white);
    border: 1px solid var(--input-border-colour);
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-size-sm);
    padding: 1rem 1rem 1rem 1rem;
    position: relative;
    text-wrap: nowrap
}

@media screen and (min-width: 576px) {
    .oauth-form__country-code-button,.oauth-form__clear-saved-account-button {
        font-size:var(--font-size-md)
    }
}

 
.oauth-form__country-code-button:focus:after {
    border-top-color: var(--input-active-border-colour)
}

.oauth-form__country-code-button:hover {
    background-color: var(--input-hover-colour)
}

.oauth-form__country-code-select-value {
    display: flex
}

.oauth-form__country-code-popover[data-trigger=Select] {
    background-color: #fff;
    max-height: 100px
}

.oauth-form__country-code-popover[data-trigger=Select] .oauth-form__country-code-list-box {
    border: 1px solid var(--input-border-colour);
    border-radius: 4px;
    display: block;
    max-height: 180px;
    overflow: scroll;
    width: 7.5rem
}

.oauth-form__country-code-popover[data-trigger=Select] .oauth-form__country-code-list-box .react-aria-Header {
    padding-left: 1.571rem
}

.oauth-form__country-code-list-box-item {
    background-color: var(--starling-white);
    border-bottom: 1px solid var(--input-border-colour);
    color: var(--starling-black);
    cursor: pointer;
    font-size: var(--font-size-sm);
    padding: .75rem 0 .75rem 1.5rem;
    outline-offset: -1px
}

@media screen and (min-width: 576px) {
    .oauth-form__country-code-list-box-item {
        font-size:var(--font-size-md)
    }
}

.oauth-form__country-code-list-box-item:last-child {
    border-bottom: none
}

.oauth-form__country-code-list-box-item[data-focused] {
    background: var(--input-hover-colour)
}

.oauth-form__country-code-list-box-item[data-selected] {
    background: #e0eef7
}

.oauth-form__button-wrapper {
    display: flex;
    gap: .5rem;
    margin: 2rem 0 1rem
}

.error {
    display: block;
    color: var(--colour-content-danger);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
    margin: 0 0 .5rem
}

@media screen and (min-width: 576px) {
    .error {
        font-size:var(--font-size-md)
    }
}

.error.saved-account-number-error {
    margin: .4rem 0 0
}

.invalid-qrCode__image {
    display: block;
    height: 80%;
    margin: 2rem 0;
    max-height: 225px;
    max-width: 225px;
    width: 80%
}

.try-again-wrapper {
    align-items: center;
    background-color: var(--extra-light-grey);
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 1.25rem
}

.try-again-text--info {
    margin: 0
}

.try-again-text--error {
    color: var(--colour-content-danger);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
    margin: 0
}

@media screen and (min-width: 768px) {
    .try-again-text {
        font-size:var(--font-size-md)
    }
}

.footer {
    color: var(--text-colour);
    margin-top: auto;
    padding-top: 1.5rem
}

.footer-link {
    color: var(--blue-600)
}

@media screen and (min-width: 768px) {
    .footer {
        font-size:var(--font-size-md)
    }
}

.react-aria-ModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #0009
}

.oauth-modal {
    position: fixed;
    width: 90%;
    max-width: 100%;
    max-height: 100%;
    z-index: 1000;
    left: 50%;
    top: 50%;
    padding: 1rem;
    transform: translate(-50%,-50%);
    background: var(--starling-white);
    box-shadow: 0 0 80px 10px #00000080;
    border-radius: 4px;
    color: var(--text-colour)
}

.oauth-modal__dialog:focus {
    outline: 0
}

.oauth-modal__heading {
    font-size: 1.5em;
    line-height: 1.5rem;
    padding-right: 2rem
}

.oauth-modal__content {
    font-size: var(--font-size-sm);
    padding: .5rem;
    line-height: 1.2rem
}

.oauth-modal__content ol {
    padding-left: 1rem
}

.oauth-modal__close-button {
    position: absolute;
    padding: .75rem;
    display: inline-flex;
    top: 1rem;
    right: 1rem
}

@media screen and (min-width: 576px) {
    .oauth-modal__content {
        padding:0 1.5rem
    }
}

@media screen and (min-width: 700px) {
    .oauth-modal {
        width:600px
    }
}

.sandbox-simulation-button-wrapper {
    text-align: right
}

.sandbox-try-again-button {
    margin-bottom: 1rem
}

.sandbox-spinner {
    display: flex;
    justify-content: center
}

.sandbox__authorisation-id-button {
    border-radius: 5px;
    color: var(--text-colour);
    display: inline-flex;
    font-weight: 400;
    padding: .3rem;
    position: relative
}

.sandbox__authorisation-id-button:hover {
    background-color: var(--light-grey);
    color: var(--text-colour)
}

.sandbox__authorisation-id-button[data-pressed] {
    background-color: var(--starling-grey)
}

.sandbox__copy-icon {
    display: none;
    height: 1rem;
    margin-left: .4rem;
    width: 1rem
}

.sandbox__authorisation-id-button:hover .sandbox__copy-icon,.sandbox__authorisation-id-button:focus .sandbox__copy-icon {
    display: inline-block
}

.sandbox__tick-icon {
    height: 1rem;
    margin-left: .6rem;
    width: .8rem;
    animation: fade-in .5s ease-in-out
}

@keyframes fade-in {
    0% {
        transform: scale(.5)
    }

    to {
        transform: scale(1)
    }
}

.oauth-modal__account-number {
    border-radius: 50%;
    display: inline-flex;
    padding: .1875rem;
    position: relative;
    top: .2rem
}
