/* ============================================
   Chat Widget Styles
   ============================================ */

/* FAB (Floating Action Button) */
.chat-widget-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #008080;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1090;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-widget-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 128, 128, 0.5);
}

.chat-widget-fab.hidden {
  display: none;
}

/* Chat Panel */
.chat-widget-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  height: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 1091;
  overflow: hidden;
  animation: chatSlideUp 0.25s ease-out;
}

.chat-widget-panel.open {
  display: flex;
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.chat-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: #008080;
  color: #fff;
  flex-shrink: 0;
}

.chat-widget-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-widget-header-actions {
  display: flex;
  gap: 4px;
}

.chat-widget-header-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background-color 0.15s ease;
}

.chat-widget-header-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Messages Area */
.chat-widget-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Welcome message */
.chat-widget-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px;
  color: #6c757d;
}

.chat-widget-welcome i {
  color: #008080;
  margin-bottom: 12px;
}

.chat-widget-welcome p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Suggestion Chips */
.chat-widget-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 0 8px;
}

.chat-widget-chip {
  background: transparent;
  border: 1px solid #008080;
  color: #008080;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.chat-widget-chip:hover {
  background-color: #008080;
  color: #fff;
}

/* Tool Indicator */
.chat-widget-tool-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #008080;
  font-size: 0.7rem;
  padding: 2px 0;
  align-self: flex-start;
}

.chat-widget-tool-indicator i {
  font-size: 0.8rem;
}

/* Message Bubbles */
.chat-widget-msg {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.chat-widget-msg.user {
  align-self: flex-end;
}

.chat-widget-msg.assistant {
  align-self: flex-start;
}

.chat-widget-msg .bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-widget-msg.user .bubble {
  background-color: #f0f0f0;
  color: #333;
  border-bottom-right-radius: 4px;
}

.chat-widget-msg.assistant .bubble {
  background-color: rgba(0, 128, 128, 0.1);
  color: #333;
  border-bottom-left-radius: 4px;
}

/* Typing Indicator */
.chat-widget-typing {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  padding: 10px 14px;
  background-color: rgba(0, 128, 128, 0.1);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
}

.chat-widget-typing .dot {
  width: 8px;
  height: 8px;
  background-color: #008080;
  border-radius: 50%;
  animation: chatTypingBounce 1.2s infinite ease-in-out;
}

.chat-widget-typing .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-widget-typing .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatTypingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Input Bar */
.chat-widget-input-bar {
  padding: 12px 16px;
  border-top: 1px solid #e9ecef;
  flex-shrink: 0;
}

/* File attachment chips container */
.chat-widget-file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 10px;
}

/* File attachment chip (staged file before sending) */
.chat-widget-file-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 10px;
  background-color: rgba(0, 128, 128, 0.08);
  border: 1px solid rgba(0, 128, 128, 0.25);
  border-radius: 8px;
  font-size: 0.78rem;
  color: #333;
  max-width: 100%;
}

.chat-widget-file-chip i.bx-file {
  color: #008080;
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-widget-file-chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.chat-widget-file-chip-remove {
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.chat-widget-file-chip-remove:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: #333;
}

.chat-widget-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-widget-input {
  flex: 1;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.chat-widget-input:focus {
  border-color: #008080;
  box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.15);
}

.chat-widget-send-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background-color: #008080;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.chat-widget-send-btn:hover {
  background-color: #006d6d;
}

/* Attach (paperclip) button */
.chat-widget-attach-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: color 0.15s ease;
  padding: 0;
}

.chat-widget-attach-btn:hover {
  color: #008080;
}

.chat-widget-attach-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* File bubble in user message */
.bubble.file-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bubble.file-bubble i {
  font-size: 1.1rem;
  color: #008080;
}

/* Drop overlay */
.chat-widget-drop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 128, 128, 0.08);
  border: 2px dashed #008080;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 20;
  color: #008080;
  font-weight: 600;
  font-size: 0.9rem;
  pointer-events: none;
}

.chat-widget-drop-overlay i {
  font-size: 2.5rem;
}

.drop-overlay-hint {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
}

/* ============================================
   Markdown Styles inside Assistant Bubbles
   ============================================ */
.chat-widget-msg.assistant .bubble p {
  margin: 0 0 8px 0;
}

.chat-widget-msg.assistant .bubble p:last-child {
  margin-bottom: 0;
}

.chat-widget-msg.assistant .bubble ul,
.chat-widget-msg.assistant .bubble ol {
  margin: 4px 0 8px 0;
  padding-left: 20px;
}

.chat-widget-msg.assistant .bubble li {
  margin-bottom: 2px;
}

