/* === DOC transfer page: cards, typography, form === */

.doc-card {
  background: #050509;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.1rem 1.2rem;
}

.doc-card--soft {
  background: rgba(15, 15, 18, 0.9);
}

.doc-heading {
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
  font-weight: 650;
}

.doc-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.doc-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.doc-highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Pills under intro text */
.doc-pillRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.6rem 0 0.9rem;
}

@media (max-width: 640px) {
  .doc-pillRow {
    grid-template-columns: minmax(0, 1fr);
  }
}

.doc-pill {
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 15, 18, 0.95);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.doc-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Step list on left card */
.doc-steps {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.6rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.8rem;
}

.doc-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: flex-start;
}

.doc-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  flex-shrink: 0;
}

.doc-legal {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.doc-legal span {
  color: #fbbf24;
  font-weight: 500;
}

/* Form block */
.doc-form {
  display: grid;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.doc-form-row {
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 640px) {
  .doc-form-row--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.doc-labelTop {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.doc-labelMain {
  font-size: 0.8rem;
  font-weight: 500;
}

.doc-hint {
  font-size: 0.7rem;
  color: var(--muted);
  margin-left: 0.5rem;
  text-align: right;
}

.doc-required {
  color: #fbbf24;
  margin-left: 0.15rem;
}

.doc-input,
.doc-select,
.doc-textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--text);
  background: rgba(10, 10, 12, 0.98);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.8rem;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.doc-textarea {
  border-radius: 0.75rem;
  min-height: 80px;
  resize: vertical;
}

.doc-input:focus,
.doc-select:focus,
.doc-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.7);
  background: #07070b;
}

.doc-input::placeholder,
.doc-textarea::placeholder {
  color: #6b7280;
}

/* Checkbox + confirmation text */
.doc-checkboxRow {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.2rem;
  font-size: 0.6rem;
  color: var(--muted);
  line-height: 1.4;
}

.doc-checkboxRow input[type="checkbox"] {
  margin-top: 0.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Submit button + caption */
.doc-submitRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.doc-btnPrimary {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  background: linear-gradient(135deg, #22d3ee, var(--accent));
  color: #020617;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.doc-btnPrimary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 1);
  filter: brightness(1.05);
}

.doc-btnPrimary:active {
  transform: translateY(0);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.9);
}

.doc-submitCaption {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Bottom warning pill */
.doc-notice {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--muted);
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  padding: 0.4rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.doc-notice-icon {
  font-size: 0.9rem;
}

/* Footer line under form */
footer.doc-footer {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

footer.doc-footer strong {
  color: var(--accent);
  font-weight: 500;
}

.doc-notice--success {
  border-color: rgba(74, 222, 128, 0.7);
  color: #bbf7d0;
}

.doc-notice--error {
  border-color: rgba(248, 113, 113, 0.8);
  color: #fecaca;
}
.doc-error {
  font-size: 0.75rem;
  color: #fca5a5;
  margin-top: 4px;
}

/* SUCCESS + ERROR banners */
.doc-banner {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.4;
}

/* Success: white background, black text */
.doc-banner--success {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* Error: soft red accent */
.doc-banner--error {
  background: rgba(220, 38, 38, 0.15);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

/* Icon */
.doc-banner-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.doc-info {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.9rem;
  line-height: 1.45;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.doc-info strong {
  color: var(--accent);
}
