.assistant-widget {
  position: fixed;
  bottom: 55px;
  right: 10px;
  z-index: 1055;
  font-family: inherit;
}

.assistant-toggle {
  width: 40px;
  height: 40px;
  border-radius: 25%;
  border: none;
  background: #0d6efd;
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Widget panel mengikuti gaya card chat */
.assistant-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  height: 480px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

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

.assistant-panel .chat-history-body {
  flex: 1;
  overflow-y: auto;
  background: #f8f9fb;
}

.assistant-panel .assistant-quick-actions button {
  border: 1px solid #e5e7eb;
  background: #f8f9fb;
  color: #27303f;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.assistant-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px 0;
  background: #fff;
}

.assistant-quick-actions button {
  border: 1px solid #e5e7eb;
  background: #f8f9fb;
  color: #27303f;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.assistant-quick-actions button:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.assistant-page-card {
  display: flex;
  flex-direction: column;
  height: 70vh;
}

.assistant-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 18px;
}

.assistant-provider {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
}

.assistant-page-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.assistant-hint {
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 576px) {
  .assistant-panel {
    width: 90vw;
    right: -8px;
  }

  .assistant-page-card {
    height: 75vh;
  }
}
