.login-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 1rem;
}

.login-card {
    background: #f0f0f0; /* gris très clair */
    border-radius: 1rem;
    padding: 3.5rem 3rem; /* padding augmenté */
    max-width: 500px; /* largeur max augmentée */
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* effet de surbrillance blanche */
.login-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    transform: rotate(25deg);
    z-index: 0;
}

.login-card .shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    animation: shine-move 5s infinite linear;
    z-index: 1;
    pointer-events: none;
}

@keyframes shine-move {
    0% { left: -150%; }
    100% { left: 150%; }
}

.login-content {
    position: relative;
    z-index: 2;
    color: #212529;
}

.login-title {
    font-size: 2.2rem; /* légèrement agrandi */
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin-bottom: 0.7rem; /* espace légèrement augmenté */
}

.login-subtitle {
    font-size: 1.1rem; /* légèrement agrandi */
    color: #495057;
    text-align: center;
    margin-bottom: 2rem;
}

.login-form-group {
    margin-bottom: 1.5rem; /* plus d'espace entre inputs */
}

.login-label {
    display: block;
    color: #212529;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.login-input {
    width: 100%;
    padding: 0.85rem 1.2rem; /* padding augmenté */
    border: 2px solid #ced4da;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #212529;
    transition: border-color 0.2s ease;
}

.login-input:focus {
    outline: none;
    border-color: #000000;
}

.login-btn {
    width: 100%;
    padding: 1rem; /* bouton plus grand */
    background: #000000;
    border: none;
    border-radius: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.login-btn:hover {
    background: #212121;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.login-alert {
    background: #ffeaea;
    color: #dc2626;
    border-left: 4px solid #dc2626;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #dee2e6;
    padding-top: 1.2rem;
}

.login-footer p {
    color: #495057;
    font-size: 0.95rem;
}

.login-link {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}