body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
}

#board {
    background-color: #4CAF50;
    width: 320px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#codeReveal {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.codeTile {
    width: 40px;
    height: 40px;
    margin: 5px;
    background-color: gray;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
}

.guessRow {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px; /* Reduced margin to close the gap between rows */
}

.hole {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid #000;
}

.indicatorPanel {
    display: flex; /* Changed from column to flex for horizontal alignment */
    justify-content: space-between;
    width: 100px; /* Adjusted width to accommodate four indicators */
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid white;
    visibility: hidden; /* Hide indicators by default */
}

.color {
    width: 40px;
    height: 40px;
    margin: 5px;
    border-radius: 50%;
    border: 2px solid #000;
    cursor: pointer;
}

.color.selected {
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.7); /* Depressed effect */
    transform: translateY(2px); /* Slight downward movement */
}

#undo, #submitGuess {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#undo:hover, #submitGuess:hover {
    background-color: #555;
}

#gameOver {
    margin-top: 20px;
}

#restart {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#restart:hover {
    background-color: #555;
}
