.compte:hover {
    .info {
        display: block;
    }
    .infoLog {
        display: block;
    }
}

.compte{
    position: relative;
    align-content: center;
}

.info, .infoLog {
    box-sizing: border-box;
    border-radius: 8px;
    width: 200px;
    background-color: #f0f0f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 15px;
    display: none;
    position: absolute;
    z-index: 100000000;
    top: 45px;
    right: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

/* Conteneur pour le texte */
.info-text h4, .infoLog h4 {
    margin-bottom: 15px;
    text-align: center; /
}

/* Styles pour les boutons */
.info-buttons .btn, .infoLog .btn {
    width: 80%;
    margin: 5px auto;
    text-align: center;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Effet de survol pour les boutons */
.info-buttons .btn:hover {
    background-color: #0056b3;
}



html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    width: 100%;
    background-color: white; /* pour eviter le transparent comme tu ma dit */
    text-align: center;
    padding: 10px 0;
    position: relative;
}



#resResto:empty {
    display: none;
}

/* Conteneur des résultats */
#resResto {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    position: absolute;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 10px;
}


/* Chaque élément de résultat */
#resResto .result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    color: black;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 20px;
}


/* Ajouter un carré gris devant chaque résultat */
#resResto .result-item::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #4a4a4a;
    margin-right: 10px;
}


/* Effet de survol */
#resResto .result-item:hover {
    background-color: #4a4a4a;
    color: white;
}

/* Forcer la couleur des liens */
#resResto .result-item a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

/* Forcer la couleur des liens au survol */
#resResto .result-item:hover a {
    color: white; /* Texte blanc au survol */
}

/* Retirer la bordure du dernier élément */
#resResto .result-item:last-child {
    border-bottom: none;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown .dropdown-menu {
    display: none;
}


#site-footer {
    width: 100%;
    background-color: #fff; /* Assure un fond blanc */
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}

#site-footer p,
#site-footer a,
#site-footer button {
    color: #555 !important; /* Force la couleur */
    font-size: 14px;
}

#site-footer a:hover,
#site-footer button:hover {
    text-decoration: underline;
}

#site-footer img {
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

#site-footer img:hover {
    filter: grayscale(0%);
}

/* Désactiver les marges et paddings Bootstrap qui pourraient affecter */
#site-footer .col-md-2,
#site-footer .col-md-4 {
    padding: 10px;
    margin: 0;
}

/* Empêcher Bootstrap d'ajouter des marges et padding non désirés */
#site-footer .my-4,
#site-footer .py-3 {
    margin: 0 !important;
    padding: 10px 0 !important;
}

#site-footer .container,
#site-footer .row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

/* Styles pour la barre de recherche */
.input-group {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px;
}

.input-group .form-control {
    border: none;
    background-color: transparent;
    color: white;
}

.input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input-group .btn {
    border: none;
    color: white;
}

.input-group .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Styles pour le footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer .text-muted {
    color: #a0a0a0 !important;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff !important;
    text-decoration: none;
}

.footer .social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer .social-links a:hover {
    transform: translateY(-3px);
}

.footer .input-group {
    background-color: transparent;
}

.footer .input-group .form-control {
    border-color: #444;
}

.footer .input-group .form-control:focus {
    background-color: transparent;
    border-color: #666;
    box-shadow: none;
    color: #fff;
}

.footer .input-group .btn {
    border-color: #444;
}

.footer .input-group .btn:hover {
    background-color: #444;
    border-color: #666;
}

.footer .border-secondary {
    border-color: #444 !important;
}

/* Styles pour le scanner */
.viewport {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #000;
}

#interactive.viewport > canvas, #interactive.viewport > video {
    max-width: 100%;
    width: 100%;
    height: 100%;
}

#interactive.viewport > canvas.drawing, #interactive.viewport > canvas.drawingBuffer {
    position: absolute;
    left: 0;
    top: 0;
}

.modal-content.bg-dark {
    background-color: #1a1a1a !important;
}

