/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-bdjxjqp5jw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-bdjxjqp5jw] {
    flex: 1;
}

.sidebar[b-bdjxjqp5jw] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-bdjxjqp5jw] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-bdjxjqp5jw]  a, .top-row[b-bdjxjqp5jw]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-bdjxjqp5jw]  a:hover, .top-row[b-bdjxjqp5jw]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-bdjxjqp5jw]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-bdjxjqp5jw] {
        justify-content: space-between;
    }

    .top-row[b-bdjxjqp5jw]  a, .top-row[b-bdjxjqp5jw]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-bdjxjqp5jw] {
        flex-direction: row;
    }

    .sidebar[b-bdjxjqp5jw] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-bdjxjqp5jw] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-bdjxjqp5jw]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-bdjxjqp5jw], article[b-bdjxjqp5jw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-xj3gzzkmtl] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-xj3gzzkmtl] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-xj3gzzkmtl] {
    font-size: 1.1rem;
}

.bi[b-xj3gzzkmtl] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-xj3gzzkmtl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-xj3gzzkmtl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-xj3gzzkmtl] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-xj3gzzkmtl] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-xj3gzzkmtl] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-xj3gzzkmtl] {
        padding-bottom: 1rem;
    }

    .nav-item[b-xj3gzzkmtl]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-xj3gzzkmtl]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-xj3gzzkmtl]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-xj3gzzkmtl] {
        display: none;
    }

    .collapse[b-xj3gzzkmtl] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-xj3gzzkmtl] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/About.razor.rz.scp.css */
body[b-oo2njpghci] {
}
/* /Pages/BeatTheClock.razor.rz.scp.css */
body[b-qqmok70xch] {
}
/* /Pages/ChallengeCompleted.razor.rz.scp.css */
/* This file is identical to GameCompleted.razor.css 
to ensure the style is exactly the same, as requested.
*/
.game-completed-container[b-tvusfcwkur] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
    min-height: 80vh;
}

.game-completed-card[b-tvusfcwkur] {
    background: linear-gradient(45deg, #ffeb3b, #ff9800);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    max-width: 600px;
    border: 10px solid #c0a080;
    font-family: 'Luckiest Guy', cursive;
    color: #4a4a4a;
    animation: win-popup-animation 1s ease-out forwards;
    position: relative;
    overflow: hidden;
}

    .game-completed-card[b-tvusfcwkur]::before {
        content: '';
        position: absolute;
        top: -10%;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 10% 20%, gold 4px, transparent 0), radial-gradient(circle at 80% 30%, lightblue 4px, transparent 0), radial-gradient(circle at 30% 90%, lightgreen 4px, transparent 0), radial-gradient(circle at 90% 85%, violet 4px, transparent 0), radial-gradient(circle at 50% 50%, tomato 4px, transparent 0);
        background-size: 50px 50px;
        animation: confetti-fall 4s linear infinite;
        z-index: 0;
    }

.title[b-tvusfcwkur] {
    font-size: 3.5rem;
    color: #a0522d;
    text-shadow: 2px 2px 0px #ffe082;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.congrats-message[b-tvusfcwkur] {
    font-size: 1.5rem;
    color: #6a3e1c;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-family: sans-serif;
}

.character-image[b-tvusfcwkur] {
    width: 150px;
    height: auto;
    margin-bottom: 2.5rem;
    animation: bounce 0.8s infinite alternate;
    position: relative;
    z-index: 1;
}

.btn-return-mode[b-tvusfcwkur] {
    display: block;
    width: 80%;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-size: 1.8rem;
    font-family: 'Luckiest Guy', cursive;
    color: white;
    background-color: #4CAF50;
    border: 3px solid #2e8b57;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
}

    .btn-return-mode:hover[b-tvusfcwkur] {
        background-color: #45a049;
        transform: scale(1.05);
    }

