* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: "Segoe UI", Consolas, "Courier New", monospace;
    background-color: #0d1117;
    color: #e6edf3;
    overflow: hidden;
}

.app-header {
    padding: 10px 20px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-header h1 {
    font-size: 1.3rem;
    color: #58a6ff;
    margin: 0;
}

.subtitle {
    font-size: 0.8rem;
    color: #8b949e;
}

.app-container {
    display: flex;
    height: calc(100vh - 56px);
    gap: 0;
}

/* === LEVÝ SLOUPEC: Mapa + Terminál === */
.left-column {
    flex: 1.8;
    display: flex;
    flex-direction: column;
    background-color: #010409;
    border-right: 1px solid #30363d;
    min-width: 0;
}

/* Mapa města bere 60% výšky levého sloupce */
.city-map-wrapper {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #30363d;
    background: #0d1117;
    min-height: 0;
}

/* Terminál zbylých 40% */
.terminal-section {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: #010409;
}

.terminal-output {
    flex: 1;
    padding: 12px 16px;
    overflow-y: auto;
    font-size: 0.92rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.terminal-input {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #161b22;
    border-top: 1px solid #30363d;
}

.prompt {
    margin-right: 10px;
    color: #58a6ff;
    font-weight: bold;
    user-select: none;
}

#terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e6edf3;
    font-family: inherit;
    font-size: 0.95rem;
}

/* === PRAVÝ SLOUPEC: Dashboard === */
.dashboard {
    flex: 1;
    padding: 14px;
    background-color: #0d1117;
    overflow-y: auto;
    min-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.panel {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 12px;
}

.panel h2 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #58a6ff;
}

.panel ul {
    list-style: none;
    font-size: 0.9rem;
}

.panel li {
    margin-bottom: 4px;
    color: #c9d1d9;
}

#notification-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 320px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #010409;
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}
