/* ---------- Sınaq sertifikatı ---------- */
.certificate {
  width: 100%;
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(212, 168, 83, 0.5);
  border-radius: 10px;
  background: var(--bg-elevated);
  text-align: center;
}

.certificate h3 {
  margin: 0 0 6px;
  color: var(--gold-bright);
  font-size: 18px;
}

.certificate p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.certificate-preview {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto 16px;
  border-radius: 4px;
}

.certificate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.certificate-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.certificate-actions .certificate-download {
  color: var(--btn-primary-text);
  background: var(--gold);
}

.certificate-actions .certificate-share {
  border: 1px solid rgba(232, 230, 225, 0.26);
  color: var(--text);
}

.certificate-missed {
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 13.5px;
  text-align: center;
}

/* sınaqdan əvvəl məlumat */
.certificate-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 440px;
  margin: 20px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(212, 168, 83, 0.45);
  border-radius: 10px;
  color: var(--text);
  background: var(--bg-elevated);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.certificate-notice svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 560px) {
  .certificate {
    padding: 16px 12px;
  }

  .certificate-actions a {
    width: 100%;
  }
}