@@keyframes win-popup-animation {
    0%[b-tvusfcwkur] {
        transform: scale(0.2) rotate(0deg);
        opacity: 0;
    }

    50%[b-tvusfcwkur] {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }

    75%[b-tvusfcwkur] {
        transform: scale(0.9) rotate(-3deg);
    }

    100%[b-tvusfcwkur] {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@@keyframes bounce {
    from[b-tvusfcwkur] {
        transform: translateY(0);
    }

    to[b-tvusfcwkur] {
        transform: translateY(-10px);
    }
}

@@keyframes confetti-fall {
    0%[b-tvusfcwkur] {
        transform: translateY(-100%);
    }

    100%[b-tvusfcwkur] {
        transform: translateY(100%);
    }
}
/* /Pages/CharacterSelect.razor.rz.scp.css */
.character-select-container[b-2kqhf4ivnm] {
    display: flex;
    justify-content: flex-start; /* Aligns content to the top to prevent vertical cutoff */
    align-items: center;
    width: 100%;
    padding-top: 2rem; /* Adds some space from the top of the container */
    flex-direction: column;
}

.character-select-card[b-2kqhf4ivnm] {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    max-width: 700px; /* Made the card wider to fit content */
    border: 1px solid #ddd;
}

.title[b-2kqhf4ivnm] {
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    font-family: 'Luckiest Guy', cursive;
}

.character-grid[b-2kqhf4ivnm] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-items: center;
}

.character-option img[b-2kqhf4ivnm] {
    width: 100%;
    max-width: 150px;
    border: 5px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .character-option img:hover[b-2kqhf4ivnm] {
        transform: scale(1.05);
    }

    .character-option img.selected[b-2kqhf4ivnm] {
        border-style: solid;
        transform: scale(1.05);
    }

    /* Color classes for the selected border */
    .character-option img.selected-1[b-2kqhf4ivnm] { /* Blue */
        border-color: #0d6efd;
        box-shadow: 0 0 15px rgba(13, 110, 253, 0.5);
    }

    .character-option img.selected-2[b-2kqhf4ivnm] { /* Green */
        border-color: #198754;
        box-shadow: 0 0 15px rgba(25, 135, 84, 0.5);
    }

    .character-option img.selected-3[b-2kqhf4ivnm] { /* Red */
        border-color: #dc3545;
        box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
    }

    .character-option img.selected-4[b-2kqhf4ivnm] { /* Yellow */
        border-color: #ffc107;
        box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
    }


.btn-play-game[b-2kqhf4ivnm] {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #28a745;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    box-sizing: border-box;
}

    .btn-play-game:hover[b-2kqhf4ivnm] {
        background-color: #218838;
    }

    .btn-play-game:disabled[b-2kqhf4ivnm] {
        background-color: #6c757d;
        cursor: not-allowed;
    }
/* /Pages/Gamecomplete.razor.rz.scp.css */
/* Inspired by LevelSelect.razor.css and Game.razor styles */
.game-completed-container[b-gbufaqc2a7] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 2rem; /* Give some space from the top */
    min-height: 80vh; /* Ensure it takes up significant height */
}

.game-completed-card[b-gbufaqc2a7] {
    background: linear-gradient(45deg, #ffeb3b, #ff9800); /* Similar to win popup */
    padding: 3rem 4rem; /* Generous padding */
    border-radius: 20px; /* Rounded corners like win popup */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Shadow like win popup */
    text-align: center;
    width: 100%;
    max-width: 600px; /* A bit wider than level select */
    border: 10px solid #c0a080; /* Consistent border style */
    font-family: 'Luckiest Guy', cursive; /* Use the game font */
    color: #4a4a4a; /* Dark text color for contrast */
    animation: win-popup-animation 1s ease-out forwards; /* Reuse win animation */
    position: relative;
    overflow: hidden; /* For confetti */
}

    /* Confetti effect from Game.razor win popup */
    .game-completed-card[b-gbufaqc2a7]::before {
        content: '';
        position: absolute;
        top: -10%;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 10% 20%, gold 4px, transparent 0), radial-gradient(circle at 80% 30%, lightblue 4px, transparent 0), radial-gradient(circle at 30% 90%, lightgreen 4px, transparent 0), radial-gradient(circle at 90% 85%, violet 4px, transparent 0), radial-gradient(circle at 50% 50%, tomato 4px, transparent 0);
        background-size: 50px 50px;
        animation: confetti-fall 4s linear infinite; /* */
        z-index: 0; /* Behind content */
    }

.title[b-gbufaqc2a7] {
    font-size: 3.5rem; /* Larger title */
    color: #a0522d; /* Consistent title color */
    text-shadow: 2px 2px 0px #ffe082; /* Consistent shadow */
    margin-bottom: 1.5rem;
    position: relative; /* Ensure title is above confetti */
    z-index: 1;
}

.congrats-message[b-gbufaqc2a7] {
    font-size: 1.5rem;
    color: #6a3e1c; /* Consistent text color */
    margin-bottom: 2rem;
    position: relative; /* Ensure text is above confetti */
    z-index: 1;
    font-family: sans-serif; /* More readable for paragraph */
}

.character-image[b-gbufaqc2a7] {
    width: 150px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 2.5rem;
    animation: bounce 0.8s infinite alternate; /* Reuse bounce animation */
    position: relative; /* Ensure image is above confetti */
    z-index: 1;
}

.btn-return-mode[b-gbufaqc2a7] {
    display: block;
    width: 80%;
    margin: 0 auto; /* Center the button */
    padding: 1rem 2rem;
    font-size: 1.8rem;
    font-family: 'Luckiest Guy', cursive; /* Consistent font */
    color: white;
    background-color: #4CAF50; /* Green button style */
    border: 3px solid #2e8b57; /* Consistent border */
    border-radius: 10px; /* Consistent radius */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Consistent transition */
    position: relative; /* Ensure button is above confetti */
    z-index: 1;
}

    .btn-return-mode:hover[b-gbufaqc2a7] {
        background-color: #45a049; /* Darker green on hover */
        transform: scale(1.05); /* Slight scale effect */
    }

/* Re-use animations from Game.razor */
@@keyframes win-popup-animation {
    0%[b-gbufaqc2a7] {
        transform: scale(0.2) rotate(0deg);
        opacity: 0;
    }

    50%[b-gbufaqc2a7] {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }

    75%[b-gbufaqc2a7] {
        transform: scale(0.9) rotate(-3deg);
    }

    100%[b-gbufaqc2a7] {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@@keyframes bounce {
    from[b-gbufaqc2a7] {
        transform: translateY(0);
    }

    to[b-gbufaqc2a7] {
        transform: translateY(-10px);
    }
}

@@keyframes confetti-fall {
    0%[b-gbufaqc2a7] {
        transform: translateY(-100%);
    }

    100%[b-gbufaqc2a7] {
        transform: translateY(100%);
    }
}
/* /Pages/GameMode.razor.rz.scp.css */
body[b-7iw52g9bc2] {
}
/* /Pages/LevelSelect.razor.rz.scp.css */
/* These styles are now based on Login.razor.css to ensure a consistent look */
.level-select-container[b-0zym7gk73o] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* height: 100%; <--- THIS WAS THE PROBLEM. I HAVE REMOVED IT. */
}

.level-select-card[b-0zym7gk73o] {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    max-width: 400px; /* Matches the login card width */
    border: 1px solid #ddd;
}

.title[b-0zym7gk73o] {
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem; /* Consistent title size */
    font-family: 'Luckiest Guy', cursive;
}

.select-wrapper[b-0zym7gk73o] {
    margin-bottom: 1.5rem;
}

.level-dropdown[b-0zym7gk73o] {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #ced4da;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-play-game[b-0zym7gk73o] {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #28a745;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    box-sizing: border-box;
}

    .btn-play-game:hover[b-0zym7gk73o] {
        background-color: #218838;
    }
/* /Pages/Login.razor.rz.scp.css */
.login-container[b-zxn9w282hl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.login-title[b-zxn9w282hl] {
    color: #dc3545;
    text-shadow: 3px 3px 0px #fff, 5px 5px 0px rgba(0, 0, 0, 0.2);
    font-size: 5rem; /* Larger than the game title for emphasis */
    margin-bottom: 2rem;
}

.login-box[b-zxn9w282hl] {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    background-color: #FDF8E1;
    border: 10px solid #c0a080;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.2);
}

.login-header[b-zxn9w282hl] {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.form-group[b-zxn9w282hl] {
    margin-bottom: 1.5rem;
    text-align: left;
}

    .form-group label[b-zxn9w282hl] {
        display: block;
        margin-bottom: .5rem;
        color: #4a4a4a;
    }

.form-control[b-zxn9w282hl] {
    border-radius: 8px;
    border: 2px solid #c0a080;
    background-color: #fff;
    padding: .75rem 1rem;
}

.btn-login[b-zxn9w282hl] {
    width: 100%;
    font-size: 1.2rem;
    padding: .75rem;
    border-radius: 8px;
    background-color: #28a745;
    border: 3px solid #1e7e34;
    font-family: 'Luckiest Guy', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-login:hover[b-zxn9w282hl] {
        background-color: #218838;
        border-color: #155724;
    }


/* Style for the tabs */
.nav-tabs[b-zxn9w282hl] {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 1.5rem;
    /* --- AMENDED --- */
    display: flex;
    justify-content: center;
}

.nav-item[b-zxn9w282hl] {
    /* --- AMENDED (removed flex-grow: 1) --- */
}

.nav-link[b-zxn9w282hl] {
    width: 100%;
    text-align: center;
    color: #007bff;
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    /* --- AMENDED (added padding) --- */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

    .nav-link:hover[b-zxn9w282hl] {
        border-color: #e9ecef #e9ecef #dee2e6;
        isolation: isolate;
    }

    /* Active tab style */
    .nav-link.active[b-zxn9w282hl] {
        color: #495057;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
        border-bottom: 2px solid #fff; /* Covers the bottom border */
        margin-bottom: -2px; /* Pulls content up */
        font-weight: 600;
    }

/* Ensure tab content forms have consistent spacing */
.tab-content .form-group[b-zxn9w282hl] {
    margin-bottom: 1rem;
}

.tab-content .login-header[b-zxn9w282hl] {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tab-content .btn-login[b-zxn9w282hl] {
    margin-top: 1rem;
}
/* /Pages/PrivacyPolicy.razor.rz.scp.css */
body[b-mksobmmm0w] {
}
/* /Pages/Register.razor.rz.scp.css */
.login-container[b-0rhecdslb1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Changed from center to prevent cutoff */
    height: 100%;
    text-align: center;
    padding-top: 2rem; /* Added padding to give the title space */
    width: 100%;
}

.login-title[b-0rhecdslb1] {
    color: #dc3545;
    text-shadow: 3px 3px 0px #fff, 5px 5px 0px rgba(0, 0, 0, 0.2);
    font-size: 5rem; /* Larger than the game title for emphasis */
    margin-bottom: 2rem;
}



.login-header[b-0rhecdslb1] {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.form-group[b-0rhecdslb1] {
    margin-bottom: 1.5rem;
    text-align: left;
}

    .form-group label[b-0rhecdslb1] {
        display: block;
        margin-bottom: .5rem;
        color: #4a4a4a;
    }

.form-control[b-0rhecdslb1] {
    border-radius: 8px;
    border: 2px solid #c0a080;
    background-color: #fff;
    padding: .75rem 1rem;
}

.btn-login[b-0rhecdslb1] {
    width: 100%;
    font-size: 1.2rem;
    padding: .75rem;
    border-radius: 8px;
    background-color: #28a745;
    border: 3px solid #1e7e34;
    font-family: 'Luckiest Guy', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-login:hover[b-0rhecdslb1] {
        background-color: #218838;
        border-color: #155724;
    }
