/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-kcye9g256f] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

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

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

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

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

    .top-row[b-kcye9g256f], article[b-kcye9g256f] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/Nav.razor.rz.scp.css */
/* Base styling for the navbar */
/*.navbar-vertical {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 15.875rem;
    flex-direction: column;
    border-right: 1px solid var(--phoenix-border-color);
    background-color: var(--phoenix-navbar-vertical-bg-color, var(--phoenix-body-bg));
    z-index: 1025;
    transition: width 0.2s ease, transform 0.2s ease;
}*/

/* Styling for navbar content */
/*.navbar-vertical-content {
    width: 100%;
    overflow-y: auto;
    position: relative;
    padding-top: 0.5rem;
    height: calc(100vh - 3rem);
}*/

/* Navbar label styling */
/*.navbar-vertical-label {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    color: var(--phoenix-navbar-vertical-label-color, var(--phoenix-gray-500));
    font-size: 0.8rem;
    padding-left: 1rem;
    font-weight: 500;
}*/

/* First nav-item label doesn't need top margin */
/*.navbar-vertical-content .nav-item:first-child .navbar-vertical-label {
    margin-top: 0;
}*/

/* Dividing line */
/*.navbar-vertical-line {
    margin: 0.25rem 0 0.5rem;
    border-top: 1px solid var(--phoenix-navbar-vertical-hr-color, var(--phoenix-gray-200));
    opacity: 0.25;
}*/

/* Dropdown indicator icon */
/*.dropdown-indicator-icon-wrapper {
    height: 0.5rem;
    width: 0.5rem;
    position: relative;
    margin-right: 0.5rem;
}

.dropdown-indicator-icon {
    transition: transform 0.2s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 0.8rem;
    width: 0.8rem;
    color: var(--phoenix-body-color);
}

[aria-expanded="true"] .dropdown-indicator-icon {
    transform: translateY(-50%) rotate(90deg);
}*/

/* Nav item wrapper */
/*.nav-item-wrapper {
    position: relative;
}*/

/* Nav links */
/*.nav-link {
    padding: 0.5rem 1rem;
    margin: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 400;
    display: block;
    color: var(--phoenix-navbar-vertical-link-color, var(--phoenix-body-color));
}*/

/* Link hover state */
/*.nav-link:hover {
    background-color: var(--phoenix-navbar-vertical-link-hover-bg, var(--phoenix-gray-100));
    color: var(--phoenix-navbar-vertical-link-hover-color, var(--phoenix-body-color));
}*/

/* Active link */
/*.nav-link.active {
    background-color: var(--phoenix-primary);
    color: white;
}

.nav-link.active .nav-link-icon {
    color: inherit !important;
}*/

/* Icon styling */
/*.nav-link-icon {
    display: inline-flex;
    align-items: center;
    width: 1.5rem;
    margin-right: 0.625rem;
    text-align: center !important;
    justify-content: center;
    flex-shrink: 0;
    color: var(--phoenix-body-color);
}

.nav-link-icon svg {
    height: 1rem;
    width: 1rem;
    stroke-width: 2;
}*/

/* Text styling */
/*.nav-link-text {
    vertical-align: middle;
}*/

/* Dropdown menu for navs */
/*.parent-wrapper .nav.parent {
    padding-left: 0;
    margin-bottom: 0;
}

.parent-wrapper .nav.parent .nav-item .nav-link {
    padding-left: 2.5rem !important;
}*/

/* Navbar vertical footer - exactly as in Phoenix theme */
/*.navbar-vertical-footer {
    border-top: 1px solid var(--phoenix-border-color);
    padding: 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3rem;
    background-color: var(--phoenix-body-bg);
}*/

/* Toggle button - exactly matching Phoenix theme */
/*.navbar-vertical-toggle {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--phoenix-body-color);
}

.navbar-vertical-toggle:hover {
    background-color: var(--phoenix-gray-100);
}

.navbar-vertical-toggle .uil-arrow-from-right {
    display: none;
}*/

/* Collapsed sidebar styles */
/*:global(body.navbar-collapsed) .navbar-vertical {
    width: 4.5rem !important;
}

:global(body.navbar-collapsed) .navbar-vertical-content {
    overflow: visible;
}

:global(body.navbar-collapsed) .nav-link-text,
:global(body.navbar-collapsed) .navbar-vertical-label,
:global(body.navbar-collapsed) .navbar-vertical-line,
:global(body.navbar-collapsed) .dropdown-indicator-icon-wrapper,
:global(body.navbar-collapsed) .navbar-vertical-footer-text {
    display: none !important;
}

:global(body.navbar-collapsed) .nav-link-icon {
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
}

:global(body.navbar-collapsed) :global(.content) {
    margin-left: 4.5rem !important;
    width: calc(100% - 4.5rem) !important;
}

:global(body.navbar-collapsed) .navbar-vertical-toggle .uil-left-arrow-to-left {
    display: none;
}

:global(body.navbar-collapsed) .navbar-vertical-toggle .uil-arrow-from-right {
    display: inline;
}*/

/* Mobile responsiveness */
/*@media (max-width: 991.98px) {
    .navbar-vertical {
        transform: translateX(-100%);
    }
    
    :global(body.navbar-vertical-collapsed) .navbar-vertical {
        transform: translateX(0);
    }
    
    :global(body.navbar-collapsed) :global(.content) {
        margin-left: 0 !important;
        width: 100% !important;
    }
}*/ 
/* /Layout/Sidebar.razor.rz.scp.css */
.navbar-toggler[b-sfe71z016j] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-sfe71z016j] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.bi[b-sfe71z016j] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-sfe71z016j] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-sfe71z016j] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-sfe71z016j] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

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

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

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

    .nav-item[b-sfe71z016j]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

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

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

