@import '_content/PSC.Blazor.Components.MarkdownEditor/PSC.Blazor.Components.MarkdownEditor.bundle.scp.css';

/* /Components/Layout/LoadingSpinner.razor.rz.scp.css */
/* Used under CC0 license */

.lds-ellipsis[b-tvt4n9d124] {
    color: #9ca3af;
    /* Updated from #666 */
    animation: fade-in-b-tvt4n9d124 1s;
}

@keyframes fade-in-b-tvt4n9d124 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.lds-ellipsis[b-tvt4n9d124],
.lds-ellipsis div[b-tvt4n9d124] {
    box-sizing: border-box;
}

.lds-ellipsis[b-tvt4n9d124] {
    margin: auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div[b-tvt4n9d124] {
    position: absolute;
    top: 33.33333px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1)[b-tvt4n9d124] {
    left: 8px;
    animation: lds-ellipsis1-b-tvt4n9d124 0.6s infinite;
}

.lds-ellipsis div:nth-child(2)[b-tvt4n9d124] {
    left: 8px;
    animation: lds-ellipsis2-b-tvt4n9d124 0.6s infinite;
}

.lds-ellipsis div:nth-child(3)[b-tvt4n9d124] {
    left: 32px;
    animation: lds-ellipsis2-b-tvt4n9d124 0.6s infinite;
}

.lds-ellipsis div:nth-child(4)[b-tvt4n9d124] {
    left: 56px;
    animation: lds-ellipsis3-b-tvt4n9d124 0.6s infinite;
}

@keyframes lds-ellipsis1-b-tvt4n9d124 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3-b-tvt4n9d124 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2-b-tvt4n9d124 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Error UI - Hidden by default, shown on unhandled errors */
#blazor-error-ui[b-bgk3dih10r] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#blazor-error-ui.show[b-bgk3dih10r] {
    display: flex;
    align-items: center;
    justify-content: center;
}

#blazor-error-ui .dismiss[b-bgk3dih10r] {
    cursor: pointer;
}
/* /Components/Layout/SurveyPrompt.razor.rz.scp.css */
.surveyContainer[b-gghvdzk2ew] {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9em;
    margin: 0.5rem auto -0.7rem auto;
    max-width: 1024px;
    color: #444;
}

    .surveyContainer a[b-gghvdzk2ew] {
        text-decoration: underline;
    }

    .surveyContainer .tool-icon[b-gghvdzk2ew] {
        margin-top: 0.15rem;
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }
/* /Components/Pages/Chat/AyraChat.razor.rz.scp.css */
.user-avatar[b-9p6p4qp209],
.ai-avatar[b-9p6p4qp209] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Clear chat button */
.btn-outline-secondary[b-9p6p4qp209] {
    color: var(--text-color-secondary);
    border-color: var(--border-color);
    background-color: transparent;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    transition: all 0.2s ease;
}

.btn-outline-secondary:hover[b-9p6p4qp209] {
    background-color: var(--hover-color);
}

.user-avatar svg[b-9p6p4qp209] {
    color: var(--text-secondary);
}

.ai-avatar img[b-9p6p4qp209] {
    border-radius: 4px;
    object-fit: contain;
}

