/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MudBlazor handles most styles */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mi8gnpz0xz],
.components-reconnect-repeated-attempt-visible[b-mi8gnpz0xz],
.components-reconnect-failed-visible[b-mi8gnpz0xz],
.components-pause-visible[b-mi8gnpz0xz],
.components-resume-failed-visible[b-mi8gnpz0xz],
.components-rejoining-animation[b-mi8gnpz0xz] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mi8gnpz0xz],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mi8gnpz0xz],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mi8gnpz0xz],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mi8gnpz0xz],
#components-reconnect-modal.components-reconnect-retrying[b-mi8gnpz0xz],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mi8gnpz0xz],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mi8gnpz0xz],
#components-reconnect-modal.components-reconnect-failed[b-mi8gnpz0xz],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mi8gnpz0xz] {
    display: block;
}


#components-reconnect-modal[b-mi8gnpz0xz] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-mi8gnpz0xz 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mi8gnpz0xz 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mi8gnpz0xz 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mi8gnpz0xz]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mi8gnpz0xz 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mi8gnpz0xz {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mi8gnpz0xz {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mi8gnpz0xz {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mi8gnpz0xz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mi8gnpz0xz] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mi8gnpz0xz] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mi8gnpz0xz] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mi8gnpz0xz] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mi8gnpz0xz] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mi8gnpz0xz] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mi8gnpz0xz 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mi8gnpz0xz] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mi8gnpz0xz {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Classrooms/ClassroomList.razor.rz.scp.css */
.mobile-button[b-gmxk7wao2v] {
    min-height: 48px;
}
/* /Components/Pages/Conversation/Conversation.razor.rz.scp.css */
/* Mobile responsiveness for Conversation page */

.conversation-item[b-o7caz67o7k] {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.conversation-item:hover[b-o7caz67o7k] {
    background-color: var(--mud-palette-action-default-hover);
}

.conversation-item.selected[b-o7caz67o7k] {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.1);
    border-color: var(--mud-palette-primary);
}

@media (max-width: 600px) {
    /* Reduce chat bubble padding on mobile */
    [b-o7caz67o7k] .chat-messages .mud-paper {
        padding: 8px 12px;
    }

    /* Smaller chips on mobile */
    [b-o7caz67o7k] .mud-chip {
        font-size: 0.75rem;
    }

    /* Tighter spacing in mobile drawer */
    [b-o7caz67o7k] .mud-nav-link {
        padding: 8px 12px;
    }
}
/* /Components/Pages/Decks/DeckDetail.razor.rz.scp.css */
.mobile-button[b-qhywbnt7of] {
    min-height: 48px;
}

.table-scroll-container[b-qhywbnt7of] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* /Components/Pages/Decks/DeckList.razor.rz.scp.css */
.mobile-button[b-ukybny14xx] {
    min-height: 48px;
}
/* /Components/Pages/Drill/DrillResults.razor.rz.scp.css */
.mobile-button[b-4wtx27f3vz] {
    min-height: 48px;
}

.table-scroll-container[b-4wtx27f3vz] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* /Components/Pages/Drill/DrillSetup.razor.rz.scp.css */
/* Mobile-specific styles for action buttons */
.action-btn[b-dzmrlppxej] {
    min-height: 48px;
}

/* CSS fallback for mobile responsiveness */
@media (max-width: 600px) {
    [b-dzmrlppxej] .mud-paper {
        padding: 12px !important;
    }

    [b-dzmrlppxej] .mud-button.mud-button-filled,
    [b-dzmrlppxej] .mud-button.mud-button-outlined {
        min-height: 48px;
    }
}
/* /Components/Pages/Flashcard/FlashcardResults.razor.rz.scp.css */
.mobile-button[b-j2c2qp5oz6] {
    min-height: 48px;
}
/* /Components/Pages/Flashcard/FlashcardSession.razor.rz.scp.css */
.flashcard-container[b-vkndhvsx2e] {
    perspective: 1000px;
    width: 100%;
    max-width: 500px;
    height: 300px;
    cursor: pointer;
    outline: none;
}

.flashcard[b-vkndhvsx2e] {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flashcard.flipped[b-vkndhvsx2e] {
    transform: rotateY(180deg);
}

.flashcard-face[b-vkndhvsx2e] {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flashcard-front[b-vkndhvsx2e] {
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background-gray) 100%);
    border: 2px solid var(--mud-palette-lines-default);
}

.flashcard-back[b-vkndhvsx2e] {
    background: linear-gradient(135deg, var(--mud-palette-primary-lighten) 0%, var(--mud-palette-surface) 100%);
    border: 2px solid var(--mud-palette-primary);
    transform: rotateY(180deg);
}

/* Exit animation */
.flashcard.fade-out[b-vkndhvsx2e] {
    animation: fadeOut-b-vkndhvsx2e 0.3s ease-out forwards;
}

