@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Scoped to .breach-report so it can live standalone or inside the full report. */
.breach-report,
.breach-report * {
  box-sizing: border-box;
}

.breach-report {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.5;
}

.breach-report .recommendations-section {
  width: 100%;
}

.breach-report .section-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
}

.breach-report .breach-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #8FBCD1;
}

.breach-report .cta-section {
  background: #ffffff;
  border: 2px solid #8FBCD1;
}

.breach-report .cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.breach-report .cta-card {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.breach-report .cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.breach-report .cta-card-icon {
  margin-bottom: 0.5rem;
  line-height: 1;
}

.breach-report .cta-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.4rem;
}

.breach-report .cta-card-desc {
  font-size: 0.88rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.breach-report .cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.breach-report .cta-form[hidden] {
  display: none;
}

.breach-report .cta-input {
  font-family: 'Poppins', sans-serif;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.breach-report .cta-input:focus {
  border-color: #8FBCD1;
  box-shadow: 0 0 0 3px rgba(143, 188, 209, 0.2);
}

.breach-report .oiq-py-code-input {
  text-align: center;
  letter-spacing: 0.4em;
  font-weight: 600;
}

.breach-report .cta-select {
  font-family: 'Poppins', sans-serif;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #495057;
  background: #fff;
  outline: none;
  cursor: pointer;
}

.breach-report .cta-select:focus {
  border-color: #8FBCD1;
}

.breach-report .cta-btn {
  font-family: 'Poppins', sans-serif;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.breach-report .cta-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.breach-report .cta-btn-primary {
  background: #D81159;
  color: #fff;
}

.breach-report .cta-btn-primary:hover {
  background: #bf0e4e;
  transform: translateY(-1px);
}

.breach-report .cta-btn-alerts {
  background: #8FBCD1;
  color: #fff;
}

.breach-report .cta-btn-alerts:hover {
  background: #7aa9be;
  transform: translateY(-1px);
}

.breach-report .cta-btn-premium {
  background: #2c3e50;
  color: #fff;
  margin-top: 0.5rem;
}

.breach-report .cta-btn-premium:hover {
  background: #1a252f;
  transform: translateY(-1px);
}

/* "Resend code" text button */
.breach-report .oiq-py-link {
  background: none;
  border: none;
  color: #6c757d;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.breach-report .oiq-py-link:hover {
  color: #D81159;
}

/* Status / feedback messages */
.breach-report .oiq-py-msg {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
  min-height: 1em;
}

.breach-report .oiq-py-msg:empty {
  margin-top: 0;
}

.breach-report .oiq-py-msg--success {
  color: #155724;
}

.breach-report .oiq-py-msg--error {
  color: #721c24;
}

@media (max-width: 640px) {
  .breach-report .cta-grid {
    grid-template-columns: 1fr;
  }
}
