/* Quest Log Styles */

.quest-log-content {
  min-height: 300px;
}

.quests-section {
  margin-bottom: 25px;
}

.quests-section h3 {
  color: #f39c12;
  /* Orange headers to match theme */
  border-bottom: 2px solid #f39c12;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.quests-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quest-card {
  background: linear-gradient(135deg, #16213e 0%, #1a2640 100%);
  /* Dark blue */
  border: 2px solid #34495e;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.quest-card.active {
  border-color: #3498db;
  background: linear-gradient(135deg, #16213e 0%, #1e3a5f 100%);
  /* Blue tint */
}

.quest-card.completed {
  border-color: #27ae60;
  background: linear-gradient(135deg, #16213e 0%, #1a3d2e 100%);
  /* Green tint */
  opacity: 0.9;
}

.quest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.quest-header h4 {
  margin: 0;
  color: #ecf0f1;
  /* Light text */
  font-size: 1.05em;
}

.quest-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: bold;
}

.active-status {
  background: #3498db;
  color: white;
}

.completed-status {
  background: #27ae60;
  color: white;
}

.quest-step {
  margin-bottom: 12px;
}

.step-text {
  color: #bdc3c7;
  /* Light text */
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0 0 10px 0;
  font-style: italic;
}

.objective-tracker {
  background: rgba(0, 0, 0, 0.3);
  /* Dark bg */
  border-left: 3px solid #3498db;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.objective-description {
  margin: 0 0 6px 0;
  font-size: 0.9em;
  color: #95a5a6;
  /* Light grey */
}

.objective-progress {
  font-weight: bold;
  color: #3498db;
  font-size: 0.95em;
}

.quest-rewards {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.85em;
  color: #7f8c8d;
}

.quest-rewards span {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.9em;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #95a5a6;
  background: linear-gradient(135deg, #16213e 0%, #1a2640 100%);
  /* Dark blue */
  border-radius: 12px;
  border: 1px solid #34495e;
}

.empty-state p:first-child {
  font-size: 1.3em;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .quest-card {
    padding: 12px;
  }

  .quest-header h4 {
    font-size: 0.95em;
  }

  .quest-status {
    font-size: 0.75em;
    padding: 3px 8px;
  }
}