body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #fff;
}

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

.sidebar {
    width: 300px;
    padding: 20px;
    background-color: #222;
    overflow-y: auto;
    border-right: 1px solid #444;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.cluster-list {
    list-style-type: none;
    padding: 0;
}

.cluster-list-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    transition: background-color 0.2s;
}

.cluster-list-item:hover {
    background-color: #333;
}

.cluster-list-item.selected {
    background-color: #007bff;
    color: white;
}

.show-welcome-link {
    font-size: 0.8em;
    color: #aaa;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.show-welcome-link:hover {
    color: #007bff;
}

.reset-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1em;
}

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

.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 15px;
    box-sizing: border-box;
}

.welcome-modal {
    background-color: #222;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #444;
}

.welcome-modal h3 {
    margin-top: 0;
    color: #007bff;
}

.welcome-modal h4 {
    color: #009bff;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-top: 20px;
    cursor: pointer;
}

.welcome-modal p {
    line-height: 1.6;
    font-size: 0.95em;
}

.collapsible-section h4 {
    border-bottom: none;
    margin-bottom: 10px;
}

.collapse-icon {
    display: inline-block;
    width: 20px;
    font-family: monospace;
}

.collapsible-content {
    padding-left: 20px;
    border-left: 1px solid #444;
    margin-left: 10px;
}

.nearby-toggle {
    width: calc(100% - 20px);
    padding: 8px;
    margin: 10px 10px 5px 10px;
    background-color: #333;
    color: white;
    border: 1px solid #555;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9em;
}

.nearby-toggle:hover {
    background-color: #444;
}

.nearby-title {
    margin: 15px 0 5px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #444;
    font-size: 1em;
}

.nearby-list {
    list-style-type: none;
    padding-left: 20px;
}

.nearby-list-item {
    padding: 5px 0;
    cursor: pointer;
    color: #aaa;
    font-size: 0.9em;
}

.nearby-list-item:hover {
    color: #007bff;
}

.welcome-modal ul {
    padding-left: 20px;
}

.click-to-begin {
    text-align: center;
    margin-top: 25px;
}

.dismiss-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.keyword-sub-list {
    list-style-type: none;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.keyword-sub-list-item {
    padding: 3px 0;
    font-size: 0.9em;
    color: #ccc;
}