/* ---------------------------------------
   CONTAINER
--------------------------------------- */
.ptb-map-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* ---------------------------------------
   SIDEBAR (routes list / filters)
--------------------------------------- */
.ptb-sidebar {
    width: 320px;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    overflow-y: auto;
    max-height: 650px;
}

.ptb-sidebar h3 {
    margin-top: 0;
}

.ptb-route-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    cursor: pointer;
}

.ptb-route-item:hover {
    background: #f7f7f7;
}

.ptb-route-item.active {
    background: #e6f2ff;
    border-left: 4px solid #0073aa;
    padding-left: 8px;
}

/* ---------------------------------------
   MAP AREA
--------------------------------------- */
.ptb-map-container {
    flex: 1;
    min-width: 300px;
    height: 650px;
    border: 1px solid #ccc;
}

/* ---------------------------------------
   ELEVATION
--------------------------------------- */
.ptb-elevation-container {
    margin-top: 15px;
}

/* ---------------------------------------
   BUTTONS
--------------------------------------- */
.ptb-btn {
    display: inline-block;
    padding: 8px 12px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
}

.ptb-btn:hover {
    background: #005177;
}

/* ---------------------------------------
   FILTERS
--------------------------------------- */
.ptb-filters input,
.ptb-filters select {
    width: 100%;
    margin-bottom: 10px;
    padding: 6px;
}

/* ---------------------------------------
   MOBILE
--------------------------------------- */
@media (max-width: 768px) {
    .ptb-map-wrapper {
        flex-direction: column;
    }

    .ptb-sidebar {
        max-height: 300px;
    }

    .ptb-map-container {
        height: 400px;
    }
}