/* _content/NovelHelper/Pages/Books/EditParseConfigPage.razor.rz.scp.css */
.main-box[b-ouj99psiem] {
    border:1px solid #eeeeee;
    background: white;
    width: 100%;
    padding: 10px
}
/* _content/NovelHelper/Shared/MainLayout.razor.rz.scp.css */

/*
.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

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

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}


*/











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

main[b-fn496dhg0o] {
    flex: 1;
}



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

.top-row  a[b-fn496dhg0o], .top-row .btn-link[b-fn496dhg0o] {
    white-space: nowrap;
    margin-left: 1.5rem;
}

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

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-fn496dhg0o] {
        display: none;
    }

    .top-row.auth[b-fn496dhg0o] {
        justify-content: space-between;
    }

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

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

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

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

/* Mobile Layout Styles */
.mobile-layout[b-fn496dhg0o] {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.mobile-content[b-fn496dhg0o] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 80px; /* Space for bottom nav */
}

/* Mobile Sidebar FAB */
.mobile-sidebar-fab[b-fn496dhg0o] {
    position: fixed;
    bottom: 80px; /* Above bottom nav */
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1976d2;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.mobile-sidebar-fab:hover[b-fn496dhg0o] {
    background: #1565c0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.mobile-sidebar-fab:active[b-fn496dhg0o] {
    transform: translateY(0) scale(0.96);
}

/* FAB hide/show animation for scroll */
.mobile-sidebar-fab.hidden[b-fn496dhg0o] {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.mobile-sidebar-fab.visible[b-fn496dhg0o] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-sidebar-fab :deep .rz-icon[b-fn496dhg0o] {
    font-size: 24px;
}

/* Ripple effect for FAB */
.mobile-sidebar-fab[b-fn496dhg0o]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.mobile-sidebar-fab:active[b-fn496dhg0o]::after {
    width: 120%;
    height: 120%;
}
/* _content/NovelHelper/Shared/MobileBottomNav.razor.rz.scp.css */
.mobile-bottom-nav[b-ept1ne2ime] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-items[b-ept1ne2ime] {
    display: flex;
    height: 60px;
    max-width: 100vw;
}

.nav-item[b-ept1ne2ime] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px 6px;
    text-decoration: none;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    font-size: 12px;
}

.nav-item:hover[b-ept1ne2ime],
.nav-item.active[b-ept1ne2ime] {
    color: #1976d2;
    background-color: rgba(25, 118, 210, 0.08);
}

.nav-text[b-ept1ne2ime] {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.settings-modal-backdrop[b-ept1ne2ime] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: flex-end;
}

.settings-modal[b-ept1ne2ime] {
    background: white;
    width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    animation: slideUp-b-ept1ne2ime 0.3s ease-out;
}

@keyframes slideUp-b-ept1ne2ime {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.settings-header[b-ept1ne2ime] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.settings-header h3[b-ept1ne2ime] {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.close-btn[b-ept1ne2ime] {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #666;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover[b-ept1ne2ime] {
    background-color: #f5f5f5;
}

.settings-content[b-ept1ne2ime] {
    padding: 8px 0 20px;
}

.settings-item[b-ept1ne2ime] {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.settings-item:hover[b-ept1ne2ime] {
    background-color: #f5f5f5;
}

.settings-item.logout[b-ept1ne2ime] {
    color: #d32f2f;
    border-top: 1px solid #e0e0e0;
    margin-top: 8px;
}

.settings-item span[b-ept1ne2ime] {
    margin-left: 16px;
    font-size: 16px;
}

/* _content/NovelHelper/Shared/MobileSidebarModal.razor.rz.scp.css */
.mobile-sidebar-modal[b-0olifz8nwg] {
    padding: 0;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin; /* Firefox */
}

/* Override default styles for better mobile experience */
.mobile-sidebar-modal :deep h3[b-0olifz8nwg] {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
    color: #333;
}

.mobile-sidebar-modal :deep h5[b-0olifz8nwg] {
    margin-top: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

/* Improve button spacing for touch */
.mobile-sidebar-modal :deep .rz-button[b-0olifz8nwg] {
    min-height: 44px;
    margin-bottom: 8px;
    width: 100%;
}

/* Better spacing for form controls */
.mobile-sidebar-modal :deep .rz-slider[b-0olifz8nwg] {
    margin: 8px 0 16px 0;
}

.mobile-sidebar-modal :deep .rz-dropdown[b-0olifz8nwg] {
    min-height: 44px;
    width: 100%;
}

.mobile-sidebar-modal :deep .rz-checkbox[b-0olifz8nwg] {
    transform: scale(1.2);
    margin-right: 12px;
}

.mobile-sidebar-modal :deep label[b-0olifz8nwg] {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

/* Badge styling improvements */
.mobile-sidebar-modal :deep .rz-badge[b-0olifz8nwg] {
    font-size: 12px;
    padding: 4px 8px;
}

/* Alert styling for mobile */
.mobile-sidebar-modal :deep .rz-alert[b-0olifz8nwg] {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
}

/* Divider improvements */
.mobile-sidebar-modal :deep hr[b-0olifz8nwg] {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Container spacing */
.mobile-sidebar-modal > :deep div[b-0olifz8nwg] {
    padding: 16px;
}

/* WebKit scrollbar styling */
.mobile-sidebar-modal[b-0olifz8nwg]::-webkit-scrollbar {
    width: 4px;
}

.mobile-sidebar-modal[b-0olifz8nwg]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-sidebar-modal[b-0olifz8nwg]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.mobile-sidebar-modal[b-0olifz8nwg]::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Responsive modal adjustments */
@media (max-width: 480px) {
    .mobile-sidebar-modal > :deep div[b-0olifz8nwg] {
        padding: 12px;
    }
    
    .mobile-sidebar-modal :deep .rz-button[b-0olifz8nwg] {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .mobile-sidebar-modal :deep h3[b-0olifz8nwg] {
        font-size: 16px;
    }
    
    .mobile-sidebar-modal :deep h5[b-0olifz8nwg] {
        font-size: 13px;
    }
}
/* _content/NovelHelper/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-xaat7lof16] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-xaat7lof16] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.bottom-row[b-xaat7lof16] {
    position: absolute;
    bottom: 0;
    padding-bottom: 10px;
    text-align: right;
    width: 100%;
    padding-right: 28px;
}

.icon-menu-arrow[b-xaat7lof16] {
    text-align: right;
}

.navbar-brand[b-xaat7lof16] {
    font-size: 1.1rem;
}

.oi[b-xaat7lof16] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-xaat7lof16] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-xaat7lof16] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-xaat7lof16] {
    padding-bottom: 1rem;
}

.nav-item[b-xaat7lof16]  a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item[b-xaat7lof16]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-xaat7lof16]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

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

@media (min-width: 641px) {
    .sidebar[b-xaat7lof16] {
        width: 80px;
        height: 100vh;
        position: sticky;
        top: 0;
        white-space: nowrap;
        overflow-x: hidden;
    }
    
    .sidebar.show-sidebar[b-xaat7lof16]{
        width: 250px;
    }

    .sidebar.hide-sidebar[b-xaat7lof16] {
        width: 80px;
    }
    
    .navbar-toggler[b-xaat7lof16] {
        display: none;
    }

    .collapse[b-xaat7lof16] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .show-menu-item[b-xaat7lof16] {
        
    }
    
    .hide-menu-item[b-xaat7lof16] {
        opacity: 0;
        
    }
}

@media (max-width: 640px) {
    .bottom-row[b-xaat7lof16] {
        display: block;
    }
}
