.map-root {
    position: relative;
    width: 100%;
    height: 120px;
    padding-bottom: 40px;
    background-color: #333;
    border-radius: 6px;
    overflow: hidden;
    transition: height 0.3s ease;
}

.map-root.loaded {
    height: 450px;
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    border: 1px solid #666;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.map-placeholder-content {
    text-align: center;
}


.map-placeholder-text {
    font-size: 16px;
    font-weight: bold;
} 

.map-placeholder-icon .material-symbols-outlined {
    font-size: 3rem;
}

/* ==========================================================================
Component: Location Map
========================================================================== */
location-map {
    display: block;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
   
.taxi-instruction-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.taxi-instruction-btn .material-symbols-outlined {
    font-size: 1.75rem;
}
.taxi-instruction-message-area {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: -15px;
    background: #fff;
    color: #333;
    font-size: 3em;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.2;
    transition: 
        max-height 0.35s cubic-bezier(0.4,0,0.2,1), 
        padding-top 0.35s cubic-bezier(0.4,0,0.2,1), 
        padding-bottom 0.35s cubic-bezier(0.4,0,0.2,1), 
        margin-bottom 0.35s cubic-bezier(0.4,0,0.2,1), 
        opacity 0.35s cubic-bezier(0.4,0,0.2,1);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}
.taxi-instruction-message-area.open {
    max-height: 800px;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 15px;
    opacity: 1;
    pointer-events: auto;
    overflow: auto;
}
.taxi-instruction-message-area .taxi-instruction-note {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: 0.01em;
}
.taxi-instruction-main .taxi-instruction-want {
    font-size: 0.7em;
    color: #666;
}
.map-btn-group {
    display: flex;
    gap: 15px;
}
.map-btn-group .taxi-instruction-btn.active,
.taxi-instruction-message-area.open ~ .map-btn-group .taxi-instruction-btn,
.map-btn-group .taxi-instruction-btn.open {
    background: var(--theme-color) !important;
    color: #fff !important;
    border-color: var(--theme-color) !important;
}

.map-location-btn {
    position: absolute;
    right: 60px;
    bottom: 20px;
    z-index: 10;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    padding: 0;
    transition: background 0.2s, color 0.2s;
    color: #666;
}

.map-location-btn.active {
    background: #4285F4;
    color: #fff;
}

.map-location-btn .material-symbols-outlined {
    font-size: 28px;
}

.map-info-window h3 {
    margin-bottom: 0.2em;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.map-info-window p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    margin: -10px 12px 10px 0;
}

.gm-style .gm-style-iw-t::after {
    background: linear-gradient(45deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 100%) !important;
}