.pp-toast {
  position: fixed;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.875rem 1.25rem;
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: center;
  transition: transform 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.15);
}

.pp-toast[data-type="success"] {
  background: #2d6a4f;
  color: #fff;
}

.pp-toast[data-type="error"] {
  background: #b91c1c;
  color: #fff;
}

.pp-toast.visible {
  transform: translateX(-50%) translateY(0);
}

.auth-card-wide {
  max-width: 32rem;
}

.auth-step2 {
  margin-top: 1rem;
}

.auth-docs-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.doc-upload-form {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doc-upload-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .doc-upload-row {
    flex-direction: row;
    align-items: flex-end;
  }

  .doc-upload-row .field {
    flex: 1;
  }
}

.doc-file-input {
  position: relative;
  min-height: var(--touch);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-file-input input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 1rem;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.doc-file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.75rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.doc-file-label-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.doc-file-input.has-file .doc-file-label {
  border-color: rgb(45 106 79 / 0.45);
  background: rgb(149 184 162 / 0.12);
  color: var(--text);
}

.doc-file-selected {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgb(149 184 162 / 0.15);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text);
  word-break: break-word;
}

.doc-file-selected[hidden] {
  display: none;
}

.doc-file-selected-icon {
  flex-shrink: 0;
  line-height: 1.4;
}

.doc-file-selected-name {
  flex: 1;
  min-width: 0;
}

.doc-required {
  color: #b91c1c;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  margin: 0.75rem 0;
}

.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem;
}

.review-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.register-docs-panel {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem;
  margin-top: 0.25rem;
  border-radius: var(--radius);
  background: rgb(149 184 162 / 0.08);
  border: 1px solid rgb(149 184 162 / 0.22);
}

.register-docs-panel[hidden] {
  display: none;
}

.register-doc-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.register-doc-field .label {
  margin-bottom: 0;
}

.register-docs-panel .doc-file-input {
  min-width: 0;
}

.register-docs-panel .auth-docs-note {
  margin-bottom: 0;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.7);
}
