/* /Components/Chat/ChatContainer.razor.rz.scp.css */
@charset "UTF-8";
.chat-title[b-6nzeazjbnw] {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.chat-container[b-6nzeazjbnw] {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 1rem;
  width: 100%;
  max-width: none;
  min-width: 0;
  background: #0f172a;
  border-radius: 12px;
  border: 1px solid #1f2933;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  padding: 0.75rem;
  height: 420px;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.chat-container > *[b-6nzeazjbnw] {
  min-width: 0;
}

/* 📱 MOBILE VERSION — stack vertically */
@media (max-width: 768px) {
  .chat-container[b-6nzeazjbnw] {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0.5rem;
    row-gap: 0.75rem;
  }
  .chat-users-panel[b-6nzeazjbnw] {
    height: auto;
    max-height: 240px;
    overflow-y: auto;
  }
  .chat-panel[b-6nzeazjbnw] {
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }
}
.chat-users-panel[b-6nzeazjbnw] {
  background: radial-gradient(circle at top, #111827 0, #020617 70%);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-users-header[b-6nzeazjbnw] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.chat-users-title[b-6nzeazjbnw] {
  font-weight: 600;
}

.chat-users-count-badge[b-6nzeazjbnw] {
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.6);
  font-size: 0.7rem;
  color: #e5e7eb;
}

.chat-users-list[b-6nzeazjbnw] {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 rgba(15, 23, 42, 0.5);
  flex: 1;
}

.chat-users-list[b-6nzeazjbnw]::-webkit-scrollbar {
  width: 6px;
}

.chat-users-list[b-6nzeazjbnw]::-webkit-scrollbar-track {
  background: transparent;
}

.chat-users-list[b-6nzeazjbnw]::-webkit-scrollbar-thumb {
  background-color: #38bdf8;
  border-radius: 3px;
}

.chat-user-item[b-6nzeazjbnw] {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.chat-user-item:hover[b-6nzeazjbnw] {
  background: rgba(31, 41, 55, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.chat-user-item.selected[b-6nzeazjbnw] {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(34, 197, 94, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.7);
}

.chat-user-avatar[b-6nzeazjbnw] {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
}

.chat-user-info[b-6nzeazjbnw] {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.chat-user-name[b-6nzeazjbnw] {
  font-weight: 500;
  font-size: 0.8rem;
}

.chat-user-status[b-6nzeazjbnw] {
  font-size: 0.7rem;
  color: #9ca3af;
}

.chat-users-empty[b-6nzeazjbnw] {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

.chat-header[b-6nzeazjbnw] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 0.5rem;
}

.chat-header-left[b-6nzeazjbnw] {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.chat-channel-name[b-6nzeazjbnw] {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
}

.chat-users-count[b-6nzeazjbnw] {
  font-size: 0.75rem;
  color: #9ca3af;
}

.chat-panel[b-6nzeazjbnw] {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.chat-messages[b-6nzeazjbnw] {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.5rem;
  background: radial-gradient(circle at top, #1f2937 0, #020617 60%);
  border-radius: 8px;
  overflow-y: auto;
  overflow-x: hidden;
}

.chat-messages[b-6nzeazjbnw]::-webkit-scrollbar {
  width: 6px;
}

.chat-messages[b-6nzeazjbnw]::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages[b-6nzeazjbnw]::-webkit-scrollbar-thumb {
  background-color: #38bdf8;
  border-radius: 3px;
}

.chat-empty-state[b-6nzeazjbnw] {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: center;
}

.chat-message[b-6nzeazjbnw] {
  display: flex;
  margin-bottom: 0.35rem;
}

.chat-message-bubble[b-6nzeazjbnw] {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #0f172a;
  padding: 0.45rem 0.6rem;
  border-radius: 12px;
  max-width: 80%;
  font-size: 0.85rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.75);
  word-wrap: break-word;
  white-space: pre-wrap;
}

.chat-input-row[b-6nzeazjbnw] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.chat-input[b-6nzeazjbnw] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-input:focus[b-6nzeazjbnw] {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

.chat-input:disabled[b-6nzeazjbnw] {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-send-button[b-6nzeazjbnw] {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
  box-shadow: 0 10px 18px rgba(34, 197, 94, 0.35);
}

.chat-send-button:hover:not(:disabled)[b-6nzeazjbnw] {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(34, 197, 94, 0.45);
}

.chat-send-button:active:not(:disabled)[b-6nzeazjbnw] {
  transform: translateY(0);
  box-shadow: 0 8px 14px rgba(34, 197, 94, 0.35);
}

.chat-send-button:disabled[b-6nzeazjbnw] {
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
}

.chat-user-item[b-6nzeazjbnw] {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.chat-user-main[b-6nzeazjbnw] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.chat-user-unread-badge[b-6nzeazjbnw] {
  min-width: 18px;
  padding: 0 6px;
  height: 18px;
  border-radius: 999px;
  background: #ef4444;
  color: #f9fafb;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.6);
}

.chat-users-search[b-6nzeazjbnw] {
  width: 100%;
  padding: 0.4rem 0.6rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #0b1220;
  color: #e5e7eb;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.chat-users-search:focus[b-6nzeazjbnw] {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}
/* /Components/Chat/ChatMessageItem.razor.rz.scp.css */
/* Container for each message */
.chat-message[b-y5i9nntfgl] {
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.45rem;
  gap: 0.4rem;
  max-width: 80%;
}

/* Align own messages to the right */
.chat-message.own[b-y5i9nntfgl] {
  margin-left: auto;
  justify-content: flex-end;
}

/* Align received messages to the left */
.chat-message.other[b-y5i9nntfgl] {
  justify-content: flex-start;
}

/* Avatar styling */
.chat-avatar[b-y5i9nntfgl] {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Bubble container */
.chat-message-bubble[b-y5i9nntfgl] {
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  font-size: 0.85rem;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  overflow-wrap: break-word;
  white-space: pre-wrap;
  position: relative;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Own messages bubble (right) */
.chat-message.own .chat-message-bubble[b-y5i9nntfgl] {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #0f172a;
  border-top-right-radius: 4px;
}

/* Received messages bubble (left) */
.chat-message.other .chat-message-bubble[b-y5i9nntfgl] {
  background: #1e293b;
  color: #e2e8f0;
  border-top-left-radius: 4px;
}

/* Message text */
.chat-message-text[b-y5i9nntfgl] {
  margin-bottom: 0.25rem;
  line-height: 1.25rem;
}

/* Timestamp */
.chat-message-time[b-y5i9nntfgl] {
  align-self: flex-end;
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 0.1rem;
}

/* Hover effect for better modern UI */
.chat-message-bubble:hover[b-y5i9nntfgl] {
  transform: translateY(-1px);
  transition: all 0.15s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
}
/* /Components/Notifications/NotificationItem.razor.rz.scp.css */
.notification-audit-item[b-wrupgfm8b1] {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
  /* Top row: icon | message | info button */
  /* DETAILS COLLAPSIBLE */
}
.notification-audit-item .notification-audit-card[b-wrupgfm8b1] {
  flex: 0 1 720px;
  max-width: 100%;
  background: #020617;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #1f2937;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
}
.notification-audit-item .notification-main-row[b-wrupgfm8b1] {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: flex-start;
  width: 100%;
  column-gap: 0.75rem;
}
.notification-audit-item .notification-main-icon[b-wrupgfm8b1] {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #22c55e, #0ea5e9);
  color: #020617;
  font-size: 0.95rem;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.85);
  margin-right: 5px;
}
.notification-audit-item .notification-main-content[b-wrupgfm8b1] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  padding: 0 0.25rem;
}
.notification-audit-item .notification-main-message[b-wrupgfm8b1] {
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 0.2rem;
}
.notification-audit-item .notification-main-date[b-wrupgfm8b1] {
  font-size: 0.75rem;
  color: #9ca3af;
}
.notification-audit-item .notification-info-button[b-wrupgfm8b1] {
  border: none;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #38bdf8;
  font-size: 1rem;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  margin: auto;
  margin-right: 5px;
}
.notification-audit-item .notification-info-button:hover[b-wrupgfm8b1] {
  transform: translateY(-2px) scale(1.08);
  background: #0f172a;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7), 0 0 16px rgba(34, 197, 94, 0.4);
}
.notification-audit-item .notification-info-button.active[b-wrupgfm8b1] {
  color: #4ade80;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8), 0 0 18px rgba(34, 197, 94, 0.5);
}
.notification-audit-item .notification-details[b-wrupgfm8b1] {
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
  margin-top: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, padding-top 0.22s ease, margin-top 0.22s ease;
  padding-top: 0;
}
.notification-audit-item .notification-details.open[b-wrupgfm8b1] {
  max-height: 650px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 0.45rem;
  margin-top: 0.6rem;
}
.notification-audit-item .notification-audit-meta[b-wrupgfm8b1] {
  margin: 0;
  padding: 0;
}
.notification-audit-item .notification-audit-meta .audit-meta-row[b-wrupgfm8b1] {
  display: flex;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #cbd5f5;
}
.notification-audit-item .notification-audit-meta .audit-meta-row:not(:last-child)[b-wrupgfm8b1] {
  margin-bottom: 0.2rem;
}
.notification-audit-item .notification-audit-meta .audit-meta-row dt[b-wrupgfm8b1] {
  min-width: 70px;
  text-transform: uppercase;
  font-weight: 600;
  color: #64748b;
}
.notification-audit-item .notification-audit-meta .audit-meta-row dd[b-wrupgfm8b1] {
  margin: 0;
}
.notification-audit-item .notification-audit-meta .audit-meta-row .audit-id-tag[b-wrupgfm8b1] {
  margin-left: 0.25rem;
  font-size: 0.78rem;
  color: #64748b;
}
.notification-audit-item .notification-audit-related[b-wrupgfm8b1] {
  margin-top: 0.45rem;
}
.notification-audit-item .notification-audit-related .related-title[b-wrupgfm8b1] {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}
.notification-audit-item .notification-audit-related .related-table[b-wrupgfm8b1] {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
.notification-audit-item .notification-audit-related .related-table th[b-wrupgfm8b1],
.notification-audit-item .notification-audit-related .related-table td[b-wrupgfm8b1] {
  padding: 0.22rem 0.3rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.85);
}
.notification-audit-item .notification-audit-related .related-table th[b-wrupgfm8b1] {
  text-align: left;
  color: #9ca3af;
  font-weight: 500;
}
.notification-audit-item .notification-audit-related .related-table td[b-wrupgfm8b1] {
  color: #e5e7eb;
}
/* /Components/Notifications/NotificationsContariner.razor.rz.scp.css */
@charset "UTF-8";
.chat-title[b-eo6pzqgu07] {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.notifications-container[b-eo6pzqgu07] {
  left: 0;
  max-width: 90vw;
  height: calc(100vh - 1rem);
  max-height: 80vh;
  overflow: hidden;
  background: #0f172a;
  border-radius: 0;
  border: none;
  padding: 1rem;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.notifications-container > *[b-eo6pzqgu07] {
  min-width: 0;
}

/* 📱 MOBILE VERSION — stack vertically */
@media (max-width: 768px) {
  .notifications-container[b-eo6pzqgu07] {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0.5rem;
    row-gap: 0.75rem;
  }
  .chat-users-panel[b-eo6pzqgu07] {
    height: auto;
    max-height: 240px;
    overflow-y: auto;
  }
  .chat-panel[b-eo6pzqgu07] {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    max-width: 100%;
  }
}
.chat-users-panel[b-eo6pzqgu07] {
  background: radial-gradient(circle at top, #111827 0, #020617 70%);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-users-header[b-eo6pzqgu07] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.chat-users-title[b-eo6pzqgu07] {
  font-weight: 600;
}

.chat-users-count-badge[b-eo6pzqgu07] {
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.6);
  font-size: 0.7rem;
  color: #e5e7eb;
}

.chat-users-list[b-eo6pzqgu07] {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 rgba(15, 23, 42, 0.5);
  flex: 1;
}

.chat-users-list[b-eo6pzqgu07]::-webkit-scrollbar {
  width: 6px;
}

.chat-users-list[b-eo6pzqgu07]::-webkit-scrollbar-track {
  background: transparent;
}

.chat-users-list[b-eo6pzqgu07]::-webkit-scrollbar-thumb {
  background-color: #38bdf8;
  border-radius: 3px;
}

.chat-user-item[b-eo6pzqgu07] {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.chat-user-item:hover[b-eo6pzqgu07] {
  background: rgba(31, 41, 55, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.chat-user-item.selected[b-eo6pzqgu07] {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(34, 197, 94, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.7);
}

.chat-user-avatar[b-eo6pzqgu07] {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
}

.chat-user-info[b-eo6pzqgu07] {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.chat-user-name[b-eo6pzqgu07] {
  font-weight: 500;
  font-size: 0.8rem;
}

.chat-user-status[b-eo6pzqgu07] {
  font-size: 0.7rem;
  color: #9ca3af;
}

.chat-users-empty[b-eo6pzqgu07] {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

.chat-header[b-eo6pzqgu07] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 0.5rem;
}

.chat-header-left[b-eo6pzqgu07] {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.chat-channel-name[b-eo6pzqgu07] {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
}

.chat-users-count[b-eo6pzqgu07] {
  font-size: 0.75rem;
  color: #9ca3af;
}

.chat-panel[b-eo6pzqgu07] {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 75vh;
}

.chat-messages[b-eo6pzqgu07] {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  max-height: 100%;
  min-width: 0;
  width: 100%;
  padding: 0.5rem;
  background: radial-gradient(circle at top, #1f2937 0, #020617 60%);
  border-radius: 8px;
  overflow-y: auto;
  overflow-x: hidden;
}

.chat-messages[b-eo6pzqgu07]::-webkit-scrollbar {
  width: 6px;
}

.chat-messages[b-eo6pzqgu07]::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages[b-eo6pzqgu07]::-webkit-scrollbar-thumb {
  background-color: #38bdf8;
  border-radius: 3px;
}

.chat-empty-state[b-eo6pzqgu07] {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: center;
}

.chat-message[b-eo6pzqgu07] {
  display: flex;
  margin-bottom: 0.35rem;
}

.chat-message-bubble[b-eo6pzqgu07] {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #0f172a;
  padding: 0.45rem 0.6rem;
  border-radius: 12px;
  max-width: 80%;
  font-size: 0.85rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.75);
  word-wrap: break-word;
  white-space: pre-wrap;
}

.chat-input-row[b-eo6pzqgu07] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.chat-input[b-eo6pzqgu07] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-input:focus[b-eo6pzqgu07] {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

.chat-input:disabled[b-eo6pzqgu07] {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-send-button[b-eo6pzqgu07] {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
  box-shadow: 0 10px 18px rgba(34, 197, 94, 0.35);
}

.chat-send-button:hover:not(:disabled)[b-eo6pzqgu07] {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(34, 197, 94, 0.45);
}

.chat-send-button:active:not(:disabled)[b-eo6pzqgu07] {
  transform: translateY(0);
  box-shadow: 0 8px 14px rgba(34, 197, 94, 0.35);
}

.chat-send-button:disabled[b-eo6pzqgu07] {
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
}

.chat-user-item[b-eo6pzqgu07] {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.chat-user-main[b-eo6pzqgu07] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.chat-user-unread-badge[b-eo6pzqgu07] {
  min-width: 18px;
  padding: 0 6px;
  height: 18px;
  border-radius: 999px;
  background: #ef4444;
  color: #f9fafb;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.6);
}

.chat-users-search[b-eo6pzqgu07] {
  width: 100%;
  padding: 0.4rem 0.6rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #0b1220;
  color: #e5e7eb;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.chat-users-search:focus[b-eo6pzqgu07] {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

.notifications-filter[b-eo6pzqgu07] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  width: 100%;
}

.notifications-search-input[b-eo6pzqgu07] {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
  color: #e5e7eb;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  max-width: 280px;
}
.notifications-search-input:focus[b-eo6pzqgu07] {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

.notifications-date-input[b-eo6pzqgu07] {
  min-width: 150px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
  color: #e5e7eb;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  outline: none;
}

.notifications-clear-button[b-eo6pzqgu07] {
  border: none;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.2);
  color: #e5e7eb;
  transition: background 0.15s ease, transform 0.1s ease;
}
.notifications-clear-button:hover[b-eo6pzqgu07] {
  background: rgba(248, 250, 252, 0.16);
  transform: translateY(-1px);
}
.notifications-clear-button:active[b-eo6pzqgu07] {
  transform: translateY(0);
}

/* ---------------------------------------------------------
   📅 Animated Date Field with Floating Label
   ---------------------------------------------------------*/
.notifications-date-field[b-eo6pzqgu07] {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.9rem;
  min-width: 190px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgb(15, 23, 42) 0, rgba(15, 23, 42, 0.96) 40%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.5);
  /* base subtle glow */
  box-shadow: 0 0 0 1px rgb(15, 23, 42);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* 🔥 Animated border lights when focused */
@keyframes notifications-border-glow-b-eo6pzqgu07 {
  0% {
    box-shadow: 0 0 0 1px rgb(15, 23, 42), 0 0 6px 0 rgba(56, 189, 248, 0);
    border-color: rgba(56, 189, 248, 0.4);
  }
  50% {
    box-shadow: 0 0 0 1px rgb(15, 23, 42), 0 0 14px 3px rgba(56, 189, 248, 0.75), 0 0 24px 6px rgba(34, 197, 94, 0.5);
    border-color: rgba(34, 197, 94, 0.9);
  }
  100% {
    box-shadow: 0 0 0 1px rgb(15, 23, 42), 0 0 6px 0 rgba(56, 189, 248, 0);
    border-color: rgba(56, 189, 248, 0.4);
  }
}
.notifications-date-field:focus-within[b-eo6pzqgu07] {
  background: radial-gradient(circle at top, rgb(15, 23, 42) 0, rgba(15, 23, 42, 0.96) 35%, rgba(8, 47, 73, 0.95) 100%);
  animation: notifications-border-glow-b-eo6pzqgu07 1.8s ease-in-out infinite;
}

/* 🏷 Floating label */
.notifications-date-label[b-eo6pzqgu07] {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 0.25rem;
  font-size: 0.78rem;
  color: #9ca3af;
  pointer-events: none;
  height: 2rem;
  width: 130px;
  vertical-align: central;
  border-radius: 15px;
  align-content: center;
  background: radial-gradient(circle at top, #020617 0, #020617 50%, rgba(2, 6, 23, 0.9) 100%);
  transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
}

/* Label when focused or has value */
.notifications-date-field:focus-within .notifications-date-label[b-eo6pzqgu07],
.notifications-date-field.has-value .notifications-date-label[b-eo6pzqgu07] {
  top: -0.5rem;
  transform: translateY(0);
  font-size: 0.68rem;
  color: #38bdf8;
  padding: 0 3px;
  height: 1rem;
  width: fit-content;
  opacity: 0.8;
  border-radius: 5px;
}

/* Date input itself */
.notifications-date-input[b-eo6pzqgu07] {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: #e5e7eb;
  font-size: 0.8rem;
  padding: 0.25rem 0.1rem 0.15rem 0.1rem;
  margin-top: 0.4rem;
}

/* Customize the calendar icon */
.notifications-date-input[b-eo6pzqgu07]::-webkit-calendar-picker-indicator {
  filter: invert(75%) sepia(60%) saturate(500%) hue-rotate(160deg);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.notifications-date-input[b-eo6pzqgu07]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ✕ Clear button */
.notifications-date-clear[b-eo6pzqgu07] {
  border: none;
  background: transparent;
  color: #fca5a5;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: 0.1rem;
  margin-top: 0.25rem;
  opacity: 0.8;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.notifications-date-clear:hover[b-eo6pzqgu07] {
  opacity: 1;
  transform: scale(1.15);
}

.notifications-count[b-eo6pzqgu07] {
  margin-left: auto;
  font-size: 0.8rem;
  color: #9ca3af;
  white-space: nowrap;
}
/* /Components/PageHeader.razor.rz.scp.css */
.subtitleText[b-n81dqoxg6f] {
  font-family: "Drepoen";
  font-size: 1.6em;
  color: #00CCFF;
  margin-left: 11px;
}
@media (max-width: 500px) {
  .subtitleText[b-n81dqoxg6f] {
    font-size: 1.1em;
  }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Root layout container */
.page[b-8tcqp0od68] {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #303030, #222222 40%, #262626);
    color: #d3d3d3;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Sidebar */
.sidebar[b-8tcqp0od68] {
    width: 260px;
    background: linear-gradient(180deg, #303030 0%, #1f1f1f 55%, #181818 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 6px 0 18px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* Main area (top bar + content) */
main[b-8tcqp0od68] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top left, #00ccff22, transparent 60%), radial-gradient(circle at bottom right, #fc00fc22, transparent 60%), #252525;
}

/* Top row (header bar) */
.top-row[b-8tcqp0od68] {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 5;
}

    /* Top-bar link */
    .top-row a[b-8tcqp0od68] {
        color: #d3d3d3;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 500;
        padding: 0.35rem 0.8rem;
        border-radius: 999px;
        border: 1px solid rgba(211, 211, 211, 0.25);
        transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
    }

        .top-row a:hover[b-8tcqp0od68] {
            background: linear-gradient(135deg, #00ccff, #fc00fc);
            color: #303030;
            border-color: transparent;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
        }

/* Main content */
.content[b-8tcqp0od68] {
    flex: 1;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    width: 90%;
    margin: 0 auto;
    color: #d3d3d3;
}

    /* Optional: make headings and text match the theme */
    .content h1[b-8tcqp0od68],
    .content h2[b-8tcqp0od68],
    .content h3[b-8tcqp0od68],
    .content h4[b-8tcqp0od68] {
        color: #ffffff;
    }

/* ====== NavMenu styling hooks (works with default Blazor NavMenu) ====== */

/* Container */
.sidebar .nav-item[b-8tcqp0od68] {
    margin: 0.15rem 0;
}

/* Links inside sidebar */
.sidebar .nav-link[b-8tcqp0od68] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #d3d3d3;
    font-size: 0.9rem;
    padding: 0.45rem 0.95rem;
    margin: 0.1rem 0.5rem;
    border-radius: 9px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

    /* Hover state */
    .sidebar .nav-link:hover[b-8tcqp0od68] {
        background: #363636;
        border-color: rgba(255, 255, 255, 0.08);
        transform: translateX(2px);
    }

    /* Active / current page */
    .sidebar .nav-link.active[b-8tcqp0od68],
    .sidebar .nav-link.active:hover[b-8tcqp0od68] {
        background: linear-gradient(135deg, #00ccff, #fc00fc);
        color: #303030;
        border-color: transparent;
        font-weight: 600;
    }

    /* If you use icons in NavMenu (e.g., <span class="oi oi-home"></span>) */
    .sidebar .nav-link .oi[b-8tcqp0od68] {
        font-size: 0.95rem;
    }

/* Sidebar header / brand (if present in NavMenu) */
.sidebar .navbar-brand[b-8tcqp0od68] {
    padding: 1rem 1.25rem 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
}

/* Divider lines in NavMenu */
.sidebar hr[b-8tcqp0od68] {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 0.75rem 1rem;
}

/* ====== Responsive behaviour ====== */

@media (max-width: 768px) {
    .page[b-8tcqp0od68] {
        flex-direction: column;
    }

    .sidebar[b-8tcqp0od68] {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    }

    main[b-8tcqp0od68] {
        min-height: calc(100vh - 56px);
    }

    .sidebar .nav-link[b-8tcqp0od68] {
        margin: 0.25rem 0.35rem;
        padding: 0.4rem 0.75rem;
        white-space: nowrap;
    }

    .content[b-8tcqp0od68] {
        padding-inline: 1.25rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Top bar */
.mobile-navbar[b-p9ij9opj9s] {
    background: linear-gradient(135deg, #303030, #222222);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    /* Brand */
    .mobile-navbar .navbar-brand[b-p9ij9opj9s] {
        font-weight: 600;
        letter-spacing: 0.05em;
        color: #d3d3d3;
    }

    /* Toggler */
    .mobile-navbar .navbar-toggler[b-p9ij9opj9s] {
        padding: 0.25rem 0.5rem;
    }

/* Main slide-down area */
.nav-scrollable[b-p9ij9opj9s] {
    background: #2b2b2b;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-menu-open[b-p9ij9opj9s] {
    display: block;
}

/* Nav items */
.nav-link-mobile[b-p9ij9opj9s] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    margin: 0.15rem 0.5rem;
    border-radius: 12px;
    color: #d3d3d3;
    text-decoration: none;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    font-size: 1rem;
    transition: background .15s ease, color .15s ease, transform .12s ease;
}

/* Icons */
.nav-icon[b-p9ij9opj9s] {
    font-size: 1.25rem;
}

/* Hover */
.nav-link-mobile:hover[b-p9ij9opj9s] {
    background: #363636;
    border-color: rgba(255,255,255,0.08);
    transform: translateX(2px);
}

/* Active route */
.nav-link-mobile.active[b-p9ij9opj9s],
.nav-link-mobile.active:hover[b-p9ij9opj9s] {
    background: linear-gradient(135deg, #00ccff, #fc00fc);
    color: #303030;
    font-weight: 600;
}

/* Divider */
.nav-divider[b-p9ij9opj9s] {
    border-color: rgba(255,255,255,0.08);
    margin: 0.5rem 1rem;
}

/* Logout button */
.nav-logout-btn[b-p9ij9opj9s] {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    color: #ffb3b3;
    text-align: left;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background .15s ease, transform .12s ease;
}

    .nav-logout-btn:hover[b-p9ij9opj9s] {
        background: rgba(255,80,80,0.15);
        transform: translateX(2px);
    }

/* Mobile size */
@media (max-width: 768px) {
    .nav-scrollable[b-p9ij9opj9s] {
        width: 100%;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.home-page[b-g59cqe2lgt] {
  min-height: 100vh;
  background: linear-gradient(135deg, #303030, #222222 40%, #262626);
  color: #d3d3d3;
}

/* Hero card */
.home-hero[b-g59cqe2lgt] {
  background: radial-gradient(circle at top left, rgba(0, 204, 255, 0.1333333333), transparent 60%), radial-gradient(circle at bottom right, rgba(252, 0, 252, 0.1333333333), transparent 60%), #2b2b2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-title[b-g59cqe2lgt] {
  font-size: 1.9rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-subtitle[b-g59cqe2lgt] {
  color: #b0b0b0;
  font-size: 0.95rem;
}

.status-badge[b-g59cqe2lgt] {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Generic cards */
.home-card[b-g59cqe2lgt] {
  background: #2f2f2f;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-card .card-title[b-g59cqe2lgt] {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

/* Accent text */
.text-accent[b-g59cqe2lgt] {
  color: #00ccff;
  font-weight: 600;
}

/* Gradient button reused from Login page */
.btn-gradient[b-g59cqe2lgt] {
  background: linear-gradient(135deg, #00ccff, #fc00fc);
  border: none;
  color: #303030;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gradient:hover[b-g59cqe2lgt] {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
}

.btn-gradient:active[b-g59cqe2lgt] {
  transform: translateY(0);
}

/* Keyboard-style chips */
.kbd[b-g59cqe2lgt] {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: #3a3a3a;
  border: 1px solid #555;
  font-size: 0.75rem;
}
/* /Pages/Login.razor.rz.scp.css */
/* Clean background using subtle gradients */
.login-page[b-5s9osquag9] {
  min-height: 100vh;
  background: linear-gradient(135deg, #303030, #1f1f1f 40%, #2a2a2a);
}

/* Card container */
.login-card[b-5s9osquag9] {
  width: 100%;
  max-width: 420px;
  background: #2b2b2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo circle */
.logo-circle[b-5s9osquag9] {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ccff, #fc00fc);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text[b-5s9osquag9] {
  color: #303030;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Gradient button */
.btn-gradient[b-5s9osquag9] {
  background: linear-gradient(135deg, #00ccff, #fc00fc);
  border: none;
  color: #303030;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gradient:hover[b-5s9osquag9] {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
}

.btn-gradient:active[b-5s9osquag9] {
  transform: translateY(0);
}

/* Input styling override for dark theme */
.form-control[b-5s9osquag9] {
  background: #3a3a3a;
  border: 1px solid #555;
  color: #d3d3d3;
}

.form-control:focus[b-5s9osquag9] {
  border-color: #00ccff;
  box-shadow: 0 0 0 0.2rem rgba(0, 204, 255, 0.25);
  background: #353535;
}

/* Offline alert formatting */
.alert-info[b-5s9osquag9] {
  background: rgba(0, 204, 255, 0.12);
  border-color: rgba(0, 204, 255, 0.4);
  color: #bff3ff;
}

.badge.bg-info[b-5s9osquag9] {
  background: #00ccff !important;
  color: #303030 !important;
}
