.container {
    display: flex;
    width: 100%;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
    z-index: 0;
    position: relative;
}

.info-box {
    background-color: rgba(255, 255, 255, 0.842);
    border-radius: 10px;
    box-shadow: 0 25px 20px rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    box-sizing: none;
    overflow: hidden;
}

.info-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background-color: transparent;
    transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.info-box.hovered,
.info-box.expanded {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.info-box.hovered::after,
.info-box.expanded::after {
    border-radius: 10px;
}

.info-box h4 {
    margin: 0 0 10px;
    font-size: 23px;
    color: #333;
}

.info-box p {
    margin: 5px 0;
    font-size: 18px;
    color: #666;
    display: flex;
    align-items: center;
}

.info-icon,
.clock-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.status-text {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

.status-text.closed {
    color: #dc3545;
}

.arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    margin-top: 1px;
}

.info-box.expanded .hours {
    display: block;
}

.info-box .hours {
    display: none;
    margin-top: 10px;
}

.info-box.expanded .arrow {
    transform: rotate(180deg);
}

.hours {
    margin-top: 15px;
    display: none;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.hours-table td {
    padding: 8px 5px;
    border-bottom: 1px solid #eee;
}

.hours-table td:first-child {
    font-weight: bold;
    color: #555;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
}

.closed {
    color: #999;
    font-style: italic;
}

.arrow.open {
    transform: rotate(180deg);
}

.info-box:hover {
    border-color: #ccc;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.1);
}

.test {
    border-radius: 10px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: rgba(185, 208, 212, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-boxes {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 1;
}

.info-box {
    background-color: rgba(255, 255, 255, 0.842);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

#map {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    display: none;
}

span.status-text {
    margin-top: 3px;
}

.info-content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.info-details {
    margin-top: 32px;
    flex-grow: 1;
}

.rdv-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #467CD6;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    background-size: 200% 100%;
    transition: background-position 0.5s ease;
    margin-top: 20px;
}

.maps-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #467CD6;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    background-size: 200% 100%;
    transition: background-position 0.5s ease;
    border: 0.1px solid #467CD6;
    margin-top: 20px;
}

.maps-button:hover {
    background-color: #f7f7f7;
    color: white;
    background-image: linear-gradient(to right, #b4ced4, #2b79a0, #467CD6);
    background-position: right center;
}

.rdv-button:hover {
    background-color: #f7f7f7;
    color: #467CD6;
    background-image: linear-gradient(to right, #467CD6, #f7f7f7, #b4ced4);
    background-position: right center;
}

.info-image {
    width: 140px;
    height: 140px;
    margin-right: 15px;
}

.location-image {
    width: 140px;
    height: 140px;
    margin-right: 15px;
    object-fit: cover;
    border-radius: 10px;
}

strong {
    font-weight: 600;
}

.info-box.marker-violet {
    --highlight-color: #8e44ad;
}

.info-box.marker-rouge {
    --highlight-color: #e74c3c;
}

.info-box.marker-orange {
    --highlight-color: #f39c12;
}

@media (min-width: 1024px) {
    .info-box.hovered::after,
    .info-box.expanded::after {
        border-radius: 10px;
        background-color: var(--highlight-color);
    }

    #map {
        display: flex;
    }

    .test {
        width: 50%;
    }
}

.container {
    max-width: none;
}
