/* Reset en basis */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f0f2f5;
}

/* Flex container voor de hele pagina */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 10;
}

header h1 {
    margin: 0;
    font-size: 1.4rem;
    color: #333;
}

/* Language dropdown */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher label {
    font-size: 0.9rem;
    color: #555;
}

.language-switcher select {
    padding: 5px 8px;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Main content wrapper */
.content {
    flex: 1; /* neemt alle beschikbare hoogte */
    display: flex;
    height: 100%;
    overflow: hidden; /* voorkomt overlap */
}

/* Sidebar */
.panel {
    flex: 0 0 300px; /* vaste breedte */
    background-color: #f8f8f8;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: 2px 0 6px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}

/* Main + map */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    z-index: 1;
}

#map {
    flex: 1;
    width: 100%;
    min-height: 400px;
    z-index: 1;
}

/* Buttons */
.btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 5px;
    transition: background 0.2s;
}

.btn:hover {
    background-color: #0056b3;
}

.btn.ghost {
    background-color: transparent;
    border: 1px solid #007bff;
    color: #007bff;
}

.btn.ghost:hover {
    background-color: #007bff;
    color: #fff;
}

/* Suggesties */
.suggestions {
    margin-bottom: 10px;
}

.suggestion-list {
    background: #fff;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    display: none; /* via JS tonen */
}

/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
    flex-shrink: 0;
}
