#smart-review-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 320px; /* sedikit lebih kecil */
  background: #ffffff;
  box-shadow: -2px 0 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

/* Closed mode */
#smart-review-panel.closed {
  width: 0;
  overflow: visible; /* penting biar tab tetap muncul */
}

/* Tab (trigger) */
.sr-tab {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 70px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 4px 10px rgba(0,0,0,0.15);
  font-size: 12px;
  transition: all 0.2s ease;
}

/* Hover effect */
.sr-tab:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: -4px 6px 16px rgba(0,0,0,0.2);
}

/* Content area */
.sr-content {
  padding: 18px;
  font-family: system-ui, -apple-system, sans-serif;
  overflow-y: auto;
}

/* Header */
.sr-header {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

/* Card */
.sr-card {
  background: #f9fafb;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Question */
.sr-question {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

/* Answer */
.sr-answer {
  color: #555;
  font-size: 13px;
  line-height: 1.5;
}

.sr-tab i {
  font-size: 12px;
}

/* Pastikan chat selalu di atas */
#chat-container,
#chat-container-2,
#chat-container-3,
#chat-icon,
#chat-icon-2,
#chat-icon-3 {
  z-index: 10000 !important;
}