/* ============================================
   STYLES Connexion — login.html
   ============================================ */
   
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    background: #f0f4f7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(233,30,140,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0,184,212,0.06) 0%, transparent 50%);
}

.login-wrap {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* ─── LOGO AU DESSUS ─── */
.login-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-logo-wrap {
    background: white;
    border-radius: 16px 16px 0 0;
    padding: 20px 28px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 -2px 12px rgba(30,86,115,0.08);
    border: 1px solid #e8edf2;
    border-bottom: none;
    width: 200px;
}

.login-logo-wrap img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.login-logo-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #00B8D4;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ─── CARD ─── */
.login-card {
    background: white;
    border-radius: 0 16px 16px 16px;
    border: 1px solid #e8edf2;
    padding: 32px 36px 36px;
    box-shadow: 0 8px 32px rgba(30,86,115,0.10);
    border-top: 3px solid #E91E8C;
}

.login-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E5673;
    margin-bottom: 4px;
    text-align: center;
}

.login-subtitle {
    font-size: 0.82rem;
    color: #888;
    text-align: center;
    margin-bottom: 28px;
}

/* ─── FORMULAIRE ─── */
.form-group { margin-bottom: 16px; }

.form-label {
    font-size: 0.8rem;
    color: #1E5673;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #dde3ea;
    border-radius: 7px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s;
    background: #fafbfc;
}

input:focus {
    outline: none;
    border-color: #00B8D4;
    background: white;
}

.btn-login {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, #E91E8C, #c5177a);
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.18s;
    letter-spacing: 0.3px;
}

.btn-login:hover { 
    background: linear-gradient(135deg, #c5177a, #a8146a);
    box-shadow: 0 4px 12px rgba(233,30,140,0.3);
}

.btn-login:disabled {
    background: #ccd6e0;
    cursor: not-allowed;
    box-shadow: none;
}

.error-msg {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: 7px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: #c62828;
    margin-bottom: 16px;
    display: none;
}

/* ─── FOOTER ─── */
.login-footer {
    text-align: center;
    font-size: 0.72rem;
    color: #bbb;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.login-footer a {
    color: #00B8D4;
    text-decoration: none;
}