/* Chat mode indicator */
.chat-mode-indicator[b-9p6p4qp209] {
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background-color: var(--surface-color, #f8f9fa);
    border: 1px solid var(--border-color, #dee2e6);
    display: inline-block;
}

.chat-mode-indicator small[b-9p6p4qp209] {
    font-size: 0.75rem;
    color: var(--text-color-secondary, #6c757d);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chat-mode-indicator i[b-9p6p4qp209] {
    opacity: 0.7;
}
/* /Components/Pages/Cloudbooks/CloudbookViewer.razor.rz.scp.css */
/* Cloudbook viewer scoped styles */
.cloudbook-viewer-container[b-uimaesebah] {
    width: 100%;
    margin-top: -64px;
    /* padding-top: 64px; */
    padding-top: calc(env(safe-area-inset-top, 0px));
    height: 100vh;
    height: 100dvh;
    height: -webkit-fill-available;
    overflow: hidden;
    background: #101010;
    /* Dark background matching MainLayout */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /* iOS safe area support */
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Target MudAppBar inside this component */
[b-uimaesebah] .mud-appbar {
    background: #1D1D1D;
    /* Surface color */
    /* iOS safe area for notch */
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    z-index: 2000;
}

.pdf-viewer-content[b-uimaesebah] {
    flex: 1 1 auto;
    height: 100%;
    background: #101010;
    min-height: 0;
    overflow: hidden;
}

.pdf-viewer-layout[b-uimaesebah] {
    display: flex;
    height: 100%;
    background: #1D1D1D;
    /* Surface color */
    overflow: hidden;
    min-height: 0;
}

.bookmark-panel[b-uimaesebah] {
    flex: 0 0 320px;
    max-width: 320px;
    background: #1D1D1D;
    border-right: 1px solid #3a3a3a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
    z-index: 2;
    min-height: 0;
}

.bookmark-panel-header[b-uimaesebah] {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #3a3a3a;
    background: rgba(0, 0, 0, 0.2);
    gap: 0.5rem;
}

.bookmark-header-row[b-uimaesebah] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.bookmark-panel-title[b-uimaesebah] {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-weight: 700 !important;
}

.bookmark-close[b-uimaesebah] {
    position: absolute;
    right: 0;
}

/* Customize MudTextField in bookmark panel */
[b-uimaesebah] .bookmark-search .mud-input-control {
    margin-top: 0;
}

[b-uimaesebah] .bookmark-search .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[b-uimaesebah] .bookmark-search .mud-input-root:hover .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

[b-uimaesebah] .bookmark-search .mud-input-root.mud-input-focused .mud-input-outlined-border {
    border-color: var(--mud-palette-primary) !important;
}

[b-uimaesebah] .bookmark-search input {
    color: #e0e0e0 !important;
    font-size: 0.85rem;
}

[b-uimaesebah] .bookmark-search .mud-input-adornment-start {
    color: #9ca3af !important;
}

.bookmark-panel-body[b-uimaesebah] {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 1rem 1rem;
}

.bookmark-tree[b-uimaesebah],
.bookmark-children[b-uimaesebah] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bookmark-node[b-uimaesebah] {
    margin-bottom: 0.25rem;
}

.bookmark-node-header[b-uimaesebah] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0;
    border-radius: 4px;
}

.bookmark-node-header:hover[b-uimaesebah] {
    background: rgba(255, 255, 255, 0.03);
}

.bookmark-toggle[b-uimaesebah] {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.bookmark-toggle:hover[b-uimaesebah] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.bookmark-toggle.placeholder[b-uimaesebah] {
    cursor: default;
    opacity: 0;
}

.bookmark-title[b-uimaesebah] {
    flex: 1;
    text-align: left;
    border: none;
    background: transparent;
    color: #e0e0e0;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bookmark-title:not(.disabled):hover[b-uimaesebah] {
    color: #fff;
}

.bookmark-title.disabled[b-uimaesebah] {
    color: #6c757d;
    cursor: default;
}

.bookmark-icon[b-uimaesebah] {
    display: inline-flex;
    align-items: center;
    color: #fbbf24;
    /* Amber-400 for folders */
    margin-right: 0.5rem;
    opacity: 0.8;
}

.bookmark-page[b-uimaesebah] {
    font-size: 0.75rem;
    color: #b0b0b0;
    margin-left: 0.5rem;
}

.bookmark-children[b-uimaesebah] {
    margin-left: 1.25rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.bookmark-loading[b-uimaesebah] {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-surface[b-uimaesebah] {
    flex: 1 1 auto;
    background: #525659;
    position: relative;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 0 24px;
    min-height: 0;
    /* iOS momentum scrolling */
    -webkit-overflow-scrolling: touch;
}

.pdf-viewer-wrapper[b-uimaesebah] {
    height: 100%;
}

.pdf-canvas[b-uimaesebah] {
    border: 1px solid #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-top: 0;
}

.cloudbook-title[b-uimaesebah] {
    max-width: 40%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-navigator[b-uimaesebah] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0.5rem;
}

.page-input-wrapper[b-uimaesebah] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.page-bracket[b-uimaesebah] {
    color: var(--mud-palette-text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.page-number-input[b-uimaesebah] {
    width: 50px;
    text-align: center;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 0.95rem;
    padding: 2px 4px;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.page-number-input[b-uimaesebah]::-webkit-inner-spin-button,
.page-number-input[b-uimaesebah]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-number-input:focus[b-uimaesebah] {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.page-of[b-uimaesebah] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.9rem;
    margin: 0 4px;
}

.page-total-count[b-uimaesebah] {
    color: var(--mud-palette-text-primary);
    font-size: 0.95rem;
    min-width: 30px;
    text-align: left;
}

.mobile-page-input[b-uimaesebah] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.mobile-page-input span[b-uimaesebah] {
    color: var(--mud-palette-text-secondary);
    font-size: 1rem;
}

.mobile-page-input input[b-uimaesebah] {
    width: 45px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: inherit;
    font-size: 0.9rem;
    padding: 4px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.mobile-page-input input[b-uimaesebah]::-webkit-inner-spin-button,
.mobile-page-input input[b-uimaesebah]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.desktop-controls[b-uimaesebah] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu[b-uimaesebah] {
    display: none;
    align-items: center;
    position: relative;
}

[b-uimaesebah] .mobile-menu-popover {
    position: absolute !important;
    right: 0;
    top: 100%;
    z-index: 1300;
}

.mobile-menu-content[b-uimaesebah] {
    min-width: 280px;
    max-width: 320px;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--mud-palette-surface);
    border-radius: 4px;
    box-shadow: var(--mud-elevation-8);
    max-height: 80vh;
    overflow-y: auto;
    /* iOS momentum scrolling */
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-section[b-uimaesebah] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-label[b-uimaesebah] {
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    margin-bottom: 4px;
}

.mobile-menu-row[b-uimaesebah] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-menu-info[b-uimaesebah] {
    color: var(--mud-palette-text-secondary);
}

.zoom-percentage[b-uimaesebah] {
    min-width: 45px;
    text-align: center;
}

@media (max-width: 768px) {
    .cloudbook-title[b-uimaesebah] {
        font-size: 0.95rem;
        max-width: 55vw;
    }

    .page-indicator[b-uimaesebah] {
        font-size: 0.85rem;
        min-width: auto;
    }

    .desktop-controls[b-uimaesebah] {
        display: none !important;
    }

    .mobile-menu[b-uimaesebah] {
        display: flex;
    }
}

/* Ensure Telerik PDF Viewer fits */
[b-uimaesebah] .k-pdf-viewer {
    border: none;
    background: #101010;
}

[b-uimaesebah] .k-toolbar {
    background: #1D1D1D;
    border-bottom: 1px solid #3a3a3a;
    color: #ffffff;
}

[b-uimaesebah] .k-button-flat {
    color: #ffffff;
}

[b-uimaesebah] .k-button-flat:hover {
    background: #3a3a3a;
}

@media (max-width: 768px) {
    .cloudbook-viewer-container[b-uimaesebah] {
        margin-top: -56px;
        padding-top: 56px;
        padding-top: calc(56px + env(safe-area-inset-top, 0px));
        height: 100vh;
        height: 100dvh;
        height: -webkit-fill-available;
    }

    .pdf-viewer-content[b-uimaesebah] {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
    }

    .pdf-viewer-layout[b-uimaesebah] {
        position: relative;
        flex-direction: column;
        overflow: hidden;
        height: 100%;
    }

    .bookmark-panel[b-uimaesebah] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        max-width: none;
        border-right: none;
        border-bottom: none;
        box-shadow: none;
        max-height: none;
        overflow-y: auto;
        background: #1D1D1D;
        /* iOS momentum scrolling */
        -webkit-overflow-scrolling: touch;
    }

    .viewer-surface[b-uimaesebah] {
        flex: 1 1 auto;
        min-height: 0;
        /* iOS momentum scrolling */
        -webkit-overflow-scrolling: touch;
    }
}
/* /Components/Shared/ErrorPanel.razor.rz.scp.css */
.error-panel[b-0qk43cpspd] {
    margin-bottom: 12px;
    padding: 16px;
    background-color: #2d1b1b;
    border-left: 4px solid #f44336;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-panel-title[b-0qk43cpspd] {
    color: #f87171;
    font-weight: 600;
    margin-bottom: 4px;
}

.error-panel-message[b-0qk43cpspd] {
    color: #d1d5db;
}
/* /Components/Shared/OfficeMemorandumListItem.razor.rz.scp.css */
.om-icon-gi[b-v1yybv6btf] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.om-icon-gi .om-icon[b-v1yybv6btf] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.om-icon-gi .om-gi[b-v1yybv6btf] {
  display: inline-block;
  font-weight: 600;
  text-wrap-mode: wrap;
}
