@font-face {
    font-family: "Ubuntu";
    src: url("/webankauthentication/fonts/Ubuntu-Regular-84ea7c5c9d2fa40c070ccb901046117d.ttf");
}

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
}

html,
body {
    margin: 0;
    height: 100%;
}

.connexion-edito-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
    height: max-content;
}

.page-connexion-wrapper {
    display: flex;
    height: max-content;
}

.page-connexion-right {
    width: 50%;
    background-color: var(--foundationsecondarylight);
    height: 100vh;
    padding-top: 60px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: end;
    overflow: auto;
    white-space: nowrap;
}

.store-logo-container {
    display: flex;
    gap: 16px;
    justify-content: end;
    padding-right: 150px;
    align-items: center;
}

.store-logo-container img {
    height: 80px;
}

.apple-app-store {
    height: 64px !important;
}

.label {
    height: 16px;
    width: 120px;
    text-align: center;
}

.hidden {
    display: none !important;
}

.page-connexion-code {
    display: flex;
    flex-direction: column;
    gap: 46px;
    width: 50%;
    justify-content: start;
    align-items: center;
    height: 100%;
    padding-top: 60px;
}

.login-container {
    width: 430px;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.login-input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

.login-input .label {
    position: relative;
    width: fit-content;
    margin-top: -1px;
    font-family: var(--h3-baloo-bhaijaan-2-semibold-20-font-family), serif;
    font-weight: var(--h3-baloo-bhaijaan-2-semibold-20-font-weight);
    color: var(--foundationsecondarynormal);
    font-size: var(--h3-baloo-bhaijaan-2-semibold-20-font-size);
    letter-spacing: var(--h3-baloo-bhaijaan-2-semibold-20-letter-spacing);
    line-height: var(--h3-baloo-bhaijaan-2-semibold-20-line-height);
    white-space: nowrap;
    font-style: var(--h3-baloo-bhaijaan-2-semibold-20-font-style);
}

.login-input input {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 16px;
    position: relative;
    align-self: stretch;
    width: 430px;
    height: 43px;
    flex: 0 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid;
    border-color: var(--foundationsecondarylight-active);
}

.button {
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: medium;
    width: 100%
}

.button-primary {
    background-color: var(--foundationprimarynormal);
    border: 1px var(--foundationprimarynormal);
    color: var(--foundationwhitewhite);
}

.button-secondary {
    background-color: var(--foundationwhitewhite);
    border: 2px var(--foundationprimarynormal) solid;
    color: var(--foundationprimarynormal);
}

a.button {
    display: flex;
}

.img-wrapper .img {
    width: 40px;
    height: 40px;
    fill: var(--foundationsecondarynormal);
}

.img-wrapper .imgstroke {
    width: 40px;
    height: 40px;
    stroke: var(--foundationsecondarynormal);
    fill: var(--foundationsecondarynormal);
}

.keyboard {
    display: grid;
    grid-template-columns: repeat(5, 80px);
    gap: 16px;
}

.key-img {
    width: 80px;
    height: 80px;
    border-radius: 7px;
}

.connexion-header {
    position: absolute;
    top: 0;
    left: 0;
  z-index: 0;
    width: 100%;
    height: 60px;
    padding: 16px 48px;
}

.connexion-header img {
    height: 60px
}

.dot {
    height: 100%;
    border: solid 1px var(--foundationsecondarynormal);
    border-radius: 50% !important;
    margin: auto;
}

.filled-dot {
    background-color: var(--foundationsecondarynormal);
}

.empty-dot {
    background-color: transparent;
}

#password {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: 20px;
    width: 100%;
}

#password div {
    aspect-ratio: 1;
}

@media screen and (max-width: 1280px) {
    .page-connexion-wrapper {
        flex-direction: column;
    }

    .page-connexion-code {
        width: 100%;
        height: 125%;
        margin-bottom: 15px;
    }

    .page-connexion-right {
        width: 100%;
        height: 125%;
    }
}

.text-wrapper {
    color: var(--foundationprimarydarker-textes);
}

.frame-wrapper {
    width: 100%;
}

.parcours-modif {
    max-width: 100%;
    max-height: 100%;
    padding-left: 25px;
}

.div-titre-login {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding-top: 37px;
    justify-content: center;
    line-height: 120%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-wrapper-titre {
    float: left;
}


.div-save-oublie {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.div-save-id {
    width: 50%;
}

.div-save-id input[type="checkbox"] {
    accent-color: var(--primary-3185-9d);
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.div-mdp-oublie {
    width: 50%;
}

.div-mdp-oublie a {
    display: block;
    text-align: right;
    color: var(--primary-3185-9d);
    text-decoration: none;
}

form {
    .clear-text {
        position: absolute;
        color: #555;
        font-size: 28px;
        top: 40px;
        right: 15px;

        :hover {
            cursor: pointer;
        }
    }

    .login-input {
        position: relative;
        margin: 10px 0;

        .input-text {
            &.not-empty:focus + .clear-text {
                display: inline-block;
            }

            &:not(.not-empty) + .clear-text {
                display: none;
            }
        }
    }
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.vkb-clear-password {
    padding-left: 10px;
    height: 45%;
}

.reset-button:hover {
    cursor: pointer;
}

#edito2 {
    width: 100%;
}

#toast {
    min-width: 250px; /* Set a default minimum width */
    background-color: rgba(229, 68, 68, 0.85);
    color: #fff;
    text-align: center;
    border-radius: 0.4rem;
    border: rgba(229, 68, 68, 0.85);
    padding: 16px;
    position: fixed;
    left: 50%;
    top: 3%;
    transform: translate(-50%, 0px);
    box-shadow: 0 0 11px rgba(33, 33, 33, .2);
    display: flex;
  align-items: center;
  gap: 30px;
}

/*****************TOASTR OVERRIDE**********************/
#toast-container.toast-bottom-center > div,
#toast-container.toast-top-center > div {
    width: 75% !important;
    text-align: center;
    font-size: 15px !important;
}

.toast-info {
    background-color: #0454a1 !important;
}

.toast-success {
    background-color: #96b431 !important;
}

.toast-error {
    background-color: #e30613 !important;
}

#toast_remove {
  border: none;
  cursor: pointer;

}
.close {
  position: relative;
  top: -10px;
}

.close:after {
  content: "\02DF"; /* symbole x */
  font-size: 35px;
  color: #fff;
}

.disabled {
    cursor: not-allowed;
    filter: grayscale(1);
}