#map {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 10px;
}

.loading-map {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Pin styles */
.pin {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: fit-content;
    padding: 3px;
    border-radius: 50%;
    background-color: white;
    left: -8px;
    top: -28px;
}

.pin-mechanics {
    border: 3px solid var(--color-mechanics);
}

.pin-mechanics::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--color-mechanics);
    transform: translateX(-50%);
}

.pin-parts {
    border: 3px solid var(--color-parts);
}

.pin-parts::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--color-parts);
    transform: translateX(-50%);
}

.pin-restaurants {
    border: 3px solid var(--color-restaurants);
}

.pin-restaurants::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--color-restaurants);
    transform: translateX(-50%);
}

.pin-tires {
    border: 3px solid var(--color-tires);
}

.pin-tires::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--color-tires);
    transform: translateX(-50%);
}

.user-location-button {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    background-color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 1.5rem;
}

a.place-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    padding: 10px;
    background-color: var(--main-color);
    border: none;
    color: white;
    border-radius: 15px;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
}

.place-card {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap:5px;
}

.place-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.place-card p {
    margin: 0;
    font-size: 14px;
}

.place-card h2 + p {
    font-style: italic;
}

.place-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.place-card-footer .contact-information {
    width: 100%;
    display: flex;
    gap: 5px;
    justify-content: end;
}

.place-card-footer .contact-information a {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}