.container {
    border: solid #fff 5px;
    display: flex;
    flex-direction: row;
    width: 90%;
    max-width: 1200px;
    height: 650px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

#map {
    flex: 2; 
    height: 100%;
    background: #e0e0e0;
}

.sidebar {
    flex: 1;
    width: 380px;
    background: #ffffff;
    border-left: 1px solid #ddd;
    overflow-y: auto;
    padding: 20px;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    text-align: center;
}

.sidebar .section {
    padding: 15px;
    background: #f9fbfd;
    border: 1px solid #e1e7ed;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.controls {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.search-box {
    width: 70%;
    max-width: 500px;
    margin: 0 auto;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f8f8f8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-box:focus {
    border-color: #00855a;
    background-color: #fff;
    box-shadow: 0 0 6px rgba(0, 120, 212, 0.4);
}

.scope-filters {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.scope-badge {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    background: #f0f4f8;
    border: 1px solid #ddd;
    transition: background-color 0.3s, border-color 0.3s;
}

.scope-badge.active {
    background: #00855a;
    color: #fff;
    border-color: #00855a;
}

.scope-badge:hover:not(.active) {
    background: #e9f1ff;
    border-color: #00855a;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.filter-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #f1f5f9;
    font-size: 14px;
	color:black;
    transition: background-color 0.3s, color 0.3s;
}

.filter-btn.active {
    background: #00855a;
    color: white;
}

.filter-btn:not(.active) {
    background: #f0f0f0;
	color:black;
}

.filter-btn:hover:not(.active) {
    background: #e9f1ff;
	color:black;
}

.info-window {
    padding: 10px;
    max-width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-window h3 {
    margin-bottom: 8px;
    color: #00855a;
    font-size: 16px;
}

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

.info-window .scopes {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.info-window .scope-item {
    background: #f0f4f8;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    color: #00855a;
}

.location-list {
    list-style: none;
    margin-top: 20px;
}

.location-item {
    padding: 12px;
    border-bottom: 1px solid #e9e9e9;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.location-item:hover {
    background-color: #f9f9f9;
}

.location-item h4 {
    color: #00855a;
    margin-bottom: 6px;
    font-size: 16px;
}

.location-item p {
    font-size: 13px;
    color: #777;
}

.location-item .scopes {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.type-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 18px;
    font-size: 12px;
    margin-left: 8px;
    color: #fff;
    transition: all 0.3s ease;
}

.type-badge.cb {
    background: #cce5ff;
    color: #00855a;
}

.type-badge.tl {
    background: #f8d7da;
    color: #721c24;
}
