html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#ui-container {
    position: absolute;
    z-index: 2;
    top: 1rem;
    left: 1rem;
    width: 90%;
    max-width: 28rem;
}

#search-card, #result-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.autocomplete-wrapper {
    display: block;
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.autocomplete-wrapper:focus-within {
    border-color: #4285F4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.4);
}

gmp-autocomplete {
    display: block;
}

.marker-container {
    width: 28px;
    height: 28px;
    position: relative;
    transform: translate(-50%, -100%);
}

.marker-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #4285F4;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.info-window {
    width: 250px;
    font-family: sans-serif;
    overflow: hidden;
    border-radius: 8px;
}

.info-window-photo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.info-window-content {
    padding: 12px;
}

.info-window-title {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.info-window-address {
    margin: 4px 0 0;
    font-size: 14px;
    color: #666;
}
