.ai-pr-checker {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.checker-input {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pr-url-field {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #fff;
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255,255,255,0.95);
  color: #333;
  transition: all 0.3s ease;
}

.pr-url-field:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.check-btn {
  padding: 1rem 2rem;
  background: #fff;
  color: #667eea;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.check-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.check-btn:active {
  transform: translateY(0);
}

.pr-results {
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 1.5rem;
  color: #333;
}

.pr-results.hidden {
  display: none;
}

.loading {
  text-align: center;
  padding: 2rem;
  color: #667eea;
  font-weight: 500;
}

.result-content {
  line-height: 1.6;
}

.ai-detected {
  padding: 1rem;
  background: #fee;
  border-left: 4px solid #e53e3e;
  border-radius: 4px;
  margin: 1rem 0;
}

.human-detected {
  padding: 1rem;
  background: #efe;
  border-left: 4px solid #38a169;
  border-radius: 4px;
  margin: 1rem 0;
}

.detection-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.indicator-item {
  margin: 0.5rem 0;
  padding: 0.5rem;
  background: #f8f8f8;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
}

.feedback-section {
  margin-top: 1.5rem;
}

.feedback-section select,
.feedback-section textarea {
  transition: border-color 0.3s ease;
}

.feedback-section select:focus,
.feedback-section textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.feedback-section button {
  transition: all 0.3s ease;
}

.feedback-section button:hover:not(:disabled) {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.feedback-section button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .checker-input {
    flex-direction: column;
  }

  .check-btn {
    width: 100%;
  }
}

/*
 * Post-result call to action. The checker answers a one-PR question; this is
 * the only place a visitor is told the same answer exists for every PR their
 * team opens, so it renders with the result rather than at the foot of the page.
 */
.checker-cta {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  color: #fff;
}

.checker-cta h5 {
  margin: 0 0 0.5rem 0;
  font-size: 1.05em;
  color: #fff;
}

.checker-cta p {
  margin: 0 0 1.25rem 0;
  font-size: 0.9em;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.checker-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.checker-cta-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #667eea;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.checker-cta-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.checker-cta-secondary {
  color: rgba(255,255,255,0.9);
  font-size: 0.85em;
  text-decoration: underline;
}

.checker-cta-secondary:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .checker-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .checker-cta-primary {
    text-align: center;
  }
}
