/* static/maps.css */
body {
    margin: 0;
    font-family: Inter, Arial;
    background: #0b0f19;
    color: #fff;
}

.topbar {
    height: 60px;
    display: grid;
    grid-template-columns: 220px 1fr 60px;
    align-items: center;
    padding: 0 20px;
    background: rgba(14,20,34,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo { font-weight: bold; }

.search {
    display: flex;
    justify-content: center;
}
.search input {
    width: 60%;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    background: #151b2c;
    color: white;
    outline: none;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.05);
    color: #ccc;
    cursor: pointer;
}

.shell {
    display: grid;
    grid-template-columns: 220px 1fr 260px;
    height: calc(100vh - 100px);
}

.sidebar {
    background: #0e1422;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sidebar a {
    padding: 10px;
    border-radius: 10px;
    color: #aaa;
    text-decoration: none;
}
.sidebar a:hover, .sidebar a.active {
    background: #1b2336;
    color: #fff;
}

/* CONTENT */
.content {
    padding: 15px;
    overflow-y: auto;
}
.header {
    background: linear-gradient(135deg, #1b2336, #2a2f5a);
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 15px;
}

/* GRID */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* MAP CARD */
.map-card {
    background: #151b2c;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 10px;
}
.map-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.map-name {
    font-weight: 600;
    margin-top: 8px;
}
.map-mode {
    font-size: 12px;
    color: #8b5cf6;
}

/* RIGHT PANEL */
.right {
    padding: 10px;
}
.panel {
    background: #141b2d;
    padding: 12px;
    border-radius: 12px;
}
.filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.filter {
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: #151b2c;
    color: #aaa;
}
.filter:hover {
    background: #1b2336;
    color: #fff;
}
.filter.active {
    background: #6c5ce7;
    color: white;
}

/* FOOTER */
.footer {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #0e1422;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    color: #aaa;
}
