/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-xp7h86eex8] {
    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: 1000;
}

    #blazor-error-ui .dismiss[b-xp7h86eex8] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kny4clkse2],
.components-reconnect-repeated-attempt-visible[b-kny4clkse2],
.components-reconnect-failed-visible[b-kny4clkse2],
.components-pause-visible[b-kny4clkse2],
.components-resume-failed-visible[b-kny4clkse2],
.components-rejoining-animation[b-kny4clkse2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kny4clkse2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kny4clkse2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kny4clkse2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kny4clkse2],
#components-reconnect-modal.components-reconnect-retrying[b-kny4clkse2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kny4clkse2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kny4clkse2],
#components-reconnect-modal.components-reconnect-failed[b-kny4clkse2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kny4clkse2] {
    display: block;
}


#components-reconnect-modal[b-kny4clkse2] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-kny4clkse2 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kny4clkse2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kny4clkse2 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kny4clkse2]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-kny4clkse2 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kny4clkse2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-kny4clkse2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kny4clkse2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kny4clkse2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kny4clkse2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kny4clkse2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-kny4clkse2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-kny4clkse2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-kny4clkse2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kny4clkse2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kny4clkse2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kny4clkse2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kny4clkse2 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Shared/AiChatButton.razor.rz.scp.css */
.chat-widget[b-bzdnxpd2nx] {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  font-family: inherit;
}

[b-bzdnxpd2nx] .chat-toggle-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
}

[b-bzdnxpd2nx] .chat-panel {
  position: absolute !important;
  bottom: 0;
  right: 0;
  width: 380px !important;
  height: 600px !important;
  max-height: calc(100dvh - 3rem);
  background: white;
  border-radius: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  animation: chat-slide-up-b-bzdnxpd2nx 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chat-slide-up-b-bzdnxpd2nx {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header[b-bzdnxpd2nx] {
  background: linear-gradient(135deg, #0a0a0a, #e11d2e);
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-status-dot[b-bzdnxpd2nx] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
  display: inline-block;
}

.chat-messages[b-bzdnxpd2nx] {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fafafa;
}

.chat-message[b-bzdnxpd2nx] {
  display: flex;
  gap: 0.5rem;
  max-width: 85%;
  animation: chat-fade-in-b-bzdnxpd2nx 0.25s ease;
}

@keyframes chat-fade-in-b-bzdnxpd2nx {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-message-user[b-bzdnxpd2nx] {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-assistant[b-bzdnxpd2nx] {
  align-self: flex-start;
}

[b-bzdnxpd2nx] .chat-message-avatar {
  background: linear-gradient(135deg, #e11d2e, #a10b1a) !important;
  color: white !important;
  align-self: flex-end;
}

[b-bzdnxpd2nx] .chat-message-bubble {
  padding: 0.65rem 0.9rem !important;
  border-radius: 1rem !important;
  font-size: 0.9rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.chat-message-user[b-bzdnxpd2nx]  .chat-message-bubble {
  background: #e11d2e !important;
  color: white !important;
  border-bottom-right-radius: 0.25rem !important;
}

.chat-message-assistant[b-bzdnxpd2nx]  .chat-message-bubble {
  background: white !important;
  color: #0a0a0a;
  border: 1px solid #e5e5e5;
  border-bottom-left-radius: 0.25rem !important;
}

.chat-message-time[b-bzdnxpd2nx] {
  font-size: 0.65rem;
  opacity: 0.6;
  margin-top: 0.35rem;
  font-weight: 500;
}

.chat-message-user .chat-message-time[b-bzdnxpd2nx] {
  text-align: right;
}

.chat-typing[b-bzdnxpd2nx] {
  display: flex !important;
  gap: 4px;
  padding: 0.9rem 1rem !important;
}

.chat-typing span[b-bzdnxpd2nx] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  animation: chat-typing-bounce-b-bzdnxpd2nx 1.3s infinite;
}

.chat-typing span:nth-child(2)[b-bzdnxpd2nx] { animation-delay: 0.15s; }
.chat-typing span:nth-child(3)[b-bzdnxpd2nx] { animation-delay: 0.3s; }

@keyframes chat-typing-bounce-b-bzdnxpd2nx {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-suggestions[b-bzdnxpd2nx] {
  padding: 0 1.25rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: #fafafa;
}

[b-bzdnxpd2nx] .chat-suggestions-label {
  width: 100%;
  color: #6b7280 !important;
  font-weight: 600 !important;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-input[b-bzdnxpd2nx] {
  padding: 0.75rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  gap: 0.5rem;
  background: white;
  flex-shrink: 0;
  align-items: center;
}

.chat-input[b-bzdnxpd2nx]  .mud-input-control,
.chat-input[b-bzdnxpd2nx]  .mud-input-slot {
  flex: 1;
  min-width: 0;
}

.chat-input[b-bzdnxpd2nx]  .mud-input-slot input {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {

  .chat-widget[b-bzdnxpd2nx] {
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .chat-widget.open[b-bzdnxpd2nx] {
    top: calc(64px + 0.5rem);
    left: 0.75rem;
    bottom: 0.75rem;
    right: 0.75rem;
  }

  [b-bzdnxpd2nx] .chat-panel {
    width: 100% !important;
    height: 100% !important;
    max-height: none;
    bottom: auto;
    right: auto;
    top: 0;
    left: 0;
  }
}
