/* Custom marker style (bigger rounded with point) */
.marker-pin {
    background-color: #2563eb; /* Tailwind's blue-600 */
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    top: -20px;
    left: -20px;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 100;
}

.marker-pin::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: rotate(45deg);
    background-color: #2563eb;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Map Overlay Positioning */
.custom-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
}

/* Optional: smooth scaling */
.custom-marker:hover {
    transform: translate(-50%, -100%) scale(1.05);
    transition: transform 0.15s ease-in-out;
}

/* Ensure custom markers render above other elements */
.custom-marker {
    z-index: 1000;
    pointer-events: auto;
}

.custom-advanced-marker {
    background: red;
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#map > div {
    z-index: 0 !important;
}

#map {
    z-index: 0 !important;
}

.dropdown-panel {
    z-index: 9999 !important;
    position: absolute;
}

.gmb-center-image {
    z-index: 9999 !important;
    pointer-events: none;
}

.widget-container {
    border: transparent !important;
}

gmpx-place-autocomplete,
gmp-place-autocomplete {
  --gmp-mat-color-outline-decorative: transparent; /* softer outline if applicable */
  --gmp-mat-color-on-surface: #374151; /* Tailwind gray-700, for text */
  --gmp-mat-color-surface: white;
  --gmp-mat-color-neutral-container: transparent;

  color-scheme: light;
  
  --gmp-mat-color-outline-decorative: transparent; /* softer outline if applicable */
}