#bg-login {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.no-scroll {
    overflow: hidden;
}

#login {
    font-family: familjen-grotesk, familjen grotesk, sans-serif;
    background-color: rgb(200, 230, 236);
    padding: 40px 20px;
    width: 50%;
    max-width: 500px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    transition: all 0.3s ease;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrer verticalement */
    align-items: center; /* Centrer horizontalement */
    height: 80%;
}

#close-login {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}


#bg-login.show {
    display: flex;
    opacity: 1;
}

#login.show {
    transform: translateY(0);
    opacity: 1;
}

#login h1 {
    color: rgb(36, 159, 187);
    margin-top: -10px;
    margin-bottom: 20px;
}

.div-login {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80%;
    margin: 20px auto;
    align-items: center;
}

.div-login#rememberMeContainer {
    margin: 20px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 80%;
    margin: 20px auto;
}

.remember-me {
    display: flex;
    align-items: center;
}

.label {
    margin-bottom: 5px;
    color: rgb(36, 159, 187);
    font-weight: bold;
    align-self: flex-start;
}

#login input[type="email"],
#login input[type="password"] {
    width: 100%;
    background-color: #f9f9f9;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid rgb(36, 159, 187);
    border-radius: 5px;
    padding: 10px;
    transition: border 0.3s ease;
}

#login input[type="email"]:focus,
#login input[type="password"]:focus {
    border-color: rgb(44 130 149);
    outline: none;
}

#login input[type="email"]:hover,
#login input[type="password"]:hover {
    border-color: rgb(44 130 149);
}

#login input[type="submit"] {
    border: none;
    background-color: rgb(36 159 187);
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#login input[type="submit"]:hover {
    background-color: rgb(44 130 149);
}

.erreurId {
    display: none;
    color: #fc3a51;
    font-style: italic;
    margin: 0;
    text-align: center;
}

#login a {
    color: rgb(44 130 149);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

#login a:hover {
    color: rgb(28, 97, 112);
}

.checkbox-wrapper-30 {
    display: flex;
    align-items: center;
}

.checkbox-wrapper-30 .checkbox {
    --bg: #fff;
    --brdr: #d1d6ee;
    --brdr-actv: rgb(36 159 187);
    --brdr-hovr: #c6c4df;
    --dur: calc((var(--size, 2)/2) * 0.6s);
    display: inline-block;
    width: calc(var(--size, 1) * 22px);
    position: relative;
    margin-right: 10px;
}

.checkbox-wrapper-30 .checkbox:after {
    content: "";
    width: 100%;
    padding-top: 100%;
    display: block;
}

.checkbox-wrapper-30 .checkbox > * {
    position: absolute;
}

.checkbox-wrapper-30 .checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    background-color: var(--bg);
    border-radius: calc(var(--size, 1) * 4px);
    border: calc(var(--newBrdr, var(--size, 1)) * 1px) solid;
    color: var(--newBrdrClr, var(--brdr));
    outline: none;
    margin: 0;
    padding: 0;
    transition: all calc(var(--dur) / 3) linear;
}

.checkbox-wrapper-30 .checkbox input:hover,
.checkbox-wrapper-30 .checkbox input:checked {
    --newBrdr: calc(var(--size, 1) * 2);
}

.checkbox-wrapper-30 .checkbox input:hover {
    --newBrdrClr: var(--brdr-hovr);
}

.checkbox-wrapper-30 .checkbox input:checked {
    --newBrdrClr: var(--brdr-actv);
    transition-delay: calc(var(--dur) /1.3);
}

.checkbox-wrapper-30 .checkbox input:checked + svg {
    --dashArray: 16 93;
    --dashOffset: 109;
}

.checkbox-wrapper-30 .checkbox svg {
    fill: none;
    left: 0;
    pointer-events: none;
    stroke: var(--stroke, var(--border-active));
    stroke-dasharray: var(--dashArray, 93);
    stroke-dashoffset: var(--dashOffset, 94);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    top: 0;
    transition: stroke-dasharray var(--dur), stroke-dashoffset var(--dur);
}

.checkbox-wrapper-30 .checkbox svg,
.checkbox-wrapper-30 .checkbox input {
    display: block;
    height: 100%;
    width: 100%;
}

#rememberMeLabel {
    font-size: 16px;
    color: rgb(36 159 187);
    margin-left: 0px;
    margin-top: 0;
    text-align: left;
}

#close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: rgb(36 159 187);
    transition: color 0.3s ease;
}

#close-btn:hover {
    color: rgb(44 130 149);
}

@media (max-width: 650px) {
    #login {
        width: 80%;
        height: 70%;
    }
}

@media (max-width: 900px) and (min-width: 650px) {
    #login {
        width: 70%;
    }
}



#SigninText {
    margin-bottom: 5px;
    font-size: 15px;
    color: rgb(36 159 187);
}

.iconFont::placeholder {
    font-family: 'Font Awesome 5 Free', sans-serif; font-weight: 700;
}

.iconFont{
    font-family: familjen-grotesk, familjen grotesk, sans-serif;
}
.div-login#rememberMeContainer {
    margin: 20px 0;
    display: flex;
    justify-content: space-between; /* Pour espacer les éléments */
    align-items: center;
    width: 80%;
    margin: 20px auto;
}

.div-login#rememberMeContainer > div {
    display: flex;
    align-items: center;
}

.password-forgot {
    margin-left: auto; /* Pour aligner complètement à droite */
    text-align: right;
}

#forgotPassword {
    color: rgb(36 159 187);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

