/* ================================================
   ENHANCED CHAT EXPERIENCE STYLES
   ================================================ */

/* Suggestion Chips */
.suggestion-chip {
  background: var(--bg-light);
  border: 1px solid rgba(118, 61, 118, 0.2);
  color: var(--nycbs-purple);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.suggestion-chip:hover {
  background: var(--nycbs-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 61, 118, 0.25);
}

/* Chat Messages */
.chat-message {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  animation: fadeIn 0.4s ease;
}

.message-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--nycbs-purple), var(--nycbs-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.message-content {
  flex: 1;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 16px;
  border-top-left-radius: 4px;
}

.response-content h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.response-content p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.response-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.response-content li {
  margin-bottom: 8px;
}

/* Doctor Cards */
.doctor-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.doctor-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.doctor-card img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.doctor-info {
  flex: 1;
}

.doctor-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--nycbs-purple);
}

.doctor-info .specialty {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.doctor-info .location {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.doctor-info .rating {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Insurance Grid */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.insurance-item {
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.insurance-note {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 141, 208, 0.1);
  border-radius: 12px;
  margin: 24px 0;
  align-items: flex-start;
}

.insurance-note i {
  color: var(--nycbs-blue);
  font-size: 20px;
  flex-shrink: 0;
}

.insurance-note p {
  margin: 0;
  line-height: 1.5;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.action-buttons .btn {
  font-size: 15px;
}

/* Follow-up Section */
.follow-up-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.follow-up-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.follow-up-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Loading State Enhancement */
.think-loader-wrap {
  text-align: center;
  padding: 40px;
}

.think-tooltip {
  animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.4s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .doctor-card {
    flex-direction: column;
    text-align: center;
  }

  .doctor-card img {
    margin: 0 auto;
  }

  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
  }

  .message-content {
    padding: 16px;
  }

  .follow-up-chips {
    justify-content: center;
  }
}
