/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-offz3o4bus] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-offz3o4bus] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Shared/ChatWidget.razor.rz.scp.css */
/* Chat Widget Styles */
.chat-widget[b-yhru8iqqml] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Floating chat toggle button */
.chat-toggle-btn[b-yhru8iqqml] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-toggle-btn:hover[b-yhru8iqqml] {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.chat-unread-badge[b-yhru8iqqml] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #dc3545;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Chat window */
.chat-window[b-yhru8iqqml] {
    width: 370px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chat header */
.chat-header[b-yhru8iqqml] {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
}

.chat-header-btn[b-yhru8iqqml] {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    margin-left: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.chat-header-btn:hover[b-yhru8iqqml] {
    background: rgba(255, 255, 255, 0.2);
}

/* Chat messages area */
.chat-messages[b-yhru8iqqml] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f9fa;
}

.chat-msg[b-yhru8iqqml] {
    max-width: 85%;
    animation: chatFadeIn-b-yhru8iqqml 0.3s ease;
}

@keyframes chatFadeIn-b-yhru8iqqml {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg-assistant[b-yhru8iqqml] {
    align-self: flex-start;
}

.chat-msg-user[b-yhru8iqqml] {
    align-self: flex-end;
}

.chat-msg-content[b-yhru8iqqml] {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-msg-assistant .chat-msg-content[b-yhru8iqqml] {
    background: #fff;
    color: #212529;
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 4px;
}

.chat-msg-user .chat-msg-content[b-yhru8iqqml] {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chat-typing[b-yhru8iqqml] {
    display: flex;
    gap: 4px;
    padding: 12px 18px;
}

.chat-typing span[b-yhru8iqqml] {
    width: 8px;
    height: 8px;
    background: #adb5bd;
    border-radius: 50%;
    animation: chatBounce-b-yhru8iqqml 1.4s infinite ease-in-out both;
}

.chat-typing span:nth-child(1)[b-yhru8iqqml] {
    animation-delay: -0.32s;
}

.chat-typing span:nth-child(2)[b-yhru8iqqml] {
    animation-delay: -0.16s;
}

@keyframes chatBounce-b-yhru8iqqml {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Chat input area */
.chat-input-area[b-yhru8iqqml] {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e9ecef;
    background: #fff;
    gap: 8px;
}

.chat-input[b-yhru8iqqml] {
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus[b-yhru8iqqml] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

.chat-send-btn[b-yhru8iqqml] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.2s;
}

.chat-send-btn:hover:not(:disabled)[b-yhru8iqqml] {
    transform: scale(1.08);
}

.chat-send-btn:disabled[b-yhru8iqqml] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .chat-window[b-yhru8iqqml] {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        bottom: 0;
        right: 0;
        border-radius: 12px;
    }

    .chat-widget[b-yhru8iqqml] {
        bottom: 16px;
        right: 16px;
    }
}
