#awm-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 0;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #1a1a1a;
}

#awm-map {
    width: 100%;
    height: 100%;
    position: relative;
    background: #2d2d2d;
}

#awm-sidebar {
    background: #1e1e1e;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#awm-filters {
    padding: 15px;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

#awm-filters label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

#awm-category-filter {
    width: 100%;
    padding: 8px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 13px;
    background: #2a2a2a;
    color: #fff;
    cursor: pointer;
}

#awm-category-filter:hover,
#awm-category-filter:focus {
    border-color: #4a90e2;
    background: #333;
    outline: none;
}

#awm-articles {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

#awm-articles-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

#awm-location-header {
    padding: 15px;
    background: #252525;
    border-bottom: 1px solid #333;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}

.awm-article {
    padding: 12px 15px;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: background 0.2s;
}

.awm-article:hover {
    background: #252525;
}

.awm-article-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 6px 0;
}

.awm-article-meta {
    font-size: 11px;
    color: #888;
    margin: 0;
}

.awm-article-category {
    display: inline-block;
    background: #1a3a52;
    color: #64b5f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    margin-right: 4px;
    margin-top: 6px;
}

/* Leaflet overrides */
.leaflet-popup-content-wrapper {
    background: #2a2a2a;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    border: 1px solid #444;
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
    color: #fff;
}

.awm-popup-content {
    max-width: 250px;
}

.awm-popup-title {
    padding: 10px;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid #444;
    color: #fff;
}

.awm-popup-list {
    max-height: 200px;
    overflow-y: auto;
}

.awm-popup-item {
    padding: 8px 10px;
    border-bottom: 1px solid #333;
    font-size: 12px;
    color: #ddd;
}

.awm-popup-item:last-child {
    border-bottom: none;
}

.awm-popup-item a {
    color: #64b5f6;
    text-decoration: none;
    word-break: break-word;
}

.awm-popup-item a:hover {
    text-decoration: underline;
    color: #90caf9;
}

.awm-marker-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ff6b6b;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    #awm-container {
        grid-template-columns: 1fr;
    }
    
    #awm-sidebar {
        display: none;
    }
}

/* Loading state */
.awm-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Scrollbar styling */
#awm-articles::-webkit-scrollbar {
    width: 6px;
}

#awm-articles::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#awm-articles::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 3px;
}

#awm-articles::-webkit-scrollbar-thumb:hover {
    background: #999;
}
