body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #181a1b;
    color: #e8e6e3;
}

.container {
    display: flex;
    min-height: 100vh;
}

.left-panel {
    width: 450px;
    padding: 20px;
    background-color: #1f2223;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mode-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: background 0.2s;
    font-weight: bold;
    color: #e8e6e3;
    align-self: center;
}

.mode-switch:hover {
    background-color: #2d3031;
}

.mode-switch .icon {
    font-size: 24px;
}

.left-panel h1 {
    text-align: center;
    margin-top: 0px;
}

.left-panel p {
    text-align: center;
    margin-top: 0px;
}

a, a:visited {
    color: #3391ff;
    text-decoration: none;
}

.main-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.screen {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-selection {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.game-selection h2 {
    margin: 0;
    font-size: 24px;
    white-space: nowrap;
}

#game-dropdown {
    padding: 10px;
    font-size: 18px;
    background-color: #2d3031;
    color: #e8e6e3;
    border: 1px solid #3c3f41;
    border-radius: 4px;
    flex-grow: 1;
    max-width: 400px;
    cursor: pointer;
}

.main-content input {
    width: 100%;
    max-width: 800px;
    padding: 15px 20px;
    font-size: 18px;
    background-color: #2d3031;
    color: #e8e6e3;
    border: 1px solid #3c3f41;
    border-radius: 4px;
}

.input, .output {
    display: flex;
    gap: 10px;
    min-width: 800px;
}

.input button, .output button, .copy-btn {
    padding: 15px 20px;
    font-size: 18px;
    background-color: #2d3031;
    color: #e8e6e3;
    border: 1px solid #3c3f41;
    border-radius: 4px;
    min-width: 100px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.extra-outputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.output-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #3c3f41;
}

.lobby-desc {
    font-size: 18px;
    color: #e8e6e3;
    font-weight: bold;
}

.output-item .output {
    min-width: 800px;
}

.toggle-container {
    margin-top: 0; 
    display: flex;
    align-items: center;
    height: 43px;
}

.toggle-container label {
    cursor: pointer;
    color: #e8e6e3;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
}

#include-finished {
    appearance: none;
    
    width: 43px; 
    height: 44px; 
    flex-shrink: 0; 
    border-radius: 4px;
    background-color: #2d3031; 
    border: 1px solid #3c3f41; 
    
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    margin: 0;
    transition: background-color 0.2s, border-color 0.2s;
}

#include-finished:checked::after {
    content: '✔';
    font-weight: normal;
    display: block;
}