/* -----------------------------------------------------------------------
   <copyright file="auth.css" company="EDI Tunisie">
       Copyright (c) EDI Tunisie. All rights reserved.
   </copyright>
   -----------------------------------------------------------------------
   Styles partagés des écrans d'authentification (connexion, mot de passe oublié, réinitialisation).
*/

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(1200px 600px at 50% -10%, #1e3a5f 0%, #0f1f33 55%, #0b1726 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 34px 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.login-brand img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
}

.lb-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.lb-text b {
    font-size: 20px;
    font-weight: 800;
    color: #0f1f33;
}

.lb-text span {
    font-size: 12px;
    color: #6b7a90;
    font-weight: 600;
}

.login-card h1 {
    font-size: 22px;
    font-weight: 800;
    color: #0f1f33;
    margin: 0;
}

.login-sub {
    color: #6b7a90;
    font-size: 14px;
    margin: 4px 0 22px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #344256;
}

.login-form input {
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #d7dee8;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}

.login-form input:focus {
    border-color: #ff6b1a;
    box-shadow: 0 0 0 3px rgba(255, 107, 26, .15);
}

.login-btn {
    margin-top: 6px;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #ff6b1a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s, transform .05s;
}

.login-btn:hover {
    background: #ec5e10;
}

.login-btn:active {
    transform: translateY(1px);
}

.login-btn:disabled {
    opacity: .6;
    cursor: default;
}

.login-error {
    background: #fdecea;
    border: 1px solid #f5c2bb;
    color: #b4231a;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.login-info {
    background: #eaf6ee;
    border: 1px solid #b8e0c5;
    color: #1d7a3e;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.login-links {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
}

.login-links a {
    color: #ff6b1a;
    font-weight: 600;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-foot {
    margin: 22px 0 0;
    text-align: center;
    font-size: 12px;
    color: #9aa7b8;
}
