/* /Components/Layout/BottomNav.razor.rz.scp.css */
.bottom-nav[b-lwewavk0r2] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    border-top: 1px solid #f0f0f0;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item[b-lwewavk0r2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8e90a6; /* Neutral gray */
    font-size: 0.7rem;
    font-weight: 500;
    width: 100%;
    height: 100%;
    transition: color 0.2s ease;
}

.nav-item:hover[b-lwewavk0r2] {
    background-color: rgba(0,0,0,0.02);
}

.nav-item.active[b-lwewavk0r2] {
    color: var(--color-primary-magenta, #d63384);
}

.nav-item .icon[b-lwewavk0r2] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.nav-item .icon svg[b-lwewavk0r2] {
    width: 24px;
    height: 24px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.mobile-layout[b-6krmw85rh7] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f8f9fa;
    max-width: 100vw;
    overflow-x: hidden;
}

.content-area[b-6krmw85rh7] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    padding-bottom: 80px; /* Space for BottomNav */
    /* Enhance scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

/* Error UI */
#blazor-error-ui[b-6krmw85rh7] {
    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: 2000;
}

    #blazor-error-ui .dismiss[b-6krmw85rh7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6y1qes3yt9] {
    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-6y1qes3yt9] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.bi[b-6y1qes3yt9] {
    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-6y1qes3yt9] {
    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-6y1qes3yt9] {
    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-6y1qes3yt9] {
    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-6y1qes3yt9] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-6y1qes3yt9]  .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-6y1qes3yt9]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

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

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

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

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

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

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/SmartConsultChat.razor.rz.scp.css */
.smart-consult-chat[b-xcqscgyeir] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-height: 500px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
}

.smart-consult-chat:not(.open)[b-xcqscgyeir] {
    max-height: 60px;
    cursor: pointer;
}

.chat-header[b-xcqscgyeir] {
    padding: 16px 20px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3[b-xcqscgyeir] {
    margin: 0;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.close-btn[b-xcqscgyeir] {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-btn:hover[b-xcqscgyeir] {
    opacity: 1;
}

.chat-body[b-xcqscgyeir] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 340px;
}

.message[b-xcqscgyeir] {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    animation: slideIn-b-xcqscgyeir 0.3s ease;
}

@keyframes slideIn-b-xcqscgyeir {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.assistant[b-xcqscgyeir] {
    align-self: flex-start;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #e0e0e0;
    border-bottom-left-radius: 4px;
}

.message.user[b-xcqscgyeir] {
    align-self: flex-end;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-content[b-xcqscgyeir] {
    font-size: 0.9rem;
    line-height: 1.5;
}

.message-time[b-xcqscgyeir] {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 4px;
    text-align: right;
}

.message.loading[b-xcqscgyeir] {
    background: transparent;
    border: none;
    padding: 8px;
}

.typing-indicator[b-xcqscgyeir] {
    display: flex;
    gap: 4px;
}

.typing-indicator span[b-xcqscgyeir] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    animation: bounce-b-xcqscgyeir 1.4s infinite;
}

.typing-indicator span:nth-child(2)[b-xcqscgyeir] {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3)[b-xcqscgyeir] {
    animation-delay: 0.4s;
}

@keyframes bounce-b-xcqscgyeir {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.chat-footer[b-xcqscgyeir] {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 8px;
}

.chat-footer input[b-xcqscgyeir] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.chat-footer input:focus[b-xcqscgyeir] {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.1);
}

.chat-footer input[b-xcqscgyeir]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-footer button[b-xcqscgyeir] {
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.chat-footer button:hover:not(:disabled)[b-xcqscgyeir] {
    transform: scale(1.05);
}

.chat-footer button:disabled[b-xcqscgyeir] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scrollbar styling */
.chat-body[b-xcqscgyeir]::-webkit-scrollbar {
    width: 6px;
}

.chat-body[b-xcqscgyeir]::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body[b-xcqscgyeir]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.chat-body[b-xcqscgyeir]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
