/* Swiftdox overrides — matches verify.swiftdox.com */

.valid {
  color: #2e7d32;
}

.result-icon.invalid {
  color: #999;
  animation: none;
}

.result-icon {
  transition: color 0.2s ease;
}

.cert-details {
  text-align: left;
  display: inline-block;
  margin: 0 auto 1rem;
}

.cert-details dt {
  font-weight: 600;
  color: #999;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.cert-details dd {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.login-page .page-header {
  min-height: 75vh;
}

.vcenter {
  display: flex;
  align-items: center;
}

/* Preview page */
.preview-page {
  margin: 0;
  background: #525659;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.preview-toolbar {
  background: #323639;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.preview-toolbar h1 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  font-family: Roboto, sans-serif;
}

.preview-toolbar .btn-back {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.9;
}

.preview-toolbar .btn-back:hover {
  opacity: 1;
}

.preview-viewport {
  flex: 1;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 20px;
}

#pdfCanvas {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: #fff;
}

.preview-controls {
  background: #323639;
  color: #fff;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-shrink: 0;
}

.preview-controls button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.preview-controls button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.preview-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.preview-controls span {
  font-size: 0.85rem;
  min-width: 80px;
  text-align: center;
}
