:root {
    --bg-dark: #121418;
    --panel-dark: #1e2229;
    --accent-yellow: #ffb400;
    --accent-green: #2ecc71;
    --text-gray: #a0aec0;
    --border: #333a45;
}

body, html { 
    margin: 0; padding: 0; height: 100%; 
    font-family: 'Segoe UI', sans-serif; 
    background: var(--bg-dark); color: white; 
    overflow: hidden; 
}

.app-container { display: flex; height: 100vh; flex-direction: row; }

/* Sidebar Tasarımı */
.sidebar {
    width: 320px;
    background: var(--panel-dark);
    border-right: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-yellow);
    letter-spacing: -1px;
    text-transform: lowercase;
}

.logo-dot { color: white; }

/* Mobil Düzen */
.mobile-header {
    display: none;
    background: var(--panel-dark);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    z-index: 2000;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
}

#map { flex-grow: 1; z-index: 1; height: 100%; }

/* Masaüstü Bilgi Kartı */
#web-detail-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 380px;
    background: var(--panel-dark);
    border-radius: 12px;
    padding: 24px;
    z-index: 1000;
    display: none;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

#w-status {
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
}

/* Mobil Alt Panel */
.mobile-bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0; right: 0;
    background: var(--panel-dark);
    border-top: 3px solid var(--accent-yellow);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    z-index: 2500;
    transition: bottom 0.4s ease;
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-bottom-sheet.active { bottom: 0; }

/* Form ve Filtre Elemanları */
.filter-group { margin-bottom: 25px; }
.filter-title { display: block; margin-bottom: 12px; color: var(--text-gray); font-size: 11px; font-weight: bold; letter-spacing: 0.5px; }
.checkbox-item { display: flex; align-items: center; margin-bottom: 14px; cursor: pointer; font-size: 14px; }
.checkbox-item input { margin-right: 12px; width: 18px; height: 18px; accent-color: var(--accent-yellow); }
.btn-primary { background: var(--accent-yellow); color: black; border: none; padding: 14px; border-radius: 8px; font-weight: bold; width: 100%; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: #e09e00; }
.btn-close { background: #333; color: white; border: none; padding: 10px; border-radius: 8px; width: 100%; margin-top: 15px; cursor: pointer; }

/* Oval Yükleme Barları ve İkon Yapısı */
.capacity-section { margin: 20px 0; padding: 5px 0; }
.machine-row { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }

.machine-icon { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    border: 2px solid var(--accent-yellow); 
    background-size: cover; 
    background-position: center; 
    background-color: #222; 
    cursor: help; 
    position: relative; 
}

.indicator-container { display: flex; gap: 5px; }

.slot { 
    width: 12px; 
    height: 35px; 
    border-radius: 10px; 
    border: 1px solid #444; 
    background: rgba(255,255,255,0.03); 
    cursor: help; 
    position: relative; 
}

.slot.filled { 
    background: var(--accent-green); 
    border-color: var(--accent-green); 
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.4); 
}

/* Tooltip (İpucu Balonu) Sistemi */
[data-info] { position: relative; }
[data-info]:after { 
    content: attr(data-info); 
    position: absolute; 
    bottom: 120%; 
    left: 50%; 
    transform: translateX(-50%); 
    padding: 6px 12px; 
    background: rgba(0,0,0,0.95); 
    color: white; 
    font-size: 12px; 
    border-radius: 6px; 
    white-space: nowrap; 
    opacity: 0; 
    visibility: hidden; 
    transition: 0.2s; 
    border: 1px solid var(--accent-yellow); 
    z-index: 100; 
}
[data-info]:hover:after { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
    .sidebar { display: none; }
    .mobile-header { display: flex; }
    #map { margin-top: 60px; }
    #web-detail-card { display: none !important; }
}