.modal-header {
    border-bottom-color: #444;
}

.modal-footer {
    border-top-color: #444;
}

.close {
    color: #fff;
    text-shadow: none;
}

.close:hover {
    color: #fff;
    opacity: 0.75;
}

/* COntenu pour la sidebar */
.reepods-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background-color: #343a40;
    color: white;
    display: flex;
    flex-direction: column;
    z-index: 2000;
}
.reepods-sidebar.collapsed {
    width: 56px;
}

.reepods-sidebar .nav-link {
    padding: 12px 16px;
    color: #e4e4e4;
    font-size: 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.reepods-sidebar .nav-link i {
    margin-right: 8px;
    min-width: 20px;
    text-align: center;
}
.reepods-sidebar .label {
    flex: 1;
}
.reepods-sidebar.collapsed .nav-link {
    justify-content: center;
}
.reepods-sidebar.collapsed .nav-link i {
    margin-right: 0;
}
.reepods-sidebar.collapsed .nav-link .label {
    display: none;
}
.reepods-sidebar .nav-link:hover {
    background-color: #2c2c2c;
    color: white;
}

body {
    margin-left: 260px;
}
body.sidebar-collapsed {
    margin-left: 56px;
}

.sidebar-logo {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    color: #e4e4e4;
    text-decoration: none;
}
.sidebar-logo:hover {
    color: white;
    text-decoration: none;
}
.sidebar-logo img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}
.reepods-sidebar.collapsed .sidebar-logo span {
    display: none;
}
.reepods-sidebar.collapsed .sidebar-logo img {
    margin-right: 0;
}

.sidebar-section-toggle {
    background: #3a3f47;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
}
.sidebar-section-toggle .right-icon {
    margin-left: auto;
}
.sidebar-section-toggle.open {
    background: #3f4b63;
}
.reepods-sidebar.collapsed .sidebar-section-toggle {
    background: none;
    padding: 12px 0;
    justify-content: center;
}
.reepods-sidebar.collapsed .sidebar-section-toggle .label,
.reepods-sidebar.collapsed .sidebar-section-toggle .right-icon {
    display: none;
}

.sidebar-submenu {
    display: none;
    margin-top: 6px;
    padding: 8px 16px 10px 32px;
    border-radius: 14px;
    background: #2f333b;
}
.sidebar-submenu.open {
    display: block;
}

.sidebar-submenu button {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}
.sidebar-submenu button span {
    color: #ff4d4d;
    font-weight: 600;
}

.sidebar-submenu a {
    color: #e4e4e4;
    text-decoration: none;
    display: block;
    padding: 6px 0;
}
.sidebar-submenu a:hover {
    color: white;
    text-decoration: none;
}

#popupCompte {
    position: fixed;
    left: 70px;
    background: #2f333b;
    padding: 14px 20px;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 5000;
}
#popupCompte a,
#popupCompte button {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    color: #e4e4e4;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}
#popupCompte a:hover {
    color: white;
}
#popupCompte button span {
    color: #ff4d4d;
    font-weight: 600;
}

.sidebar-footer {
    margin-top: auto;
    padding: 0.75rem;
    border-top: 1px solid #444;
}

@media (max-width: 600px) {
    body,
    body.sidebar-collapsed {
        margin-left: 0;
    }
}

.reepods-sidebar.collapsed .nav-link i:hover,
.reepods-sidebar.collapsed .sidebar-section-toggle:hover i,
.reepods-sidebar.collapsed .sidebar-logo img:hover {
    filter: drop-shadow(0 0 6px #ffffff);
    transition: 0.2s ease;
}

.reepods-sidebar.collapsed .nav-link:hover {
    background-color: transparent !important;
}

#popupTickets {
    position: fixed;
    left: 70px;
    background: #2f333b;
    padding: 14px 20px;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 5000;
}

#popupTickets a {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    color: #e4e4e4;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

#popupTickets a:hover {
    color: white;
}