.chat-widget-msg.assistant .bubble code {
  background-color: rgba(0, 0, 0, 0.06);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.chat-widget-msg.assistant .bubble pre {
  background-color: #1e1e2e;
  color: #cdd6f4;
  padding: 10px 12px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 8px 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.chat-widget-msg.assistant .bubble pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.chat-widget-msg.assistant .bubble blockquote {
  border-left: 3px solid #008080;
  margin: 8px 0;
  padding: 4px 12px;
  color: #555;
  background-color: rgba(0, 128, 128, 0.05);
  border-radius: 0 4px 4px 0;
}

.chat-widget-msg.assistant .bubble table {
  border-collapse: collapse;
  width: 100%;
  margin: 8px 0;
  font-size: 0.8rem;
}

.chat-widget-msg.assistant .bubble th,
.chat-widget-msg.assistant .bubble td {
  border: 1px solid #dee2e6;
  padding: 4px 8px;
  text-align: left;
}

.chat-widget-msg.assistant .bubble th {
  background-color: rgba(0, 128, 128, 0.1);
  font-weight: 600;
}

.chat-widget-msg.assistant .bubble h1,
.chat-widget-msg.assistant .bubble h2,
.chat-widget-msg.assistant .bubble h3,
.chat-widget-msg.assistant .bubble h4 {
  margin: 8px 0 4px 0;
  font-weight: 600;
  line-height: 1.3;
}

.chat-widget-msg.assistant .bubble h1 { font-size: 1.1rem; }
.chat-widget-msg.assistant .bubble h2 { font-size: 1rem; }
.chat-widget-msg.assistant .bubble h3 { font-size: 0.95rem; }
.chat-widget-msg.assistant .bubble h4 { font-size: 0.9rem; }

.chat-widget-msg.assistant .bubble a {
  color: #008080;
  text-decoration: underline;
}

.chat-widget-msg.assistant .bubble hr {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 8px 0;
}

/* ============================================
   Rich Tool Display Cards
   ============================================ */
.chat-widget-tool-card {
  background-color: #f8f9fa;
  border-left: 3px solid #008080;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 4px 0;
  align-self: flex-start;
  max-width: 90%;
}

.tool-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tool-card-stat {
  text-align: center;
  min-width: 60px;
}

.tool-card-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #008080;
  line-height: 1.2;
}

.tool-card-stat-label {
  font-size: 0.65rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.tool-card-table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 200px;
}

.tool-card-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.75rem;
}

.tool-card-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

.tool-card-table th {
  background-color: #008080;
  color: #fff;
  padding: 4px 8px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.tool-card-table td {
  padding: 3px 8px;
  border-bottom: 1px solid #e9ecef;
  white-space: nowrap;
}

.tool-card-table tbody tr:hover {
  background-color: rgba(0, 128, 128, 0.05);
}

.tool-card-footer {
  font-size: 0.7rem;
  color: #6c757d;
  text-align: right;
  margin-top: 4px;
}

/* ============================================
   Preview: "Review Students" Button in Chat
   ============================================ */
.chat-widget-preview-actions {
  display: flex;
  gap: 8px;
  align-self: flex-start;
  margin: 4px 0;
}

.preview-btn-confirm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  background-color: #008080;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.preview-btn-confirm:hover {
  background-color: #006d6d;
}

/* ============================================
   Student Preview Modal – Z-Index Override
   (Chat panel is z-index: 1091, so modal must be higher)
   Only bump backdrop z-index when the chat preview modal is open,
   so other modals (attendance, etc.) keep default Bootstrap stacking.
   ============================================ */
#chatStudentPreviewModal {
  z-index: 1100;
}

body.chat-preview-open .modal-backdrop {
  z-index: 1095;
}

/* Modal table styling */
.chat-preview-modal-table thead th {
  background-color: #008080;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.85rem;
}

.chat-preview-modal-table tbody td {
  font-size: 0.85rem;
  vertical-align: middle;
}

.chat-preview-modal-table tbody tr:hover {
  background-color: rgba(0, 128, 128, 0.05);
}

/* ============================================
   Tabbed Preview (Students & Parents)
   ============================================ */

/* Tab navigation */
.chat-preview-tabs {
  display: flex;
  border-bottom: 2px solid #e9ecef;
  background: #fff;
  padding: 0;
}
.chat-preview-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  background: none;
  color: #697a8d;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.chat-preview-tab:hover {
  color: #008080;
  background: #f0fdfa;
}
.chat-preview-tab.active {
  color: #008080;
}
.chat-preview-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 3px;
  background: #008080;
  border-radius: 3px 3px 0 0;
}
.chat-preview-tab i {
  font-size: 1.125rem;
}
.chat-preview-tab-badge {
  padding: 0.15em 0.55em;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
  background: #e7f5f5;
  color: #008080;
}

