/* /Components/HintPanel.razor.rz.scp.css */
.hint-panel-overlay[b-xqy8vlvsbn] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.hint-panel[b-xqy8vlvsbn] {
    background-color: #e6f7ff; /* Pale Blue */
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column; /* Stack content and button vertically */
    position: relative;
}

.hint-content[b-xqy8vlvsbn] {
    overflow-y: auto; /* Make the content scrollable */
    flex: 1; /* Take up remaining space above the button */
}

.close-button[b-xqy8vlvsbn] {
    margin-top: 10px;
    margin-bottom: 8px;
    align-self: center; /* Center the button horizontally */
    position: sticky; /* Ensure the button stays visible */
    bottom: 0; /* Stick to the bottom of the panel */
    z-index: 10; /* Ensure it stays above the content */
}
/* /Components/IdiomEntry.razor.rz.scp.css */
.idiom-entry[b-9fif3lt839] {
    margin-bottom: 2rem;
    padding: 1.2rem;
    background-color: var(--idiom-bg, #fffaf0);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Noto Serif SC', serif;
}

    .idiom-entry header h2[b-9fif3lt839] {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        color: #4a2f1c;
    }

.author[b-9fif3lt839] {
    font-size: 1rem;
    color: #6b4226;
    margin-left: 0.5rem;
}

.idiom-text p[b-9fif3lt839] {
    font-size: 1.2rem;
    line-height: 1.5;
    white-space: pre-line;
    color: #3b2f2f;
    margin: 1rem 0;
}

.idiom-commentary[b-9fif3lt839] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
}

    .idiom-commentary h3[b-9fif3lt839] {
        font-size: 1.1rem;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .idiom-commentary p[b-9fif3lt839] {
        font-size: 1rem;
        line-height: 1.5;
        color: #444;
    }
/* /Components/PuzzlePanel.razor.rz.scp.css */
.puzzle-panel[b-2so87y6wjd] {
    display: flex;
    flex-direction: column;
    background-color: #f5f5dc;
    width: 100%;
    height: 100%;
    box-sizing: border-box; /* Ensure padding and border are included in width/height */
    margin: 0; /* Center the panel horizontally and vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    flex-grow: 1; /* Allow the panel to grow and fill available space */
}

    .puzzle-panel .button-container[b-2so87y6wjd] {
        flex-shrink: 0; /* Prevent the button container from shrinking */
        height: 60px; /* Fixed height for the button row */
        border-radius: 5px;
        display: flex; /* Use flexbox for layout */
        justify-content: space-between; /* Spread out buttons with equal space between them */
        align-items: center; /* Align buttons vertically in the center */
        gap: 10px; /* Add spacing between buttons */
    }

    .puzzle-panel .btn[b-2so87y6wjd] {
        padding: 10px 20px;
        font-size: 1rem;
        cursor: pointer;
    }

/* /Components/WordSearchPuzzle.razor.rz.scp.css */
.puzzle-container[b-u0x0h0xks6] {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b5d29e;
    border: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.puzzle-board[b-u0x0h0xks6] {
    background-image: url('/bg.png');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: #f5f5dc;
    border: none;
    padding: 4px; 
    margin: 0; 
    --board-background-color: #cfe2f3;
    --grid-line-color: #88c1a1;
    --selected-cell-color: #ffa07a;
    --solved-cell-color: #90ee90;
    --missed-cell-color: #ffa07a;
    --wrong-cell-color: #ffb6c1;
    --char-color: #000000;
    --banner-background-color: #ADD8E6;
    --banner-border-color: #BC8F8F;
    --banner-text-color: #006400;
    --word-border-color: #0000ff;
}

canvas[b-u0x0h0xks6] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0; 
    padding: 0; 
    touch-action: none; 
}

.puzzle-init-text[b-u0x0h0xks6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.app-header[b-m1178gknej] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #0078d4; /* Adjust theme color */
    color: white;
}

.app-logo[b-m1178gknej] {
    display: flex;
    align-items: center;
}

.icon[b-m1178gknej] {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.app-name[b-m1178gknej] {
    font-size: 1.5rem;
    font-weight: bold;
}

.settings-button[b-m1178gknej] {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

    .settings-button:hover[b-m1178gknej] {
        color: #005a9e; /* Adjust hover color */
    }

.help-button[b-m1178gknej] {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

    .help-button:hover[b-m1178gknej] {
        color: #005a9e; /* Adjust hover color */
    }

.app-footer[b-m1178gknej] {
    background-color: #0078d4; /* Adjust to fit your theme */
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}
/* /Pages/Help.razor.rz.scp.css */
.help-page-grid[b-9qxxrpfiyi] {
    display: grid;
    height: 100%;
    width: 100%; /* Full width */
    gap: 10px; /* Optional gap between rows */
    box-sizing: border-box;
    padding: 0px;
    margin: 0; /* Ensure no margin */
    position: relative; /* Ensure it doesn't create a new stacking context */
    z-index: 5; /* Default stacking context */
}

.help-panel-overlay[b-9qxxrpfiyi] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.help-panel[b-9qxxrpfiyi] {
    background-color: #fdf6e3; /* Light Cream */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column; /* Stack content and button vertically */
    position: relative;
}

.help-content[b-9qxxrpfiyi] {
    overflow-y: auto; /* Make the content scrollable */
    flex: 1; /* Take up remaining space above the button */
}

h1[b-9qxxrpfiyi] {
    color: #6b4226;
    font-size: 1.8rem;
}

h2[b-9qxxrpfiyi] {
    color: #6b4226;
    font-size: 1.4rem;
}

ul[b-9qxxrpfiyi] {
    padding-left: 1.2em;
    font-size: 1.125rem;
}

img[b-9qxxrpfiyi] {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.close-button[b-9qxxrpfiyi] {
    margin-top: 10px;
    align-self: center; /* Center the button horizontally */
    position: sticky; /* Ensure the button stays visible */
    bottom: 0; /* Stick to the bottom of the panel */
    z-index: 10; /* Ensure it stays above the content */
}
/* /Pages/Home.razor.rz.scp.css */
.home-grid[b-mqx45isz1e] {
    display: grid;
    height: calc(100vh - var(--app-header-height, 0px) - var(--app-footer-height, 0px)); /* Subtract the side menu height */
    width: 100%; /* Full width */
    gap: 10px; /* Optional gap between rows */
    box-sizing: border-box;
    padding: 0px;
    margin: 0; /* Ensure no margin */
    position: relative; /* Ensure it doesn't create a new stacking context */
    z-index: 1; /* Default stacking context */
}


/* /Pages/Settings.razor.rz.scp.css */
.settings-container[b-lckblrc8o5] {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

    .settings-container .form-group[b-lckblrc8o5] {
        margin-bottom: 15px;
    }

    .settings-container label[b-lckblrc8o5] {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .settings-container .form-control[b-lckblrc8o5] {
        width: 100%;
        padding: 8px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
