
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    background-color: #333;
    color: #fff;
    font-family: Arial, sans-serif;
}

.game-container {
    display: flex;
    align-items: flex-start;
}

.board-container {
    position: absolute;
    top: 0;
    left: 0;
}

.board {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 600px;
    height: 600px;
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: repeat(11, 1fr);
}

.space {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #555;
    font-size: 10px;
    color: #fff;
    text-align: center;
}

.corner {
    background-color: #8e44ad;
    color: #fff;
    font-weight: bold;
}

.red {
    background-color: #e74c3c;
}

.yellow {
    background-color: #f1c40f;
}

.blue {
    background-color: #3498db;
}

.white {
    background-color: #ecf0f1;
    color: #000;
}

.player-layer {
    position: absolute;
    top: 0;
    left: 0;
}

.player {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    transition: all 0.5s ease;
}

.player1 {
    background-color: #2ecc71;
    border: 5px solid white;
}

.player2 {
    border: 5px solid white;
    background-color: #e67e22;
}

.player3 {
    border: 5px solid white;
    background-color: #9b59b6;
}

.player4 {
    border: 5px solid white;
    background-color: #1abc9c;
}

.side-panel {
    display: flex;
    flex-direction: column;
    margin-left: 620px;
    text-align: left;
}

.turn-list {
    margin-bottom: 20px;
    width: 250px; /* Set a fixed width to prevent width changes */
}

.turn {
    padding: 5px;
    border: 1px solid #555;
    border-radius: 5px;
    margin-bottom: 5px;
    word-wrap: break-word; /* Ensure text wraps inside the fixed width */
}

.active {
    background-color: #27ae60;
    color: #fff;
}

.controls {
    text-align: center;
    width: 250px; /* Set a fixed width to prevent width changes */

}
