/* ─── Parish Quests ──────────────────────────────────────────────────── */

.parish-quests-section {
  margin-top: 1rem;
}

.parish-quests {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Section sub-headers */
.pq-section h4 {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #8a8a8a);
}

.pq-history {
  opacity: 0.65;
}

/* Card */
.pq-card {
  background: var(--card-bg, #1e1e1e);
  border: 1px solid var(--border-color, #333);
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 0.4rem;
  transition: border-color 0.15s;
}

.pq-card:hover {
  border-color: var(--accent, #4a7c5e);
}

.pq-card-active {
  border-left: 3px solid var(--accent, #4a7c5e);
}

.pq-card-available {
  border-left: 3px solid var(--warning, #d4a437);
}

.pq-card-completed {
  border-left: 3px solid var(--success, #4caf50);
}

.pq-card-expired {
  border-left: 3px solid var(--text-muted, #8a8a8a);
  opacity: 0.7;
}

/* Header */
.pq-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.pq-icon {
  font-size: 1.1rem;
}

.pq-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary, #e0e0e0);
}

.pq-status {
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.pq-status-active {
  background: var(--accent, #4a7c5e);
  color: #fff;
}

.pq-status-available {
  background: var(--warning, #d4a437);
  color: #1a1a1a;
}

.pq-status-completed {
  background: var(--success, #4caf50);
  color: #fff;
}

.pq-status-expired {
  background: var(--text-muted, #555);
  color: #ccc;
}

.pq-time {
  font-size: 0.75rem;
  color: var(--text-muted, #8a8a8a);
  margin-left: auto;
}

/* Description */
.pq-description {
  font-size: 0.82rem;
  color: var(--text-secondary, #bbb);
  margin-bottom: 0.5rem;
}

/* Objectives */
.pq-objective {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.5rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.pq-obj-label {
  font-size: 0.8rem;
  color: var(--text-secondary, #bbb);
  grid-column: 1 / -1;
}

.pq-progress-bar {
  height: 8px;
  background: var(--border-color, #333);
  border-radius: 4px;
  overflow: hidden;
  grid-column: 1;
}

.pq-progress-fill {
  height: 100%;
  background: var(--accent, #4a7c5e);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.pq-obj-count {
  font-size: 0.75rem;
  color: var(--text-muted, #8a8a8a);
  text-align: right;
  white-space: nowrap;
}

/* Rewards & Bonus */
.pq-rewards,
.pq-bonus {
  font-size: 0.78rem;
  color: var(--text-secondary, #bbb);
  margin-top: 0.3rem;
}

.pq-reward-label,
.pq-bonus-label {
  font-weight: 600;
  color: var(--text-primary, #e0e0e0);
}

.pq-bonus {
  color: var(--success, #4caf50);
}

.pq-contributors {
  font-size: 0.72rem;
  color: var(--text-muted, #8a8a8a);
  margin-top: 0.25rem;
}

/* Buttons */
.pq-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s;
}

.pq-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pq-btn-activate {
  background: var(--warning, #d4a437);
  color: #1a1a1a;
}

.pq-btn-activate:hover:not(:disabled) {
  background: #c1922c;
}

.pq-btn-claim {
  background: var(--success, #4caf50);
  color: #fff;
}

.pq-btn-claim:hover:not(:disabled) {
  background: #43a047;
}

.pq-claimed {
  font-size: 0.78rem;
  color: var(--text-muted, #8a8a8a);
  font-style: italic;
  display: inline-block;
  margin-top: 0.5rem;
}

/* Mobile */
@media (max-width: 640px) {
  .pq-card {
    padding: 0.5rem;
  }

  .pq-card-header {
    font-size: 0.9rem;
  }
}
