/* Additional app-specific styling */

.tab-button {
  @apply px-4 py-2 border-b-2 border-transparent text-gray-500 hover:text-gray-800;
}

.tab-button.active {
  @apply border-blue-600 text-blue-600;
}

.tab-panel {
  @apply space-y-4;
}

.tab-active {
  @apply border-b-2 border-blue-600 text-blue-600;
}

.tab-inactive {
  @apply border-transparent text-gray-500;
}

/* Evidence badge base */
.badge {
  display: inline-block;
  margin-left: 0.5rem;         /* ml-2 */
  padding: 2px 8px;            /* px-2 py-[2px] */
  border-radius: 9999px;       /* rounded-full */
  border: 1px solid transparent;
  font-size: 10px;             /* text-[10px] */
  line-height: 1.2;
  white-space: nowrap;
}

/* Evidence badge variants */
.badge--sci-pos { background: #dcfce7; color: #166534; border-color: #bbf7d0; }   /* green */
.badge--ane-pos { background: #f1f5f9; color: #334155; border-color: #cbd5e1; }   /* slate */
.badge--sci-neg { background: #fee2e2; color: #991b1b; border-color: #fecaca; }   /* red */
.badge--ane-neg { background: #fee2e2; color: #991b1b; border-color: #fecaca; }   /* red */

/* Optional: mixed */
.badge--mixed   { background: #fef9c3; color: #854d0e; border-color: #fde68a; }   /* yellow */

.remedy-card {
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.remedy-card:hover {
  border-color: rgba(59, 130, 246, 0.5);  /* subtle blue */
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.remedy-card:hover .remedy-name { font-weight: 700; }

.remedy-card:focus,
.remedy-card:focus-within {
  outline: 2px solid rgba(59, 130, 246, 0.6);
  outline-offset: 2px;
}
