/* Credentials Verification page styles */

.bsit-cred-section { padding: 50px 0 70px; }
.bsit-cred-header { margin: 0 0 18px; }
.bsit-cred-title { font-weight: 800; margin: 0 0 6px; }
.bsit-cred-subtitle { margin: 0; opacity: .85; }

.bsit-cred-form-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

.bsit-cred-type {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.bsit-cred-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  cursor: pointer;
  user-select: none;
  background: rgba(0,0,0,.02);
}

.bsit-cred-radio input { accent-color: #f5b301; }

.bsit-cred-submit-row { margin-top: 12px; }

/* Match primary CTA button styling used across the site */
.bsit-cred-submit{
  background:#efb405;
  color:#000;
  border:none;
  border-radius:30px;
  padding:12px 28px;
  font-weight:800;
  display:inline-block;
}
.bsit-cred-submit:hover{ filter: brightness(.95); }
.bsit-cred-submit:disabled{ opacity:.7; cursor:not-allowed; }

/* Captcha spacing */
.bsit-captcha-wrap { margin-top: 16px; }
.bsit-captcha-label { display: block; margin: 12px 0 10px; font-weight: 600; }

/* Error */
.bsit-cred-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(239,68,68,.10);
  border: 1px solid rgba(239,68,68,.25);
  color: #b91c1c;
  font-weight: 600;
}

/* Result layout */
.bsit-cred-result { margin-top: 24px; }
.bsit-cred-issued { font-size: 22px; font-weight: 800; margin: 0 0 14px; }

.bsit-cred-result-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 20px;
  align-items: start;
}

.bsit-cred-cert-imgwrap {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 44px rgba(0,0,0,.10);
}

#bsitCredImg { width: 100%; height: auto; display: block; }

/* Embedded PDF fallback (when only PDF is uploaded) */
.bsit-cred-pdf { width: 100%; height: 560px; display: block; border: 0; }

.bsit-cred-success {
  text-align: center;
  margin-top: 12px;
  font-weight: 800;
  color: #166534;
}

.bsit-cred-actions { display: flex; justify-content: center; margin-top: 12px; }

.bsit-cred-details-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 44px rgba(0,0,0,.08);
}

.bsit-cred-details-title { font-weight: 800; font-size: 18px; margin: 0 0 10px; }

.bsit-cred-dl { margin: 0; }
.bsit-cred-dl .row-item { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.bsit-cred-dl .row-item:last-child { border-bottom: none; }
.bsit-cred-dl dt { width: 42%; margin: 0; font-weight: 700; opacity: .85; }
.bsit-cred-dl dd { width: 58%; margin: 0; font-weight: 600; }

.bsit-cred-share { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.06); }
.bsit-cred-share-label { font-weight: 800; margin: 0 0 8px; }
.bsit-cred-share-row { display: flex; gap: 10px; align-items: center; }

.bsit-cred-copy-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  background: #f5b301;
  color: #000;
  white-space: nowrap;
}

.bsit-cred-copy-btn:hover { filter: brightness(.95); }

.bsit-cred-copy-hint { margin-top: 6px; font-size: 12px; opacity: .75; }

@media (max-width: 991px) {
  .bsit-cred-result-grid { grid-template-columns: 1fr; }
  .bsit-cred-dl dt, .bsit-cred-dl dd { width: auto; }
  .bsit-cred-dl .row-item { flex-direction: column; gap: 4px; }
}

@media (max-width: 575px) {
  .bsit-cred-share-row { flex-direction: column; align-items: stretch; }
  .bsit-cred-copy-btn { width: 100%; }
}