@keyframes fadeOut-b-vkndhvsx2e {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.flashcard.flipped.fade-out[b-vkndhvsx2e] {
    animation: fadeOutFlipped-b-vkndhvsx2e 0.3s ease-out forwards;
}

@keyframes fadeOutFlipped-b-vkndhvsx2e {
    to {
        opacity: 0;
        transform: rotateY(180deg) scale(0.95);
    }
}

/* Hint text */
.hint-text[b-vkndhvsx2e] {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
}

.rating-buttons[b-vkndhvsx2e] {
    flex-wrap: wrap;
}

.rating-buttons .mud-button[b-vkndhvsx2e] {
    min-width: 80px;
}

/* Mobile-specific styles using JS detection */
.flashcard-container.mobile[b-vkndhvsx2e] {
    height: 220px;
    max-width: 100%;
}

.flashcard-container.mobile .flashcard-face[b-vkndhvsx2e] {
    padding: 16px;
}

.rating-buttons-mobile[b-vkndhvsx2e] {
    width: 100%;
    max-width: 320px;
}

.rating-buttons-mobile .rating-btn[b-vkndhvsx2e] {
    min-height: 48px;
    font-size: 0.95rem;
}

.rating-buttons-mobile .rating-key[b-vkndhvsx2e] {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-left: 4px;
}

/* CSS fallback for mobile responsiveness */
@media (max-width: 600px) {
    .flashcard-container[b-vkndhvsx2e] {
        height: 220px;
    }

    .flashcard-face[b-vkndhvsx2e] {
        padding: 16px !important;
    }

    .rating-buttons[b-vkndhvsx2e] {
        gap: 8px;
    }

    .rating-buttons .mud-button[b-vkndhvsx2e] {
        min-width: 70px;
        padding: 8px 12px;
    }
}
/* /Components/Pages/Grammar/GrammarResults.razor.rz.scp.css */
.mobile-button[b-es7kbqdhml] {
    min-height: 48px;
}
/* /Components/Pages/Grammar/GrammarSession.razor.rz.scp.css */
/* Mobile-specific styles for action buttons */
.action-btn[b-prjiewwfee] {
    min-height: 48px;
}

/* CSS fallback for mobile responsiveness */
@media (max-width: 600px) {
    [b-prjiewwfee] .mud-paper {
        padding: 12px !important;
    }

    [b-prjiewwfee] .mud-button.mud-button-filled,
    [b-prjiewwfee] .mud-button.mud-button-outlined {
        min-height: 48px;
    }
}
/* /Components/Pages/Grammar/GrammarSetup.razor.rz.scp.css */
/* Mobile-specific styles for action buttons */
.action-btn[b-qvw1jmh1it] {
    min-height: 48px;
}

/* CSS fallback for mobile responsiveness */
@media (max-width: 600px) {
    [b-qvw1jmh1it] .mud-paper {
        padding: 12px !important;
    }

    [b-qvw1jmh1it] .mud-button.mud-button-filled,
    [b-qvw1jmh1it] .mud-button.mud-button-outlined {
        min-height: 48px;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Mobile-specific styles for Home page */

.action-btn[b-um1nuyts3e] {
    min-height: 48px;
}
/* /Components/Pages/Profile/Profile.razor.rz.scp.css */
.mobile-button[b-osz7yi1asq] {
    min-height: 48px;
}

.table-scroll-container[b-osz7yi1asq] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* /Components/Pages/Profile/Settings.razor.rz.scp.css */
/* Mobile responsiveness for Settings page */
@media (max-width: 600px) {
    /* Reduce expansion panel padding on mobile */
    [b-x7gzaqdsg5] .mud-expand-panel-content {
        padding: 8px 12px;
    }

    /* Full width file upload button */
    [b-x7gzaqdsg5] .full-width-mobile {
        width: 100%;
    }

    [b-x7gzaqdsg5] .full-width-mobile .mud-button {
        width: 100%;
    }
}
/* /Components/Pages/Progress/ProgressDashboard.razor.rz.scp.css */
/* Mobile table horizontal scroll */
.table-scroll-wrapper[b-eoykr5wedm] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
}

.table-scroll-wrapper .mud-table[b-eoykr5wedm] {
    min-width: 500px;
}

/* Mobile action buttons */
.action-btn[b-eoykr5wedm] {
    min-height: 48px;
}
/* /Components/Pages/Reading/ReadingList.razor.rz.scp.css */
.mobile-button[b-ozib7ssf5t] {
    min-height: 48px;
}
/* /Components/Pages/Reading/ReadingSession.razor.rz.scp.css */
/* Mobile-specific styles for ReadingSession */

.mobile-button[b-k9bseg5qwv] {
    min-height: 48px;
}

.action-buttons[b-k9bseg5qwv] {
    gap: 8px;
}
/* /Components/Pages/Tutor/Tutor.razor.rz.scp.css */
/* Mobile responsiveness for Tutor page */

.chat-messages[b-o88oih9kur] {
    scroll-behavior: smooth;
}

/* Session history sidebar styles */
.session-item[b-o88oih9kur] {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.session-item:hover[b-o88oih9kur] {
    background-color: var(--mud-palette-action-default-hover);
}

.session-item.selected[b-o88oih9kur] {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.1);
    border-color: var(--mud-palette-primary);
}

@media (max-width: 600px) {
    /* Reduce chat bubble padding on mobile */
    [b-o88oih9kur] .chat-messages .mud-paper {
        padding: 8px 12px;
    }

    /* Smaller suggestion chips on mobile */
    [b-o88oih9kur] .mud-chip {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* Tighter expansion panel spacing */
    [b-o88oih9kur] .mud-expand-panel-content {
        padding: 8px 12px;
    }
}
