.lobby {
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.lobby-title {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.create-room-section {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--mocha-light);
    border-radius: 10px;
}

.rounds-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 6px;
}

.rounds-selector select {
    padding: 8px 12px;
    border-radius: 5px;
    background: var(--mocha-bg);
    color: var(--text-light);
    border: 1px solid var(--slate-blue);
}

.rounds-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--slate-blue);
    background: var(--mocha-bg);
    color: var(--text-light);
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 30px;
}

.rounds-select:hover {
    border-color: var(--sage-green);
}

.rounds-select:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 2px rgba(112, 161, 111, 0.3);
}

.create-room-btn {
    padding: 10px 20px;
    background: var(--sage-green);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.room-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--mocha-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.room-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.room-item.playing {
    border-left: 4px solid var(--sage-green);
}

.room-item.waiting {
    border-left: 4px solid var(--muted-yellow);
}

.room-actions {
    display: flex;
    gap: 10px;
}

.room-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.room-actions button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.room-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-rooms {
    text-align: center;
    color: var(--text-light);
    opacity: 0.7;
    padding: 20px;
}
