/* Help Section Styles */
.help-section {
  max-width: 800px;
  margin: 0 auto;
}

.help-section h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-color);
  font-weight: 600;
}

.help-intro {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 1rem;
}

.timezone-note {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-left: 4px solid var(--primary-color);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  color: #1e3a8a;
  font-weight: 500;
}

.help-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rule-badge {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.rule-header h3 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-color);
  font-weight: 600;
}

.rule-description {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.rule-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.example-box {
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid;
  font-size: 0.875rem;
}

.example-box.success {
  background-color: #f0fdf4;
  border-color: var(--success-color);
  color: #166534;
}

.example-box.fail {
  background-color: #fef2f2;
  border-color: var(--danger-color);
  color: #991b1b;
}

.example-box strong {
  font-weight: 600;
}

.summary-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

.summary-box h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.125rem;
  font-weight: 600;
}

.summary-box p {
  color: var(--text-color);
  margin-bottom: 8px 0;
}

.summary-box ul {
  margin: 12px 0;
  padding-left: 24px;
  list-style-type: disc;
}

.summary-box li {
  margin-bottom: 8px;
  color: var(--text-color);
  line-height: 1.5;
}

.summary-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-style: italic;
}

.status-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.status-item:last-child {
  border-bottom: none;
}

.status-item p {
  margin: 6px 0 0 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.status-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: default;
}

.status-label.pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fbbf24;
}

.status-label.hold {
  background-color: #dbeafe;
  color: #1e3a8a;
  border: 1px solid var(--primary-color);
}

.status-label.done {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid var(--success-color);
}

.status-label.failed {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid var(--danger-color);
}

/* Responsive adjustments for help section */
@media (max-width: 768px) {
  .help-section {
    padding: 0;
  }

  .help-section h2 {
    font-size: 1.25rem;
  }

  .help-intro {
    font-size: 0.9rem;
  }

  .help-card {
    padding: 16px;
  }

  .rule-header {
    flex-wrap: wrap;
  }

  .rule-badge {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
  }

  .rule-header h3 {
    font-size: 1rem;
  }

  .example-box {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .summary-box {
    padding: 16px;
  }
}
