/* --- LOGO --- */
.logo-img {
    width: 50px !important;     /* Taille raisonnable dans navbar */
    height: 50px !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.1);
}

/* --- NAVBAR --- */
.navbar-primary {
    background-color: #ffc107;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 60px !important;     /* un peu plus haut pour le logo */
    min-height: 60px !important;
    padding: 0 !important;
}

.navbar-custom-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.navbar-brand {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

/* --- BOUTONS --- */
.entry-exit-btn-text {
    padding: 0.25rem 1rem !important;
    font-size: 0.9rem !important;
    border: 1px solid #fff;
    border-radius: 0.5rem;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    background-color: #0052a3;
}

.entry-exit-btn-text:hover {
    background-color: #0052a3;
    color: #fff;
    transform: translateY(-2px);
}

.entry-exit-btn-text .bi-qr-code-scan {
    font-size: 1.2rem !important;
    margin-right: 0.3rem !important;
}

/* --- MOBILE --- */
@media (max-width: 767px) {
    .navbar-brand .d-none.d-md-inline {
        display: none !important;
    }
    .navbar-custom-container {
        padding: 0 10px;
    }
    .entry-exit-btn-text {
        padding: 0.2rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    .entry-exit-btn-text .bi-qr-code-scan {
        font-size: 1rem !important;
    }
    .logo-img {
        width: 40px !important;
        height: 40px !important;
    }
}