.home-background {
    min-height: 100vh; /* couvre tout l'écran */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-background {
    min-height: 100vh; /* couvre tout l'écran */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    justify-content: right;
    align-items: flex-start;
}

.profile-modal {
    background: #fff;
    padding: 2rem;
    width: 500px;
    height: 500px
    border-radius: 10px;
    position: fixed;
    margin-right: 1.75rem;
    margin-top: 5rem;
}

.hidden {
    display: none;
}

.profile-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn-logout {
    display: block;
    margin-top: 1rem;
    padding: 0.6rem;
    background: #dc3545;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Bouton settings */
.settings-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.settings-btn:hover {
    opacity: 0.8;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.brand-text {
    font-size: 2rem;
    color: #ff6600;
    white-space: nowrap; /* évite retour à la ligne */
}


