* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #6a0dad 0%, #4a0a7a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.logo {
    text-align: center;
    margin-bottom: 28px;
}
.logo .icon { font-size: 2.8rem; }
.logo h1 {
    font-size: 1.4rem;
    color: #6a0dad;
    margin-top: 8px;
    font-weight: 700;
}
.logo p {
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 0.88rem;
}

.form-group { margin-bottom: 45px; }
.form-group label {
    display: block;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 6px;
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-group input:focus {
    outline: none;
    border-color: #6a0dad;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #6a0dad;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.03em;
    margin-top: 8px;
    transition: opacity 0.2s, transform 0.1s;
}
.btn-login:hover { opacity: 0.9; }
.btn-login:active { transform: scale(0.98); }

.footer-note {
    text-align: center;
    margin-top: 22px;
    font-size: 0.78rem;
    color: #aaa;
}

.villes {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.ville-tag {
    background: #f0e6ff;
    color: #6a0dad;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}

.lien-autre-espace a {
    color: #6a0dad;
    font-weight: 600;
    text-decoration: none;
}
.lien-autre-espace a:hover {
    text-decoration: underline;
}

.lien-autre-espace {
    text-align: center;
    margin-top: 18px;
    font-size: 0.85rem;
    color: #888;
}
