/* _content/VoiceEnglishTutor/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-fybjl2rrg9] {
    display: flex;
    min-height: 100vh;
}

/* MOBILE FIX */

@media (max-width: 640px) {

    .page[b-fybjl2rrg9] {
        display: block;
    }
}

main[b-fybjl2rrg9] {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
}

/*.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}*/

.top-row[b-fybjl2rrg9] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-fybjl2rrg9]  a, .top-row[b-fybjl2rrg9]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-fybjl2rrg9]  a:hover, .top-row[b-fybjl2rrg9]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-fybjl2rrg9]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-fybjl2rrg9] {
        justify-content: space-between;
    }

    .top-row[b-fybjl2rrg9]  a, .top-row[b-fybjl2rrg9]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-fybjl2rrg9] {
        flex-direction: row;
    }

    .sidebar[b-fybjl2rrg9] {
        width: 250px;
        min-height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-fybjl2rrg9] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-fybjl2rrg9]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-fybjl2rrg9], article[b-fybjl2rrg9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-fybjl2rrg9] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-fybjl2rrg9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
 
/* _content/VoiceEnglishTutor/Components/Layout/NavMenu.razor.rz.scp.css */
/* ==============================
   SIDEBAR
============================== */

.nav-scrollable[b-0fjm48ohnz] {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    width: 250px;
    min-height: 120vh;
    padding: 20px 14px;
    border-right: 1px solid rgba(255,255,255,0.06);
    overflow-y: auto;
    transition: all 0.3s ease;
}

/* ==============================
   LOGO
============================== */

.app-logo[b-0fjm48ohnz] {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    padding: 10px 12px;
}

/* ==============================
   NAV ITEMS
============================== */

.nav-item[b-0fjm48ohnz] {
    margin-bottom: 8px;
}

/* ==============================
   LINKS
============================== */

.nav-link[b-0fjm48ohnz],
.menu-button[b-0fjm48ohnz] {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-radius: 14px;
    border: none;
    background: transparent;
    color: #d1d5db;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
}

/* LEFT SIDE */

.menu-left[b-0fjm48ohnz] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* HOVER */

.nav-link:hover[b-0fjm48ohnz],
.menu-button:hover[b-0fjm48ohnz] {
    background: rgba(255,255,255,0.08);
    color: white;
    transform: translateX(4px);
}

/* ACTIVE */

.nav-link.active[b-0fjm48ohnz] {
    background: linear-gradient(90deg,#2563eb,#3b82f6);
    color: white;
    box-shadow: 0 0 18px rgba(59,130,246,0.35);
}

/* ==============================
   ICONS
============================== */

.bi[b-0fjm48ohnz] {
    font-size: 1rem;
    min-width: 18px;
}

/* ==============================
   SUBMENU
============================== */

.submenu[b-0fjm48ohnz] {
    margin-left: 14px;
    margin-top: 6px;
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 10px;
}

.submenu-link[b-0fjm48ohnz] {
    height: 44px;
    font-size: 14px;
}

/* ==============================
   TOGGLE BUTTON
============================== */

.navbar-toggler[b-0fjm48ohnz] {
    appearance: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10001;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

    /* HAMBURGER ICON */

    .navbar-toggler[b-0fjm48ohnz]::before {
        content: "☰";
        color: white;
        font-size: 20px;
        font-weight: bold;
    }

/* ==============================
   DESKTOP
============================== */

@media (min-width: 641px) {

    .navbar-toggler[b-0fjm48ohnz] {
        display: none;
    }

    .nav-scrollable[b-0fjm48ohnz] {
        position: relative;
        left: 0;
    }
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 640px) {

    .nav-scrollable[b-0fjm48ohnz] {
        position: fixed;
        top: 0;
        left: -100%;
        width: 78%;
        max-width: 290px;
        height: 100vh;
        z-index: 10000;
        padding-top: 70px;
        box-shadow: 0 0 40px rgba(0,0,0,0.45);
    }

        /* OPEN */

        .nav-scrollable.show[b-0fjm48ohnz] {
            left: 0;
        }

            /* OVERLAY */

            .nav-scrollable.show[b-0fjm48ohnz]::after {
                content: "";
                position: fixed;
                top: 0;
                left: 78%;
                width: 100%;
                height: 100%;
                background: rgba(0,0,0,0.45);
            }

    /* MOBILE LINKS */

    .nav-link[b-0fjm48ohnz],
    .menu-button[b-0fjm48ohnz] {
        height: 48px;
        font-size: 14px;
        padding: 0 14px;
    }

    .submenu-link[b-0fjm48ohnz] {
        height: 42px;
        font-size: 13px;
    }
}

 
/* _content/VoiceEnglishTutor/Components/Pages/ListeningPractice.razor.rz.scp.css */
.practice-grid[b-hrmqhoa3sd],
.topic-grid[b-hrmqhoa3sd],
.difficulty-grid[b-hrmqhoa3sd] {
    display: grid;
    gap: 16px;
}

/* DESKTOP */

.practice-grid[b-hrmqhoa3sd] {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.topic-grid[b-hrmqhoa3sd] {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.difficulty-grid[b-hrmqhoa3sd] {
    grid-template-columns: repeat(3, 1fr);
}

/* CARD DESIGN */

.practice-item[b-hrmqhoa3sd],
.topic-item[b-hrmqhoa3sd],
.difficulty-item[b-hrmqhoa3sd] {
    background: white;
    border-radius: 20px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-weight: 600;
}

    .practice-item:hover[b-hrmqhoa3sd],
    .topic-item:hover[b-hrmqhoa3sd],
    .difficulty-item:hover[b-hrmqhoa3sd] {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

/* SELECTED */

.selected-item[b-hrmqhoa3sd] {
    border-color: #4f46e5;
    background: #eef2ff;
}

/* ICON */

.practice-icon[b-hrmqhoa3sd] {
    font-size: 42px;
    margin-bottom: 10px;
}

.practice-text[b-hrmqhoa3sd] {
    font-size: 16px;
    line-height: 1.4;
}

/* MOBILE */

@media (max-width: 768px) {

    .practice-grid[b-hrmqhoa3sd] {
        grid-template-columns: repeat(2, 1fr);
    }

    .topic-grid[b-hrmqhoa3sd] {
        grid-template-columns: repeat(2, 1fr);
    }

    .difficulty-grid[b-hrmqhoa3sd] {
        grid-template-columns: repeat(3, 1fr);
    }

    .practice-item[b-hrmqhoa3sd],
    .topic-item[b-hrmqhoa3sd],
    .difficulty-item[b-hrmqhoa3sd] {
        padding: 18px;
    }

    .practice-icon[b-hrmqhoa3sd] {
        font-size: 34px;
    }
}
