.mobile-nav {
    background: #F1F1F1;
    position: fixed;
    bottom: 0;
    height: 65px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 9999;
}

.bloc-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}
.bloc-icon svg{
    color: #000;
    font-size: 22px
}

.driver-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Makes the image round */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    overflow: hidden; /* Hides any overflow */
    border: 2px solid #ddd; /* Optional: Adds a light border */
}

.driver-photo-pro {
    width: 75%;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #ddd;
}
/* @media screen and (min-width: 600px) {
    .mobile-nav {
        display: none;
    }
} */

    .truncate-single-line {
   white-space: nowrap;      /* Prevents the text from wrapping to the next line */
    overflow: hidden;         /* Hides any text that overflows the element's container */
    text-overflow: ellipsis;  /* Displays an ellipsis (...) to indicate truncated text */
    display: inline-block;    /* Allows the element to have a defined width while still being on the same line */
    max-width: 200px;         /* Set a maximum width for the text. Adjust this value as needed. */
    vertical-align: bottom; /* To align with the bottom of the line */
    }

    /* Custom tooltip CSS */
.custom-tooltip {
    position: relative; /* Needed for positioning the pseudo-element */
    cursor: pointer;    /* Change cursor to indicate it's interactive */
}

/* The actual tooltip content */
.custom-tooltip::after {
    content: attr(data-full-text); /* Pull text from the data attribute */
    position: absolute;
    left: 50%; /* Position horizontally */
    transform: translateX(-50%); /* Center horizontally */
    bottom: 100%; /* Position above the element */
    margin-bottom: 10px; /* Add some space */

    /* Tooltip styling */
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap; /* Keep the tooltip text on one line */
    z-index: 10; /* Ensure it's on top of other content */
    
    /* Initially hide the tooltip */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth fade-in effect */
}

/* Show the tooltip on hover */
.custom-tooltip:hover::after {
    visibility: visible;
    opacity: 1;
}