/* _content/Bookong.Web/Components/DevTools/DevToolsPanel.razor.rz.scp.css */
.devtools-container[b-4y9d75ehso] {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.devtools-tab[b-4y9d75ehso] {
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px 0 0 12px;
    padding: 16px 10px;
    cursor: pointer;
    box-shadow: -4px 0 20px rgba(99, 102, 241, 0.4);
    transition: all 0.2s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    flex-shrink: 0;
    pointer-events: auto;
}

.devtools-tab:hover[b-4y9d75ehso] {
    padding-right: 14px;
    box-shadow: -6px 0 25px rgba(99, 102, 241, 0.6);
    background: linear-gradient(180deg, #818cf8 0%, #a78bfa 100%);
}

.devtools-icon[b-4y9d75ehso] {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.devtools-label[b-4y9d75ehso] {
    display: block;
    font-size: 11px;
}

.devtools-wrapper[b-4y9d75ehso] {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(380px);
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.devtools-container.open .devtools-wrapper[b-4y9d75ehso] {
    transform: translateY(-50%) translateX(0);
}

.devtools-panel[b-4y9d75ehso] {
    width: 380px;
    height: 80vh;
    max-height: 700px;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
    color: #e2e8f0;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    border-radius: 0 0 0 12px;
}

.devtools-header[b-4y9d75ehso] {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.devtools-header h3[b-4y9d75ehso] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.close-btn[b-4y9d75ehso] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s;
    line-height: 1;
}

.close-btn:hover[b-4y9d75ehso] {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.devtools-content[b-4y9d75ehso] {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.devtools-section[b-4y9d75ehso] {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.devtools-section h4[b-4y9d75ehso] {
    margin: 0 0 14px 0;
    color: #a5b4fc;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.user-info p[b-4y9d75ehso] {
    margin: 10px 0;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.user-info strong[b-4y9d75ehso] {
    color: #94a3b8;
    font-weight: 500;
    min-width: 90px;
}

.role-badge[b-4y9d75ehso] {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.admin[b-4y9d75ehso] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.role-badge.user[b-4y9d75ehso] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.sync-warning[b-4y9d75ehso] {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: #fbbf24;
    animation: pulse-b-4y9d75ehso 1.5s ease-in-out infinite;
    margin-left: 4px;
}

@keyframes pulse-b-4y9d75ehso {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.button-group[b-4y9d75ehso] {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.dev-btn[b-4y9d75ehso] {
    flex: 1;
    padding: 12px 14px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.dev-btn:hover:not(:disabled)[b-4y9d75ehso] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dev-btn:active:not(:disabled)[b-4y9d75ehso] {
    transform: translateY(0);
}

.dev-btn:disabled[b-4y9d75ehso] {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-btn[b-4y9d75ehso] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.admin-btn:hover:not(:disabled)[b-4y9d75ehso] {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.user-btn[b-4y9d75ehso] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.user-btn:hover:not(:disabled)[b-4y9d75ehso] {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.message[b-4y9d75ehso] {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.message.success[b-4y9d75ehso] {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.message.error[b-4y9d75ehso] {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.not-authenticated[b-4y9d75ehso],
.warning[b-4y9d75ehso] {
    color: #fbbf24;
    font-style: italic;
    font-size: 13px;
}

.mock-accounts[b-4y9d75ehso] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-item[b-4y9d75ehso] {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 14px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.account-item:hover[b-4y9d75ehso] {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.account-item strong[b-4y9d75ehso] {
    color: #a5b4fc;
    font-weight: 600;
}

.password[b-4y9d75ehso] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.env-badge[b-4y9d75ehso] {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scrollbar styling */
.devtools-content[b-4y9d75ehso]::-webkit-scrollbar {
    width: 6px;
}

.devtools-content[b-4y9d75ehso]::-webkit-scrollbar-track {
    background: transparent;
}

.devtools-content[b-4y9d75ehso]::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

.devtools-content[b-4y9d75ehso]::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Firefox scrollbar */
.devtools-content[b-4y9d75ehso] {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}
/* _content/Bookong.Web/Components/Layout/FooterLayout.razor.rz.scp.css */
/* Footer-specific styles (kept local) */
footer[b-g8cz2e7oel] {
    /* Use a darker variant of the hero gradient so the footer is visually distinct from the wave */
    background: linear-gradient(135deg, var(--footer-gradient-a, #0a4db8) 0%, var(--footer-gradient-b, #4c1d95) 100%);
    color: var(--white-strong);
    position: relative;
    z-index: 2;
    min-height: 60px;
}

footer .container-fluid[b-g8cz2e7oel] {
    z-index: 3; /* keep content above decorative elements */
}

/* subtle top border/contrast line to separate footer from content */
footer[b-g8cz2e7oel]::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(0,0,0,0.06));
    z-index: 2;
}
/* _content/Bookong.Web/Components/Layout/HeaderLayout.razor.rz.scp.css */
.navbar-brand:hover[b-dj9lb22xnq] {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.navbar-toggler:focus[b-dj9lb22xnq] {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Header-specific overlay menu and decorative elements */

/* Header with decorative wave elements */
header[b-dj9lb22xnq] {
    position: relative;
    /* Use hero gradient colors for navbar background to match TeachingMaterials hero */
    background: linear-gradient(135deg, var(--hero-gradient-a, #3b82f6) 0%, var(--hero-gradient-b, #6d28d9) 70%) !important;
    overflow: hidden;
}



/* Ensure navbar content is above decorative elements */
.navbar[b-dj9lb22xnq] {
    position: relative;
    z-index: 1;
}

/* Full-screen overlay menu - slides from right to left */
.overlay-menu[b-dj9lb22xnq] {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    /* Match overlay to header gradient for visual continuity */
    background: linear-gradient(135deg, var(--hero-gradient-a, #0a4db8) 0%, var(--hero-gradient-b, #083d96) 100%);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.overlay-menu.active[b-dj9lb22xnq] {
    right: 0;
}

/* Background decorative elements */
.overlay-menu[b-dj9lb22xnq]::before, header[b-dj9lb22xnq]::before{
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.overlay-menu[b-dj9lb22xnq]::after, header[b-dj9lb22xnq]::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: 1;
}

/* Header section with title and close button */
.overlay-header[b-dj9lb22xnq] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-title[b-dj9lb22xnq] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 0.5rem;
}

.overlay-title img[b-dj9lb22xnq] {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.overlay-title span[b-dj9lb22xnq] {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Close button positioned where burger menu was */
.close-btn[b-dj9lb22xnq] {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.close-btn:hover[b-dj9lb22xnq] {
    background-color: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg) scale(1.1);
}

.close-btn:focus[b-dj9lb22xnq] {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.overlay-content[b-dj9lb22xnq] {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 3rem 2rem;
    text-align: center;
    z-index: 10;
    margin-top: 1rem;
}

/* Welcome text */
.overlay-welcome[b-dj9lb22xnq] {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Navigation styles */
.overlay-nav-list[b-dj9lb22xnq] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-nav-list li[b-dj9lb22xnq] {
    margin: 1.25rem 0;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInLeft-b-dj9lb22xnq 0.6s ease forwards;
}

.overlay-nav-list li:nth-child(1)[b-dj9lb22xnq] { animation-delay: 0.1s; }
.overlay-nav-list li:nth-child(2)[b-dj9lb22xnq] { animation-delay: 0.15s; }
.overlay-nav-list li:nth-child(3)[b-dj9lb22xnq] { animation-delay: 0.2s; }
.overlay-nav-list li:nth-child(4)[b-dj9lb22xnq] { animation-delay: 0.25s; }
.overlay-nav-list li:nth-child(5)[b-dj9lb22xnq] { animation-delay: 0.3s; }
.overlay-nav-list li:nth-child(6)[b-dj9lb22xnq] { animation-delay: 0.35s; }
.overlay-nav-list li:nth-child(7)[b-dj9lb22xnq] { animation-delay: 0.4s; }

.overlay-nav-link[b-dj9lb22xnq] {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.overlay-nav-link:hover[b-dj9lb22xnq] {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.overlay-nav-link[b-dj9lb22xnq]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.overlay-nav-link:hover[b-dj9lb22xnq]::before {
    left: 100%;
}

/* Add icons to nav links */
.overlay-nav-link[b-dj9lb22xnq]::after {
    content: '\2192';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.overlay-nav-link:hover[b-dj9lb22xnq]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}


/* Animations */
@keyframes slideInLeft-b-dj9lb22xnq {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .navbar-brand img[b-dj9lb22xnq] {
        height: 28px !important;
    }
    
    .overlay-header[b-dj9lb22xnq] {
        height: 70px;
        padding: 0 1rem;
    }
    
    .overlay-title img[b-dj9lb22xnq] {
        height: 30px;
    }
    
    .overlay-title span[b-dj9lb22xnq] {
        font-size: 1.3rem;
    }
    
    .overlay-content[b-dj9lb22xnq] {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .overlay-welcome[b-dj9lb22xnq] {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .overlay-nav-link[b-dj9lb22xnq] {
        font-size: 1.35rem;
        padding: 1rem 2rem;
        margin: 0.25rem 0;
    }
    
    .close-btn[b-dj9lb22xnq] {
        font-size: 1.75rem;
        width: 38px;
        height: 38px;
    }
    
}

@media (min-width: 992px) {
    .overlay-menu[b-dj9lb22xnq] {
        display: none !important;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open[b-dj9lb22xnq] {
    overflow: hidden;
}
/* _content/Bookong.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* Scoped layout CSS - do not use @import here (scoped CSS disallows it) */

.page[b-05p0lhx1b5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-05p0lhx1b5] {
    flex: 1;
    padding-top: var(--header-height, 4.75rem);
}

.page-wave[b-05p0lhx1b5] {
    width: 100%;
    line-height: 0;
    height: 6rem; /* visible area for wave */
    margin-top: -1px; /* slight overlap */
}

.page-wave svg[b-05p0lhx1b5] {
    display: block;
    width: 100%;
    height: 100%;
}

/* make sure footer sits above wave if needed */
footer[b-05p0lhx1b5], .footer[b-05p0lhx1b5] {
    position: relative;
    z-index: 2;
}

.page-wave[b-05p0lhx1b5] {
    position: relative;
    z-index: 1;
}

.sidebar[b-05p0lhx1b5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-05p0lhx1b5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-05p0lhx1b5]  a, .top-row[b-05p0lhx1b5]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-05p0lhx1b5]  a:hover, .top-row[b-05p0lhx1b5]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-05p0lhx1b5]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-05p0lhx1b5] {
        justify-content: space-between;
    }

    .top-row[b-05p0lhx1b5]  a, .top-row[b-05p0lhx1b5]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-05p0lhx1b5] {
        flex-direction: row;
    }

    .sidebar[b-05p0lhx1b5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-05p0lhx1b5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-05p0lhx1b5]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-05p0lhx1b5], article[b-05p0lhx1b5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-05p0lhx1b5] {
    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-05p0lhx1b5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
