/* Adverse Event Reporting Policy Styles */
.adverse-event-policy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header Section */
.policy-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: linear-gradient(135deg, #dc3545, #e85862);
  border-radius: 15px;
  color: white;
  box-shadow: 0 8px 32px rgba(220, 53, 69, 0.3);
}

.emergency-icon {
  font-size: 48px;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.policy-title {
  font-size: 32px;
  font-weight: 800;
  margin: 15px 0 10px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.effective-date {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 20px 0;
  opacity: 0.9;
}

.critical-safety-notice {
  margin-top: 25px;
}

.notice-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

.notice-content i {
  font-size: 32px;
  flex-shrink: 0;
  margin-top: 5px;
  color: #fff3cd;
}

.notice-content h2 {
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
}

.notice-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* Content Section */
.policy-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.policy-section {
  padding: 30px;
  border-bottom: 1px solid #eee;
}

.policy-section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  border-bottom: 3px solid #dc3545;
  padding-bottom: 10px;
}

/* Definition Box */
.definition-box {
  background: #e3f2fd;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid #2196f3;
  margin-bottom: 25px;
}

.definition-box h3 {
  margin: 0 0 10px 0;
  color: #1565c0;
  font-size: 18px;
  font-weight: 600;
}

.definition-box p {
  margin: 0;
  color: #333;
  font-weight: 500;
}

/* Reaction Categories */
.reaction-categories {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.reaction-category {
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid;
}

.reaction-category.mild {
  background: #e8f5e8;
  border-color: #28a745;
}

.reaction-category.moderate {
  background: #fff3cd;
  border-color: #ffc107;
}

.reaction-category.severe {
  background: #f8d7da;
  border-color: #dc3545;
}

.reaction-category h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
}

.reaction-category.mild h4 {
  color: #155724;
}

.reaction-category.moderate h4 {
  color: #856404;
}

.reaction-category.severe h4 {
  color: #721c24;
}

.reaction-category i {
  font-size: 20px;
}

.reaction-category ul {
  margin: 0;
  padding-left: 20px;
}

.reaction-category li {
  margin-bottom: 8px;
  color: #444;
}

/* Action Protocols */
.action-protocols {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.protocol {
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid;
}

.protocol.emergency {
  background: #f8d7da;
  border-color: #dc3545;
}

.protocol.moderate {
  background: #fff3cd;
  border-color: #ffc107;
}

.protocol.dont {
  background: #f1f3f4;
  border-color: #6c757d;
}

.protocol h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
}

.protocol.emergency h3 {
  color: #721c24;
}

.protocol.moderate h3 {
  color: #856404;
}

.protocol.dont h3 {
  color: #495057;
}

.protocol ol,
.protocol ul {
  margin: 0;
  padding-left: 20px;
}

.protocol li {
  margin-bottom: 8px;
  color: #444;
}

/* Reporting Methods */
.reporting-methods {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.reporting-method {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid;
}

.reporting-method.priority {
  background: #fff5f5;
  border-color: #dc3545;
}

.reporting-method.online {
  background: #f0f8ff;
  border-color: #007bff;
}

.reporting-method.written {
  background: #f8f9fa;
  border-color: #6c757d;
}

.reporting-method h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
}

.reporting-method.priority h3 {
  color: #721c24;
}

.reporting-method.online h3 {
  color: #004085;
}

.reporting-method.written h3 {
  color: #495057;
}

.reporting-method ul {
  margin: 0;
  padding-left: 20px;
}

.reporting-method li {
  margin-bottom: 8px;
  color: #444;
}

.report-link {
  color: #dc3545;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.report-link:hover {
  background: #dc3545;
  color: white;
  text-decoration: none;
}

/* Information Categories */
.information-categories {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.info-category {
  padding: 20px;
  border-radius: 10px;
}

.info-category.required {
  background: #fff5f5;
  border: 2px solid #dc3545;
}

.info-category.helpful {
  background: #e3f2fd;
  border: 2px solid #2196f3;
}

.info-category h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
}

.info-category.required h3 {
  color: #721c24;
}

.info-category.helpful h3 {
  color: #1565c0;
}

.info-category h4 {
  margin: 20px 0 10px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.info-category ul {
  margin: 0 0 15px 0;
  padding-left: 20px;
}

.info-category li {
  margin-bottom: 8px;
  color: #444;
}

/* Response Timeline */
.response-timeline {
  margin-top: 20px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.timeline-marker {
  min-width: 60px;
  height: 60px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #dc3545;
}

.timeline-content h3 {
  margin: 0 0 15px 0;
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
}

.timeline-content ul {
  margin: 0;
  padding-left: 20px;
}

.timeline-content li {
  margin-bottom: 8px;
  color: #444;
}

/* FDA Information */
.fda-info {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.fda-section {
  padding: 20px;
  background: #e8f5e8;
  border-radius: 10px;
  border-left: 5px solid #28a745;
}

.fda-section h3 {
  margin: 0 0 15px 0;
  color: #155724;
  font-size: 18px;
  font-weight: 600;
}

.fda-section ul {
  margin: 0;
  padding-left: 20px;
}

.fda-section li {
  margin-bottom: 8px;
  color: #444;
}

/* Investigation Process */
.investigation-process {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.process-stage {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 5px solid #6c757d;
}

.process-stage h3 {
  margin: 0 0 15px 0;
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}

.process-stage ul {
  margin: 0;
  padding-left: 20px;
}

.process-stage li {
  margin-bottom: 8px;
  color: #444;
}

/* Contact Section */
.contact-section {
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  padding: 20px;
  background: white;
  border-radius: 10px;
  border-left: 5px solid;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-item.emergency {
  border-color: #dc3545;
}

.contact-item.business {
  border-color: #007bff;
}

.contact-item.mailing {
  border-color: #28a745;
}

.contact-item.resources {
  border-color: #6c757d;
}

.contact-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.contact-item p {
  margin: 0;
  color: #444;
  line-height: 1.5;
}

.contact-item ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.contact-item li {
  margin-bottom: 8px;
  color: #444;
}

/* Final Notice */
.final-notice {
  background: #e3f2fd;
}

.notice-box {
  background: white;
  padding: 25px;
  border-radius: 10px;
  border: 2px solid #2196f3;
  text-align: center;
}

.notice-box h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 15px 0;
  color: #1565c0;
  font-size: 22px;
  font-weight: 600;
}

.notice-box p {
  margin: 10px 0;
  color: #444;
}

.notice-box .emphasis {
  font-size: 18px;
  font-weight: 600;
  color: #721c24;
  background: #fff3cd;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ffc107;
}

/* Action Buttons */
.policy-actions {
  padding: 30px;
  text-align: center;
  background: white;
  gap: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-danger {
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: #28a745;
  color: white;
}

.btn-primary:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-danger {
  background: #dc3545;
  color: white;
  font-weight: 700;
  animation: pulse-glow 2s infinite;
}

.btn-danger:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.report-now-btn {
  order: -1; /* Place first */
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(220, 53, 69, 0.3); }
  50% { box-shadow: 0 0 20px rgba(220, 53, 69, 0.6); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .adverse-event-policy-container {
    padding: 15px;
  }

  .policy-header {
    padding: 20px;
    margin-bottom: 20px;
  }

  .policy-title {
    font-size: 24px;
  }

  .notice-content {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 20px;
  }

  .policy-section {
    padding: 20px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 15px;
  }

  .timeline-marker {
    align-self: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .policy-actions {
    flex-direction: column;
    padding: 20px;
  }

  .btn-primary,
  .btn-secondary {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .policy-title {
    font-size: 20px;
  }

  .notice-content h2 {
    font-size: 18px;
  }

  .notice-content p {
    font-size: 14px;
  }

  .section-title {
    font-size: 18px;
  }

  .reaction-category h4,
  .protocol h3,
  .reporting-method h3,
  .info-category h3,
  .timeline-content h3 {
    font-size: 16px;
  }
}

/* Print Styles */
@media print {
  .policy-actions {
    display: none;
  }

  .adverse-event-policy-container {
    box-shadow: none;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .policy-header {
    background: none !important;
    color: black !important;
    box-shadow: none;
    page-break-after: avoid;
  }

  .policy-section {
    page-break-inside: avoid;
    box-shadow: none;
  }

  .timeline-item,
  .reaction-category,
  .protocol,
  .reporting-method,
  .info-category {
    break-inside: avoid;
    box-shadow: none;
  }
}
