* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
}

/* ================= MAP ================= */
#map {
    position: absolute;
    inset: 0;
}

/* ================= TOP BAR ================= */
#top-bar {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: white;
    padding: 12px 16px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 30;
    max-height: 120px;
}

#top-bar input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 24px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-bottom: 8px;
}

#categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 6px;
}

#categories button {
    border: none;
    background: #f1f3f4;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: default;
}

/* ================= SIDEBAR ================= */
#info-panel {
    position: absolute;
    top: 150px;
    left: 20px;
    width: 340px;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
    background: white;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    z-index: 15;
}

.hidden {
    display: none;
}

#close-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

/* ================= FORMS ================= */
label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

select {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    margin-top: 5px;
}

/* ================= ROUTE TOGGLE ================= */
#route-toggle {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

#route-toggle button {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
}

#route-toggle button.active {
    background: #1a73e8;
    color: white;
    border: none;
}

/* ================= CONTEXT BANNER ================= */
#context-banner {
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ================= LANDMARKS ================= */
#landmarks {
    padding-left: 18px;
}

#landmarks li {
    font-size: 13px;
    margin-bottom: 6px;
}

/* ================= PHOTOS ================= */
#photos {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

#photos img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}
