/* Research (Pokemon Go-style daily/weekly tasks) */

.research-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 16px;
}

.research-header {
  margin-bottom: 20px;
}

.research-header h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.research-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, #64748b);
}

.research-section {
  margin-bottom: 24px;
}

.research-section__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--text, #1e293b);
}

.research-empty {
  margin: 0;
  padding: 12px;
  font-size: 0.9rem;
  color: var(--muted, #64748b);
  background: var(--bg-subtle, #f8fafc);
  border-radius: 10px;
}

.research-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.research-item {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.research-item--claimed {
  opacity: 0.85;
  border-color: var(--success-border, #bbf7d0);
  background: var(--bg-success-subtle, #f0fdf4);
}

.research-item__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.research-item__title {
  font-weight: 600;
  font-size: 0.95rem;
}

.research-item__reward {
  font-size: 0.85rem;
  color: var(--accent, #3b82f6);
  white-space: nowrap;
}

.research-item__desc {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--muted, #64748b);
}

.research-item__progress-wrap {
  height: 6px;
  background: var(--border, #e2e8f0);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.research-item__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.research-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted, #64748b);
}

.research-claim-btn {
  padding: 6px 12px;
  font-size: 0.85rem;
  background: var(--accent, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.research-claim-btn:hover:not(:disabled) {
  filter: brightness(1.1);
}

.research-claim-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.research-item__claimed {
  font-size: 0.85rem;
  color: var(--success, #16a34a);
  font-weight: 500;
}