.nav-scrollable[b-sfe71z016j] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-sfe71z016j] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-sfe71z016j] {
        display: none;
    }

    .nav-scrollable[b-sfe71z016j] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Chat.razor.rz.scp.css */
.chat-page-container[b-9fjkser2t5] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.chat-header[b-9fjkser2t5] {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.chat-messages-container[b-9fjkser2t5] {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    background-color: var(--phoenix-body-bg, #f9fafd);
    max-height: calc(100vh - 78px - 131px - 100px);
}

.chat-messages-inner[b-9fjkser2t5] {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.chat-input-container[b-9fjkser2t5] {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

.chat-container[b-9fjkser2t5] {
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.typing-indicator[b-9fjkser2t5] {
    display: inline-flex;
    align-items: center;
    margin-top: 5px;
}

.typing-indicator span[b-9fjkser2t5] {
    height: 8px;
    width: 8px;
    float: left;
    margin: 0 1px;
    background-color: #9E9EA1;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
    animation: typing-b-9fjkser2t5 1s infinite;
}

.typing-indicator span:nth-of-type(1)[b-9fjkser2t5] {
    animation-delay: 0s;
}

.typing-indicator span:nth-of-type(2)[b-9fjkser2t5] {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-of-type(3)[b-9fjkser2t5] {
    animation-delay: 0.4s;
}

.chat-message[b-9fjkser2t5] {
    animation: messageAppear-b-9fjkser2t5 0.3s ease-out;
}

.sent-message-content[b-9fjkser2t5] {
    animation: slideFadeFromRight-b-9fjkser2t5 0.3s ease-out;
}

.received-message-content[b-9fjkser2t5] {
    animation: slideFadeFromLeft-b-9fjkser2t5 0.3s ease-out;
}

/* Chart container styles */
.chart-container[b-9fjkser2t5] {
    background-color: var(--phoenix-card-bg);
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    overflow: hidden;
    min-height: 300px;
    max-height: 400px;
    transition: all 0.2s ease-in-out;
}

.chart-container:hover[b-9fjkser2t5] {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

@keyframes typing-b-9fjkser2t5 {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes messageAppear-b-9fjkser2t5 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideFadeFromRight-b-9fjkser2t5 {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFadeFromLeft-b-9fjkser2t5 {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in[b-9fjkser2t5] {
    animation: fadeIn-b-9fjkser2t5 0.5s ease-in-out;
}

@keyframes fadeIn-b-9fjkser2t5 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Debug log styles */
.debug-log-container[b-9fjkser2t5] {
    max-height: 60vh;
    overflow-y: auto;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 0.85rem;
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 10px;
    border-radius: 4px;
}

.debug-log-entry[b-9fjkser2t5] {
    padding: 3px 0;
    line-height: 1.4;
    border-bottom: 1px solid #333;
    white-space: pre-wrap;
    word-break: break-word;
}

.log-timestamp[b-9fjkser2t5] {
    color: #569cd6;
    margin-right: 8px;
}

.log-level[b-9fjkser2t5] {
    font-weight: bold;
    margin-right: 8px;
}

.log-source[b-9fjkser2t5] {
    color: #4ec9b0;
    margin-right: 8px;
}

.debug-log-entry.information .log-level[b-9fjkser2t5] {
    color: #3a9bdc;
}

.debug-log-entry.warning .log-level[b-9fjkser2t5] {
    color: #e5c07b;
}

.debug-log-entry.error .log-level[b-9fjkser2t5] {
    color: #e06c75;
}

.debug-log-entry.debug .log-level[b-9fjkser2t5] {
    color: #7f848e;
}

.debug-log-entry.trace .log-level[b-9fjkser2t5] {
    color: #7f848e;
}

[class^="language-echarts-"][b-9fjkser2t5] {
    display: none;
}

/* Image expansion and hover effects */
.image-container[b-9fjkser2t5] {
    display: inline-block;
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
    transition: transform 0.2s ease-in-out;
}

.image-container:hover[b-9fjkser2t5] {
    transform: scale(1.02);
}

.expandable-image[b-9fjkser2t5] {
    transition: all 0.3s ease-in-out;
    display: block;
    width: 100%;
    height: auto;
}

.expandable-image:hover[b-9fjkser2t5] {
    filter: brightness(0.9);
}

/* Image expansion modal styles */
#imageExpansionModal .modal-body[b-9fjkser2t5] {
    background-color: #f8f9fa;
    max-height: 80vh;
    overflow-y: auto;
}

#imageExpansionModal .modal-dialog[b-9fjkser2t5] {
    max-width: 90vw;
}

#expandedImage[b-9fjkser2t5] {
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-container:hover[b-9fjkser2t5] {
        transform: none;
    }
    
    #imageExpansionModal .modal-dialog[b-9fjkser2t5] {
        max-width: 95vw;
        margin: 0.5rem;
    }
    
    #expandedImage[b-9fjkser2t5] {
        max-height: 60vh;
    }
}

/* Animation for image appearance */
@keyframes imageAppear-b-9fjkser2t5 {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.expandable-image[b-9fjkser2t5] {
    animation: imageAppear-b-9fjkser2t5 0.4s ease-out;
}

.status-circle[b-9fjkser2t5] {
    color: #a9cf38;
}


