/* Layout for login widget */
#bedrock-login-widget {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
}

/* Main game content initially hidden */
#main-game-content {
    display: none;
}

/* Body layout for initial login page */
body {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    margin: 0;
    /* background-color: #f0f0f0; */
}

/* Logo and image styling */
.image {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
}

/* Gamezone layout */
.gamezone {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
}

/* Rules and game panels */
.rules,
.game {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.rules {
    flex-basis: 30%;
}

.game {
    flex-basis: 65%;
}

/* Puzzle board styling */
#board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
    border: 2px solid #333;
    width: 310px;
    height: 310px;
    margin: 0 auto 20px auto;
}

#board img {
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    object-fit: cover;
}

/* Score and restart button */
.score {
    text-align: center;
    margin-top: 10px;
}

.restart-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

.restart-button:hover {
    background-color: #45a049;
}

/* Optional: Login widget panel customization
#bedrock-login-widget .container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
*/

/* Add any other styles you have for .image, .gamezone, .rules, .game, #board, etc. */