
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #161b22;
    color: #f0f0f0;
}

.container {
    width: min(500px, 92%);
    margin: 50px auto;
    text-align: center;
}

h1 {
    font-size: 42px;
    margin-bottom: 5px;
}

.subtitle {
    color: #a0a0a0;
    margin-bottom: 30px;
}

.panel {
    background: #242b36;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
}

label {
    display: block;
    text-align: left;
    margin: 15px 0 6px;
}

input,
select,
button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 7px;
}

input,
select {
    background: #11161d;
    border: 1px solid #475569;
    color: white;
}

button {
    margin-top: 15px;
    background: #238636;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

button:hover:not(:disabled) {
    background: #2ea043;
}

button:disabled {
    background: #555;
    cursor: not-allowed;
}

button.secondary {
    background: #475569;
}

.room-code {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 5px;
    margin: 15px 0;
}

.player-row {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    margin: 8px 0;
    background: #11161d;
    border-radius: 6px;
}

.error {
    color: #ff6b6b;
    min-height: 20px;
}
