body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #333;
    color: white;
    margin: 0;
}

#game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#status-display {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

#chess-board {
    display: grid;
    grid-template-columns: repeat(8, 70px);
    grid-template-rows: repeat(8, 70px);
    width: 560px;
    height: 560px;
    border: 5px solid #6b4b38;
}

.square {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.square.light {
    background-color: #f0d9b5;
}

.square.dark {
    background-color: #b58863;
}

.piece {
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: grab;
}

.selected {
    background-color: rgba(30, 144, 255, 0.5) !important; /* DodgerBlue with transparency */
}

.valid-move {
    position: relative;
}

.valid-move::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

#reset-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4a752c;
    color: white;
    border: none;
    border-radius: 5px;
}

#reset-button:hover {
    background-color: #6b9f46;
}