.login-page {
    margin: 0px;
    color: #051991;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

.show-password {
    font-weight: 300;
    font-size: 0.9em;
}

.flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.flex.center {
    align-items: center;
}

.main {
    height: 100vh;
    margin: 0px;
    padding: 0px;
    align-items: stretch;
}

.mire {
    width: 35%;
}

.logo {
    height: 30px;
}

label {
    color: #61667B;
}

input[type=text],
input[type=email],
input[type=password] {
    font-size: 1.2em;
    width: 100%;
    padding: 12px 20px;
    margin: 12px 0;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #E8E8E8;
}

input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder {
    color: rgb(226, 226, 226);
    font-size: .7em;
}

button {
    width: 100%;
    height: 4em;
    background-color: #051991;
    border-radius: 10px;
    color: white;
    font-size: 1em;
    margin-top: 2em;
    margin-bottom: .5em;
    font-weight: 500;
    cursor: pointer;
    border: 0px;
}

button:focus {
    outline: none;
}

#btnEnvoyer {
    background-color: #4FE6BE;
}

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

a {
    color: #8B92AE;
}

.applySelector {
    opacity: .5;
    animation: appear 0.1s;
    width: 25%;
    box-shadow: 0 4px 12px 0 rgba(68, 78, 114, 0.15);
    border-radius: 0.88889em;
    margin: 1em .5em;
    text-align: center;
    padding: 1em .5em;
    position: relative;
    transition: .5s all;
    color: #051991;
}

.emptySelector{
    width: 25%;
    margin: 1em .5em;
    padding: 1em .5em;
}

.applySelector:hover:not(.disable) {
    opacity: .7;
    box-shadow: 0 4px 12px 0 rgba(68, 78, 114, 0.15),
    inset 0 0 0 2px #50e7be;
    cursor: pointer;
}

.applySelector.selected:not(.disable) {
    opacity: 1;
    box-shadow: 0 4px 12px 0 rgba(68, 78, 114, 0.15),
    inset 0 0 0 2px #50e7be;
    cursor: pointer;
    /* font-weight: 500; */
}

.applySelector.disable {
    opacity: .2;
    background: #eeee;
    box-shadow: 0 4px 12px 0 rgba(68, 78, 114, 0.15);
}

.applySelector img {
    width: 50%;
    margin-bottom: .5em;
}

.applySelector span {
    display: inline-block;
    width: 100%;
    font-size: 1.2em;
}

.applySelector.selected::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 2em;
    width: 2em;
    background-image: url(/hub/img/check_circle.svg);
    background-size: contain;
    transform: translate(-50%, 50%) scale(0.75) rotateZ(0deg);
    will-change: transform;
    transition: opacity 0.4s cubic-bezier(0, 0.85, 0.18, 0.99), transform 0.4s cubic-bezier(0, 0.85, 0.18, 0.99);
    z-index: 2;
}

.deco {
    width: 65%;
    position: fixed;
    right: 0;
    height: 100vh;
    background: #EDFBFE;
    display: flex;
    align-items: center;
}

.deco img {
    margin: auto;
    z-index: 99;
    width: 60%;
}

.ts__vector {
    display: inline-block;
    height: .8em;
    border-radius: 1em;
    position: absolute;
    min-width: 2em;
}

.ts__vector-1 {
    background-color: #8250dc;
    width: 20%;
    opacity: 0.3;
    left: 30px !important;
    top: 80% !important;
}

.ts__vector-2 {
    background-color: #ff645a;
    width: 50%;
    left: 2% !important;
    top: 85% !important;
}

.ts__vector-3 {
    background-color: #fabe46;
    width: 30%;
    left: 20% !important;
    top: 90% !important;
}

.ts__vector-4 {
    background-color: #8250dc;
    width: 50%;
    left: 10% !important;
    top: 95% !important;
}

.ts__vector-5 {
    background-color: #8250dc;
    width: 15%;
    left: 75% !important;
    top: 10% !important;
}

.ts__vector-6 {
    background-color: #50e6be;
    width: 60%;
    left: 25% !important;
    top: 15% !important;
}

.ts__vector-7 {
    background-color: #fabe46;
    width: 40%;
    left: 60% !important;
    top: 25% !important;
}

.ts__vector-8 {
    background-color: #fabe46;
    width: 20%;
    left: 70% !important;
    top: 5% !important;
}

.ts__vector-9 {
    background-color: #8250dc;
    width: 30%;
    left: 50% !important;
    top: 20% !important;
}

.ts__vector-10 {
    background-color: #FF3C6E;
    width: 20%;
    left: 20% !important;
    top: 75% !important;
}

.ts__vector-11 {
    background-color: #50e6be;
    width: 10%;
    left: 10% !important;
    top: 15% !important;
}

.ts__vector-12 {
    background-color: #ff645a;
    width: 10%;
    left: 60% !important;
    top: 85% !important;
}

select {
    display: inline-block;
    cursor: pointer;
    padding: 10px 35px 10px 15px;
    outline: 0;
    background: #fff;
    color: #666;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #C8C8C8;
    border-radius: 5px;
    font-weight: 500;
}

.mire select:after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 8px;
    top: 50%;
    margin-top: -3px;
    height: 0;
    width: 0;
    border-top: 6px solid #f99300;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    pointer-events: none;
}

.message {
    padding: 10px;
    background-color: #50e6be;
    margin-top: 20px;
    border-radius: 20px;
    text-align: center;
}

.message.error {
    background-color: indianred;
    color: white;
}

@media (max-width: 1000px) {
    .deco {
        display: none;
    }

    .mire {
        width: 100%;
        max-height: none;
    }
}

.tar {
    width: 100%;
    text-align: right;
    cursor: pointer;
}

.card {
    transform-style: preserve-3d;
    transition: transform .75s;
    background: #ccc;
}

.card.is-flipped {
    transform: rotateY(180deg);
}

.card_face {
    width: calc(100% - 10%);
    padding: 2em 5%;
    position: absolute;
    backface-visibility: hidden;
    color: white;
    -webkit-perspective: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    visibility: visible;
}

.card_back {
    width: calc(100% - 10%);
    height: calc(100vh - 4em);
    background: #fff;
    transform: rotateY(180deg);
    z-index: 99;
}

.off {
    display: none;
}

h1,
h2 {
    color: #051991;
}

/* 2FA Page Styles */
.two-fa-container {
    height: calc(100dvh - 8em);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.two-fa-container form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.code-input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

input.code-digit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    padding: 0;
}

.code-digit:focus {
    border-color: black;
}

.code-digit.filled {
    border-color: #28a745;
    background-color: #f8f9fa;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}
