/* ─── Page login ─── */
body.login-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d0e4f7 0%, #a4c4e6 40%, #7aa4cc 100%);
}

.login-box {
    width: 380px;
    border: 1px solid #6d8caf;
    border-radius: 4px;
    box-shadow: 0 6px 28px rgba(10, 36, 68, 0.28), inset 0 1px 0 rgba(255,255,255,0.9);
    background: linear-gradient(#ffffff, #edf5ff);
    overflow: hidden;
}

/* Bandeau logo */
.login-logo {
    text-align: center;
    padding: 28px 20px 18px;
    border-bottom: 1px solid #b0cbe2;
    background: linear-gradient(#deedfb, #b7d3ee 50%, #9ec1e2);
}

.orb--lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #5f82a5;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, #9dd0ff 0%, #2f5f8f 68%);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 3px 8px rgba(0,0,0,0.25);
}

.login-product {
    margin: 10px 0 2px;
    font-size: 20px;
    font-weight: 700;
    color: #0f304f;
}

.login-subtitle {
    margin: 0;
    font-size: 12px;
    color: #2a4e70;
}

/* Formulaire */
.login-form {
    padding: 20px 24px;
}

.field-row {
    margin-bottom: 14px;
}

.field-row label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #1f3d5e;
}

.input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #8aaac8;
    border-radius: 2px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
    transition: border-color 0.15s;
}

.input-wrap:focus-within {
    border-color: #3b7dc4;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08), 0 0 0 2px rgba(59,125,196,0.2);
}

.input-icon {
    padding: 0 8px;
    font-size: 14px;
    color: #5580a3;
}

.office-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 7px 8px 7px 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 13px;
    color: #1a3050;
    background: transparent;
}

/* Erreur */
.login-error {
    margin: 0 24px 0;
    padding: 8px 12px;
    border: 1px solid #d08070;
    border-radius: 2px;
    background: linear-gradient(#fff5f3, #fde8e2);
    font-size: 12px;
    color: #8b2c1a;
    margin-top: 14px;
}

/* Info */
.login-info {
    margin: 0 24px 0;
    padding: 8px 12px;
    border: 1px solid #80a8d0;
    border-radius: 2px;
    background: linear-gradient(#f0f7ff, #dce9f8);
    font-size: 12px;
    color: #1a4068;
    margin-top: 14px;
}

/* Hint sous champ */
.field-hint {
    margin: 4px 0 0;
    font-size: 11px;
    color: #6a8caa;
    font-style: italic;
}

/* Bouton connexion */
.login-actions {
    margin-top: 20px;
    text-align: right;
}

.btn-login {
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #5a7fa6;
    border-radius: 3px;
    cursor: pointer;
    background: linear-gradient(#fff9e7, #ffd882);
    color: #183b5e;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-login:hover {
    background: linear-gradient(#fff3c8, #ffc440);
    border-color: #3d6890;
}

/* Footer */
.login-footer {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #c2d8ec;
    font-size: 11px;
    color: #4a6e8e;
    background: linear-gradient(#f0f7ff, #e2eefa);
}
