@import '_content/AuralizeBlazor/AuralizeBlazor.tf5u2o3oxg.bundle.scp.css';
@import '_content/Nextended.Blazor/Nextended.Blazor.tkxqvq0zjw.bundle.scp.css';

/* _content/SharkBoat/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-dzlcl40p35] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-dzlcl40p35] {
    flex: 1;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.sidebar[b-dzlcl40p35] {
    background: var(--sidebar-bg);
}

.top-row[b-dzlcl40p35] {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px var(--shadow-color);
}

.top-row[b-dzlcl40p35]  a, .top-row[b-dzlcl40p35]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.top-row[b-dzlcl40p35]  a:hover, .top-row[b-dzlcl40p35]  .btn-link:hover {
    text-decoration: underline;
    color: var(--accent-primary);
}

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

/* Mobile optimizations for theme switching and drawer performance */
@media (max-width: 768px) {
    /* Faster transitions for mobile */
    [b-dzlcl40p35] .mud-drawer {
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    [b-dzlcl40p35] .mud-drawer .mud-drawer-content {
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    [b-dzlcl40p35] .mud-overlay {
        transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* Prevent app bar theme flashing on mobile */
    [b-dzlcl40p35] .mud-appbar {
        transition: background-color 0s !important;
        will-change: background-color;
    }
    
    /* Optimize ripple effect for mobile */
    [b-dzlcl40p35] .mud-button-root,
    [b-dzlcl40p35] .mud-icon-button {
        --mud-ripple-duration: 250ms !important;
    }
    
    /* Faster hamburger menu response */
    [b-dzlcl40p35] .mud-icon-button {
        transition: background-color 0.15s ease !important;
    }
    
    /* Ensure theme classes apply immediately */
    [b-dzlcl40p35] .mud-theme-light,
    [b-dzlcl40p35] .mud-theme-dark {
        transition: none !important;
    }
}

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

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

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

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

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

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

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

/* Performance optimizations for theme switching */
[b-dzlcl40p35] .mud-layout,
[b-dzlcl40p35] .mud-main-content {
    transition: none !important;
}

/* Prevent layout shift during theme changes */
[b-dzlcl40p35] .mud-appbar .mud-toolbar {
    transition: background-color 0s !important;
}

/* Optimize drawer for all screen sizes */
[b-dzlcl40p35] .mud-drawer-responsive {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#blazor-error-ui[b-dzlcl40p35] {
    background: var(--accent-primary);
    color: white;
    bottom: 0;
    box-shadow: 0 -2px 4px var(--shadow-color);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-radius: 4px 4px 0 0;
}

#blazor-error-ui .dismiss[b-dzlcl40p35] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: white;
    font-size: 1.2rem;
}

#blazor-error-ui .dismiss:hover[b-dzlcl40p35] {
    color: rgba(255, 255, 255, 0.8);
}
/* _content/SharkBoat/Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu MudBlazor Integration Styles */

/* Theme toggle button styling */
.theme-toggle-button[b-ye6byaiuc8] {
    transition: all 0.2s ease;
}

.theme-toggle-button:hover[b-ye6byaiuc8] {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle-button:active[b-ye6byaiuc8] {
    transform: scale(0.95);
}

/* Admin badge styling */
.admin-badge[b-ye6byaiuc8] {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation enhancement */
.mud-nav-link[b-ye6byaiuc8] {
    margin: 0.125rem 0.5rem;
    border-radius: 8px;
}

.mud-nav-group .mud-nav-group-header[b-ye6byaiuc8] {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-badge[b-ye6byaiuc8] {
        display: none;
    }
}

/* Enhanced focus states for accessibility */
.mud-nav-link:focus[b-ye6byaiuc8] {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.theme-toggle-button:focus[b-ye6byaiuc8] {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

[data-theme="dark"] .theme-toggle-button:focus[b-ye6byaiuc8] {
    outline-color: var(--primary-color);
}
/* _content/SharkBoat/Components/SharkCodeEditor.razor.rz.scp.css */
.page-container[b-x9f3fequ67] {
    height: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.editor-wrapper[b-x9f3fequ67] {       
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: inherit;
    position: relative;
}

.editor-container[b-x9f3fequ67] {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 2px solid #ccc;
    border-radius: 4px;
    min-height: inherit;
    position: relative;
    overflow: hidden;
}

/* Auto-height specific styles */
.auto-height-editor[b-x9f3fequ67] {
    overflow: visible !important;
    height: auto !important;
    min-height: 100px !important;
}

.auto-height-editor :global(.monaco-editor)[b-x9f3fequ67] {
    height: auto !important;
    min-height: 100px !important;
    overflow: visible !important;
}

.auto-height-editor :global(.monaco-editor .monaco-editor-background)[b-x9f3fequ67] {
    height: auto !important;
}

.auto-height-editor :global(.monaco-editor .overflow-guard)[b-x9f3fequ67] {
    height: auto !important;
    overflow: visible !important;
}

.auto-height-editor :global(.monaco-scrollable-element)[b-x9f3fequ67] {
    height: auto !important;
    overflow: visible !important;
}

.auto-height-editor :global(.monaco-editor .monaco-scrollable-element > .scrollbar)[b-x9f3fequ67] {
    display: none !important;
}

/* More specific and defensive Monaco editor styles */
.editor-container :global(.monaco-editor)[b-x9f3fequ67] {
    width: 100% !important;
    height: 100% !important;
    min-height: inherit !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.editor-container :global(.monaco-editor .monaco-editor-background)[b-x9f3fequ67] {
    height: 100% !important;
    width: 100% !important;
}

.editor-container :global(.monaco-editor .editor-container)[b-x9f3fequ67] {
    height: 100% !important;
    width: 100% !important;
}

.editor-container :global(.monaco-editor .overflow-guard)[b-x9f3fequ67] {
    height: 100% !important;
    width: 100% !important;
}

.editor-container :global(.monaco-editor .monaco-scrollable-element)[b-x9f3fequ67] {
    height: 100% !important;
    width: 100% !important;
}

/* Target the immediate child div more specifically */
.editor-container > :global(div)[b-x9f3fequ67] {
    width: 100% !important;
    height: 100% !important;
    min-height: inherit !important;
    position: relative !important;
}

/* Ensure proper sizing for different height values */
.editor-container :global(.monaco-editor)[b-x9f3fequ67],
.editor-container :global(.monaco-editor *)[b-x9f3fequ67] {
    box-sizing: border-box !important;
}

/* Loading state styling */
.editor-container .mud-progress-circular[b-x9f3fequ67] {
    color: var(--mud-palette-text-secondary) !important;
}

/* Add delay for Monaco-specific styles */
.editor-container :global(.monaco-editor-loaded)[b-x9f3fequ67] {
    animation: monacoFadeIn-b-x9f3fequ67 0.1s ease-in;
}

@keyframes monacoFadeIn-b-x9f3fequ67 {
    from { opacity: 0; }
    to { opacity: 1; }
}
