.Login
{
    --login-vert: #15803d;
    --login-vert-clair: #22c55e;
    --login-texte: #172033;
    --login-texte-secondaire: #64748b;
    --login-bordure: #dbe4df;
    --login-fond: #f3f7f4;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 50px 20px;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(21, 128, 61, 0.12), transparent 36%),
        var(--login-fond);
    box-sizing: border-box;
}

.Login *,
.Login *::before,
.Login *::after
{
    box-sizing: border-box;
}

.login-cadre
{
    display: flex;
    flex-direction: column;
    width: min(100%, 470px);
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    background-color: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(16px);
}

.login-logo
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    margin: 0 auto 26px;
    padding: 13px;
    border: 1px solid var(--login-bordure);
    border-radius: 25px;
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.login-logo img
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.login-entete
{
    margin-bottom: 32px;
    text-align: center;
}

.login-badge
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--login-vert);
    background-color: rgba(34, 197, 94, 0.11);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-entete h1
{
    margin: 0;
    color: var(--login-texte);
    font-size: clamp(2rem, 5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.login-entete p
{
    margin: 12px 0 0;
    color: var(--login-texte-secondaire);
    font-size: 0.96rem;
    line-height: 1.6;
}

.login-formulaire
{
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.login-champ
{
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.login-champ label
{
    color: var(--login-texte);
    font-size: 0.84rem;
    font-weight: 700;
}

.login-input
{
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.login-input-icone
{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 16px;
    z-index: 1;
    width: 22px;
    height: 22px;
    color: #789087;
    pointer-events: none;
}

.login-input-icone svg
{
    display: block;
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.login-input input
{
    width: 100%;
    height: 56px;
    padding: 0 18px 0 51px;
    border: 1px solid var(--login-bordure);
    border-radius: 15px;
    outline: none;
    color: var(--login-texte);
    background-color: #f8faf9;
    font-family: inherit;
    font-size: 0.95rem;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.login-input input::placeholder
{
    color: #9aa9a2;
}

.login-input input:hover
{
    border-color: #b7c9c0;
    background-color: #ffffff;
}

.login-input input:focus
{
    border-color: var(--login-vert-clair);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.13);
}

.login-input:focus-within .login-input-icone
{
    color: var(--login-vert);
}

.login-bouton
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 56px;
    margin-top: 5px;
    padding: 14px 20px;
    border: 0;
    border-radius: 15px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--login-vert),
            #1fa653
        );
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(21, 128, 61, 0.24);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.login-bouton svg
{
    width: 21px;
    height: 21px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.login-bouton:hover
{
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 18px 34px rgba(21, 128, 61, 0.3);
}

.login-bouton:hover svg
{
    transform: translateX(4px);
}

.login-bouton:active
{
    transform: translateY(0);
}

.login-bouton:focus-visible
{
    outline: 4px solid rgba(34, 197, 94, 0.22);
    outline-offset: 4px;
}

.login-securite
{
    margin: 25px 0 0;
    color: #84938c;
    font-size: 0.76rem;
    line-height: 1.5;
    text-align: center;
}

@media screen and (max-width: 600px)
{
    .Login
    {
        min-height: auto;
        padding: 30px 14px;
    }

    .login-cadre
    {
        padding: 32px 23px;
        border-radius: 23px;
    }

    .login-logo
    {
        width: 90px;
        height: 90px;
        margin-bottom: 22px;
        border-radius: 21px;
    }

    .login-entete
    {
        margin-bottom: 27px;
    }

    .login-entete h1
    {
        font-size: 2rem;
    }

    .login-entete p
    {
        font-size: 0.9rem;
    }

    .login-input input,
    .login-bouton
    {
        min-height: 53px;
    }
}

@media screen and (max-width: 380px)
{
    .login-cadre
    {
        padding: 28px 18px;
    }

    .login-badge
    {
        font-size: 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce)
{
    .login-input input,
    .login-bouton,
    .login-bouton svg
    {
        transition: none;
    }
}