/* Page connexion - modernisation front-end seulement */
.login-modern-page .container-login100 {
    background: linear-gradient(135deg, #eef6ff 0%, #f8fafc 42%, #e7f8f5 100%);
    position: relative;
    overflow: hidden;
}

.login-modern-page .container-login100:before,
.login-modern-page .container-login100:after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(20, 184, 166, .12);
    pointer-events: none;
}

.login-modern-page .container-login100:before {
    width: 360px;
    height: 360px;
    top: -120px;
    left: -80px;
}

.login-modern-page .container-login100:after {
    width: 280px;
    height: 280px;
    right: -80px;
    bottom: -100px;
    background: rgba(52, 73, 94, .10);
}

.login-modern-card {
    position: relative;
    z-index: 1;
    width: min(1040px, 94vw);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .16);
}

.login-modern-visual {
    width: 50%;
    min-height: 520px;
    padding: 46px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #34495e 0%, #16a085 100%);
    color: #ffffff;
}

.login-modern-logo {
    width: 185px;
    min-height: 74px;
    border-radius: 18px;
    padding: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 35px rgba(15, 23, 42, .20);
}

.login-modern-logo img {
    max-width: 100%;
    height: auto;
}

.login-modern-visual-text span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.login-modern-visual-text h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
}

.login-modern-visual-text p {
    margin: 0;
    max-width: 360px;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.6;
}

.login-modern-form {
    width: 50%;
    padding: 58px 58px 46px;
}

.login-modern-heading {
    margin-bottom: 28px;
}

.login-modern-kicker {
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-modern-heading h2 {
    margin: 8px 0 8px;
    color: #17233c;
    font-size: 31px;
    font-weight: 900;
}

.login-modern-heading p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.login-modern-label {
    display: block;
    margin: 0 0 8px 2px;
    color: #27364f;
    font-size: 13px;
    font-weight: 800;
}

.login-modern-field.wrap-input100 {
    position: relative;
    min-height: 56px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 16px;
    background: #eef4fb;
    border: 1px solid #d6e2ef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.login-modern-field.wrap-input100:focus-within {
    background: #ffffff;
    border-color: #16a085;
    box-shadow: 0 0 0 4px rgba(22, 160, 133, .12);
}

.login-modern-field .input100 {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 56px;
    color: #17233c;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding-left: 60px;
    padding-right: 18px;
}

.login-modern-field .input100::placeholder {
    color: #94a3b8;
}

.login-modern-password .input100 {
    padding-right: 62px;
}

.login-modern-field .focus-input100 {
    display: none !important;
}

.login-modern-field .symbol-input100.login-modern-icon {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 3;
    width: 52px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    color: #52637a;
    pointer-events: none;
    transition: color .18s ease;
}

.login-modern-field:focus-within .symbol-input100.login-modern-icon {
    color: #0f766e;
}

.login-modern-icon svg,
.login-modern-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-modern-password .login-modern-password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    width: 54px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.login-modern-password .symbol-input100eye {
    position: static !important;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: #52637a;
    background: transparent;
    pointer-events: auto;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.login-modern-password .symbol-input100eye:hover,
.login-modern-password .symbol-input100eye:focus {
    background: rgba(15, 118, 110, .10);
    color: #0f766e;
    cursor: pointer;
    transform: translateY(-1px);
    outline: 0;
}

.login-modern-password .input-group-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
}

.login-modern-submit-wrap {
    padding-top: 6px;
}

.login-modern-submit {
    position: relative;
    width: 100%;
    height: 50px;
    border-radius: 13px;
    background: linear-gradient(135deg, #34495e, #16a085);
    box-shadow: 0 12px 24px rgba(22, 160, 133, .22);
    font-weight: 900;
    letter-spacing: .02em;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.login-modern-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(22, 160, 133, .28);
}

.login-modern-submit:disabled,
.login-modern-submit.is-loading {
    cursor: wait;
    opacity: .88;
}

.login-modern-submit.is-loading .login-modern-submit-text:before {
    content: '';
    width: 15px;
    height: 15px;
    margin-right: 8px;
    display: inline-block;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: loginModernSpin .7s linear infinite;
}

@keyframes loginModernSpin {
    to { transform: rotate(360deg); }
}

.login-modern-links {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.login-modern-links .txt2 {
    color: #0f766e;
    font-weight: 800;
    font-size: 13px;
}

.login-modern-error {
    min-height: 24px;
    margin-top: 18px;
    padding: 0;
    text-align: center;
    font-weight: 800;
}

@media (max-width: 991px) {
    .login-modern-card {
        flex-direction: column;
    }

    .login-modern-visual,
    .login-modern-form {
        width: 100%;
    }

    .login-modern-visual {
        min-height: auto;
        padding: 34px;
        gap: 42px;
    }

    .login-modern-form {
        padding: 38px 30px 34px;
    }
}

@media (max-width: 575px) {
    .login-modern-card {
        width: 94vw;
        border-radius: 18px;
    }

    .login-modern-visual {
        padding: 26px;
    }

    .login-modern-visual-text h1 {
        font-size: 27px;
    }

    .login-modern-form {
        padding: 30px 22px;
    }

    .login-modern-heading h2 {
        font-size: 26px;
    }

    .login-modern-links {
        align-items: flex-start;
        flex-direction: column;
    }
}

.symbol-input100eye {
    border: 0;
}

.symbol-input100eye .eye-close {
    display: none;
}

.symbol-input100eye.is-visible .eye-open {
    display: none;
}

.symbol-input100eye.is-visible .eye-close {
    display: block;
}
