@media (max-width: 500px) {


    .login {
        padding: 0px 30px;
    }

    .content {
        padding: 30px !important;
    }

    input {
        padding: 15px !important;
        font-size: 16px !important;
    }

    .btn {
        padding: 15px 20px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 700px) {
    .section-right {
        display: none;
    }

    .video-container {
        display: none;
    }
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: "Lexend", sans-serif;
    background-color: #F2F4F7;
    font-weight: 300px;
}

.main {
    width: 100%;
    height: 100vh;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

.section {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}


.section-right {
    background: #F2F4F7;
    height: 100vh;
    display: flex;
    width: 40%;
    align-items: flex-start;
    justify-content: space-around;
    flex-direction: column;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logomark {
    width: 32px;
    height: 32px;
    background: #DCED31;
    border-radius: 8px;
    margin-right: 10px;
}

.logotype {
    font-size: 24px;
    font-weight: bold;
    color: #101828;

}

.header-and-form {
    width: 100%;
    box-sizing: border-box;
}

h1 {
    font-size: 36px;
    margin-top: 0;
    color: #101828;
    font-family: "Lexend", serif;
}

p {
    color: #475467;
}

.input-field {
    margin-top: 20px;
    box-sizing: border-box;
    position: relative;

}

.input-field.icon input {
    padding-right: 40px;
    /* Pour l'espace de l'icône */
}

#toggle-password {
    position: absolute;
    right: 10px;
    bottom: 2px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}


input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
    font-weight: 300;
    font-size: 16px;
}

.actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-end;
}

.forgot-password {
    color: #344054;
    font-size: 14px;
    margin-top: 20px;
}

.sign-in-button,
.btn {
    background-color: var(--grey-blue-neutral-900);
    color: #FFF;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--grey-blue-neutral-700);
}

.sign-up-prompt {
    margin-top: 10px;
}

.alert {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    border-radius: 12px;
    padding: 10px 11px 10px 15px;
    gap: 12px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    padding-left: 36px;
    position: relative;
    height: max-content;
}

.alert-danger::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%23a61d24' d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E") !important;
}

.alert-success::before {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.48969 0.672623C2.48969 0.672623 2.68116 0.560885 3.06411 0.33741C3.44705 0.113935 4.09198 0.00219727 4.9989 0.00219727C5.90582 0.00219727 6.74222 0.225673 7.50812 0.672623C8.27401 1.11957 8.88043 1.72599 9.32738 2.49188C9.77433 3.25778 9.9978 4.09418 9.9978 5.0011C9.9978 5.90802 9.77433 6.74442 9.32738 7.51031C8.88043 8.2762 8.27401 8.88262 7.50812 9.32957C6.74222 9.77652 5.90582 10 4.9989 10C4.09198 10 3.25558 9.77652 2.48969 9.32957C1.7238 8.88262 1.11738 8.2762 0.670426 7.51031C0.223475 6.74442 0 5.90802 0 5.0011C0 4.09418 0.223475 3.25778 0.670426 2.49188C1.11738 1.72599 1.7238 1.11957 2.48969 0.672623ZM5.83205 8.1189V6.8822C5.83205 6.82145 5.81252 6.77046 5.77347 6.72923C5.73442 6.68801 5.68668 6.6674 5.63027 6.6674H4.38055C4.32414 6.6674 4.27423 6.6891 4.23084 6.73249C4.18745 6.77588 4.16575 6.82578 4.16575 6.8822V8.1189C4.16575 8.17531 4.18745 8.22522 4.23084 8.26861C4.27423 8.312 4.32414 8.3337 4.38055 8.3337H5.63027C5.68668 8.3337 5.73442 8.31309 5.77347 8.27186C5.81252 8.23064 5.83205 8.17965 5.83205 8.1189ZM5.81903 5.87981L5.9362 1.83773C5.9362 1.78566 5.9145 1.74661 5.87111 1.72057C5.82771 1.68585 5.77564 1.6685 5.71489 1.6685H4.28291C4.22216 1.6685 4.17009 1.68585 4.1267 1.72057C4.0833 1.74661 4.06161 1.78566 4.06161 1.83773L4.17226 5.87981C4.17226 5.9232 4.19396 5.96117 4.23735 5.99372C4.28074 6.02626 4.33282 6.04254 4.39357 6.04254H5.59773C5.65848 6.04254 5.70947 6.02626 5.75069 5.99372C5.79191 5.96117 5.81469 5.9232 5.81903 5.87981Z' fill='%233C8618'/%3E%3C/svg%3E%0A");
}