/* Tab panes */
.chat-preview-tab-pane {
  display: none;
}
.chat-preview-tab-pane.active {
  display: block;
}

/* Students tab: people-style table */
.chat-preview-people-table {
  margin-bottom: 0;
}
.chat-preview-people-table thead th {
  background: #f8fafc;
  border-bottom: 2px solid #e9ecef;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #566a7f;
  padding: 0.75rem 1rem;
}
.chat-preview-people-table tbody td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f3f5;
  font-size: 0.85rem;
}
.chat-preview-people-table tbody tr:hover {
  background: #f8fafc;
}
.chat-preview-people-table tbody tr:last-child td {
  border-bottom: none;
}

/* Parents tab: card list */
.chat-preview-parent-list {
  padding: 1rem;
}

/* Parent card */
.chat-preview-parent-card {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}
.chat-preview-parent-card:hover {
  border-color: #d0d5dd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.chat-preview-parent-header {
  padding: 0.875rem 1.125rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  border-radius: 0.75rem;
}
.chat-preview-parent-card.expanded .chat-preview-parent-header {
  border-radius: 0.75rem 0.75rem 0 0;
}
.chat-preview-parent-header:hover {
  background: #fafbfc;
}
.chat-preview-parent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  color: #fff;
  flex-shrink: 0;
}
.chat-preview-parent-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1e293b;
}
.chat-preview-parent-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.125rem;
}
.chat-preview-parent-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: #64748b;
}
.chat-preview-parent-contact i {
  font-size: 0.875rem;
  color: #94a3b8;
}
.chat-preview-children-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: #f0fdfa;
  color: #008080;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.chat-preview-children-badge i {
  font-size: 0.8125rem;
}

/* Expand button */
.chat-preview-expand-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  color: #697a8d;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.chat-preview-expand-btn:hover {
  background: #e7f5f5;
  color: #008080;
}
.chat-preview-expand-btn i {
  transition: transform 0.2s ease;
  font-size: 1.125rem;
}
.chat-preview-parent-card.expanded .chat-preview-expand-btn {
  background: #008080;
  color: #fff;
}
.chat-preview-parent-card.expanded .chat-preview-expand-btn i {
  transform: rotate(180deg);
}

/* Children section (collapsible) */
.chat-preview-children-section {
  display: none;
  border-top: 1px solid #e9ecef;
  background: #f8fafc;
  border-radius: 0 0 0.75rem 0.75rem;
  overflow: hidden;
}
.chat-preview-parent-card.expanded .chat-preview-children-section {
  display: block;
}
.chat-preview-children-header {
  padding: 0.5rem 1.125rem;
  background: #f1f3f5;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #566a7f;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.chat-preview-child-row {
  padding: 0.625rem 1.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  background: #fff;
}
.chat-preview-child-row:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
}
.chat-preview-child-row:hover {
  background: #fafbfc;
}
.chat-preview-child-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.chat-preview-child-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.6875rem;
  background: linear-gradient(135deg, #008080 0%, #00a0a0 100%);
  color: #fff;
  flex-shrink: 0;
}
.chat-preview-child-name {
  font-weight: 500;
  font-size: 0.8125rem;
  color: #1e293b;
}
.chat-preview-child-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}
.chat-preview-relationship-badge {
  padding: 0.1875rem 0.625rem;
  background: #e9ecef;
  color: #475569;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: capitalize;
}

/* Orphan students section */
.chat-preview-orphan-section {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.chat-preview-orphan-header {
  padding: 0.625rem 1.125rem;
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-bottom: 1px solid #e9ecef;
}
.chat-preview-orphan-header i {
  font-size: 0.9375rem;
  color: #94a3b8;
}

/* ============================================
   Conversations History Overlay
   ============================================ */
.chat-widget-conversations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.conversations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: #008080;
  color: #fff;
  flex-shrink: 0;
}

.conversations-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.conversations-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background-color 0.15s ease;
}

.conversations-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.conversations-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.conversation-item {
  padding: 10px 16px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background-color 0.15s ease;
}

.conversation-item:hover {
  background-color: #f8f9fa;
}

.conversation-item.active {
  border-left-color: #008080;
  background-color: rgba(0, 128, 128, 0.05);
}

.conversation-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-item-meta {
  display: flex;
  gap: 8px;
  font-size: 0.7rem;
  color: #6c757d;
  margin-top: 2px;
}

.conversation-item-preview {
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversations-loading,
.conversations-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: #6c757d;
  font-size: 0.85rem;
}

/* Disabled state for input during streaming */
.chat-widget-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.chat-widget-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   Responsive: Full-screen on mobile (<576px)
   ============================================ */
@media (max-width: 575.98px) {
  .chat-widget-fab {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .chat-widget-panel {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