.alert.alert-info::before {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.48969 0.672623C2.48969 0.672623 2.68116 0.560885 3.06411 0.33741C3.44705 0.113935 4.09198 0.00219727 4.9989 0.00219727C5.90582 0.00219727 6.74222 0.225673 7.50812 0.672623C8.27401 1.11957 8.88043 1.72599 9.32738 2.49188C9.77433 3.25778 9.9978 4.09418 9.9978 5.0011C9.9978 5.90802 9.77433 6.74442 9.32738 7.51031C8.88043 8.2762 8.27401 8.88262 7.50812 9.32957C6.74222 9.77652 5.90582 10 4.9989 10C4.09198 10 3.25558 9.77652 2.48969 9.32957C1.7238 8.88262 1.11738 8.2762 0.670426 7.51031C0.223475 6.74442 0 5.90802 0 5.0011C0 4.09418 0.223475 3.25778 0.670426 2.49188C1.11738 1.72599 1.7238 1.11957 2.48969 0.672623ZM5.83205 8.1189V6.8822C5.83205 6.82145 5.81252 6.77046 5.77347 6.72923C5.73442 6.68801 5.68668 6.6674 5.63027 6.6674H4.38055C4.32414 6.6674 4.27423 6.6891 4.23084 6.73249C4.18745 6.77588 4.16575 6.82578 4.16575 6.8822V8.1189C4.16575 8.17531 4.18745 8.22522 4.23084 8.26861C4.27423 8.312 4.32414 8.3337 4.38055 8.3337H5.63027C5.68668 8.3337 5.73442 8.31309 5.77347 8.27186C5.81252 8.23064 5.83205 8.17965 5.83205 8.1189ZM5.81903 5.87981L5.9362 1.83773C5.9362 1.78566 5.9145 1.74661 5.87111 1.72057C5.82771 1.68585 5.77564 1.6685 5.71489 1.6685H4.28291C4.22216 1.6685 4.17009 1.68585 4.1267 1.72057C4.0833 1.74661 4.06161 1.78566 4.06161 1.83773L4.17226 5.87981C4.17226 5.9232 4.19396 5.96117 4.23735 5.99372C4.28074 6.02626 4.33282 6.04254 4.39357 6.04254H5.59773C5.65848 6.04254 5.70947 6.02626 5.75069 5.99372C5.79191 5.96117 5.81469 5.9232 5.81903 5.87981Z' fill='%231765AD'/%3E%3C/svg%3E%0A");
}

.alert::before {
    content: "";
    width: 12px;
    height: 12px;
    left: 14px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
}


.alert.success,
.alert-success {
    background-color: var(--success-light);
    border: 1px solid var(--success-med);
    color: var(--success-dark);
}

.alert.danger,
.alert-danger {
    background-color: var(--danger-lighter);
    border: 1px solid var(--danger-light);
    color: var(--danger);
}

.alert.info,
.alert-info {
    background-color: var(--info-lighter);
    color: var(--info-dark);
    border: 1px solid var(--info-med);
}


.logo-wrap {
    display: flex;
}

.logo-white img {
    width: 100%;
}

.logo-white {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    max-width: 140px;
    width: 100%;
    box-sizing: border-box;
}

.screen-mockup video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.screen-mockup {
    overflow: hidden;

    width: 1024px;
    height: 682px;
    position: relative;
    border-radius: 12px;
    border: 6px #101828 solid;
    margin-bottom: -20px;
    margin-right: -200px;
}

.content {
    background: #FFF;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 12px 16px -4px rgba(9, 19, 38, 0.08);
}

.video-container {
    position: relative;
    width: 50%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

footer {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

footer a {
    color: #475467;
    text-decoration: none;
    font-size: 14px;
}



/*---------------LOADING----------------*/

#loadingMain {
    background: var(--grey-blue-neutral-100);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    bottom: 0;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-in {
    opacity: 1 !important;
}


.fade-out {
    opacity: 0 !important;
}

.box-dots,
.loading-book h1,
.loading-book h3 {
    color: #b9b9b9;
}

.container-dots .circle {
    background-color: #b9b9b9;
}

.hidden {
    display: none !important;
}

.container-dots {
    height: 15px;
    width: 105px;
    display: flex;
    transform: scale(0.2);
    position: relative;
    margin-top: 17px;
    margin-left: -62px;
    margin-right: -62px;
}

.container-dots .circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: move 500ms linear 0ms infinite;
    margin-right: 30px;
}

.container-dots .circle:first-child {
    position: absolute;
    top: 0;
    left: 0;
    animation: grow 500ms linear 0ms infinite;
}

.container-dots .circle:last-child {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 0;
    animation: grow 500ms linear 0s infinite reverse;
}

.box-dots {
    display: flex;
    align-items: center;
}

.sp {
    width: 32px;
    height: 32px;
    clear: both;
    margin: 20px auto;
}

/* Spinner 3Balls Scale */
.sp-3balls,
.sp-3balls:before,
.sp-3balls:after {
    border-radius: 50%;
    background-color: var(--grey-blue-neutral-800);
    width: 18px;
    height: 18px;
    transform-origin: center center;
    display: inline-block;
}

.sp-3balls {
    position: relative;
    margin: 0 auto;
    background-color: var(--grey-blue-neutral-800);
    opacity: 1;
    -webkit-animation: spScaleAlpha 1s infinite linear;
    animation: spScaleAlpha 1s infinite linear;
}

.sp-3balls:before,
.sp-3balls:after {
    content: "";
    position: absolute;
    opacity: 0.25;
}

.sp-3balls:before {
    left: -30px;
    top: 0;
    -webkit-animation: spScaleAlphaBefore 1s infinite linear;
    animation: spScaleAlphaBefore 1s infinite linear;
}

.sp-3balls:after {
    left: 30px;
    top: 0;
    -webkit-animation: spScaleAlphaAfter 1s infinite linear;
    animation: spScaleAlphaAfter 1s infinite linear;
}
