#dllgn-error-banner {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fde8e8;
  color: #b42318;
  font-size: 14px;
  line-height: 1.4;
}

#dllgn-error-banner.dllgn-error-banner--visible {
  display: block;
}

#dllgn-login-view #dllgn-waiting {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 180px;
  color: #3c3c3c;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

#dllgn-flow-screens {
  margin-top: 0;
}

#dllgn-flow-screens .dllgn-screen.card.box,
#dllgn-login-view #dllgn-waiting.card.box {
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

#dllgn-flow-screens .dllgn-screen {
  display: none;
  color: #3c3c3c;
}

#dllgn-flow-screens .dllgn-screen--center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  min-height: 180px;
}

#dllgn-flow-screens .dllgn-flow-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #3c3c3c;
}

#dllgn-flow-screens .dllgn-label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #3c3c3c;
}

#dllgn-flow-screens .dllgn-flow-text {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 24px;
  color: #3c3c3c;
}

#dllgn-flow-screens .dllgn-flow-text--lead {
  font-size: 16px;
  line-height: 24px;
}

#dllgn-flow-screens .dllgn-flow-text--bold {
  font-weight: 600;
}

#dllgn-flow-screens .dllgn-input-wrap {
  margin-bottom: 16px;
}

#dllgn-flow-screens .dllgn-flow-input,
#dllgn-flow-screens .form-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #3c3c3c;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  outline: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#dllgn-flow-screens .dllgn-flow-input.text-center,
#dllgn-flow-screens .form-control.text-center {
  text-align: center;
  letter-spacing: 0.2em;
}

#dllgn-flow-screens .dllgn-flow-input:focus,
#dllgn-flow-screens .form-control:focus {
  border-color: #00ae53;
  box-shadow: 0 0 0 1px #00ae53;
}

#dllgn-flow-screens .dllgn-flow-input:disabled,
#dllgn-flow-screens .form-control:disabled {
  background: #f4f4f4;
  color: #8a8a8a;
}

#dllgn-flow-screens #dllgn-otp-input {
  max-width: 280px;
  margin: 0 auto;
}

#dllgn-flow-screens .dllgn-flow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 10px 24px;
  border: 1px solid #3c3c3c;
  border-radius: 200px;
  background: transparent;
  color: #3c3c3c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#dllgn-flow-screens .dllgn-flow-btn:hover {
  background: rgba(60, 60, 60, 0.08);
}

#dllgn-flow-screens .dllgn-flow-btn:disabled,
#dllgn-flow-screens .dllgn-flow-btn.dllgn-loading {
  opacity: 0.65;
  pointer-events: none;
}

#dllgn-flow-screens .dllgn-inline-error {
  display: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fde8e8;
  color: #b42318;
  font-size: 14px;
  line-height: 1.4;
}

#dllgn-flow-screens .dllgn-card-row {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

#dllgn-flow-screens .dllgn-card-row > div {
  flex: 1;
  min-width: 0;
}

#dllgn-flow-screens .dllgn-push-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 8px 0;
}

#dllgn-flow-screens .dllgn-push-panel .dllgn-flow-text {
  margin: 0;
}

.dllgn-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e8e8e8;
  border-top-color: #00ae53;
  border-radius: 50%;
  animation: dllgn-spin 0.8s linear infinite;
  flex-shrink: 0;
}

.dllgn-spinner--lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

@keyframes dllgn-spin {
  to {
    transform: rotate(360deg);
  }
}

#dllgn-flow-screens .dllgn-photo-drop {
  border: 1px dashed #c8c8c8;
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  color: #666;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.45;
}

#dllgn-flow-screens .dllgn-photo-drop--over,
#dllgn-flow-screens .dllgn-photo-drop:hover {
  border-color: #00ae53;
  background: #f5faf7;
}

#dllgn-flow-screens .dllgn-photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#dllgn-flow-screens .dllgn-photo-thumb {
  position: relative;
  width: 64px;
  height: 64px;
}

#dllgn-flow-screens .dllgn-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

#dllgn-flow-screens .dllgn-photo-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #e30613;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

#dllgn-flow-screens .dllgn-qr-host {
  display: inline-block;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

#dllgn-flow-screens .dllgn-qr-host-wrap {
  text-align: center;
  margin: 12px 0 16px;
}

#dllgn-flow-screens .dllgn-qr-host img,
#dllgn-flow-screens .dllgn-qr-host .dllgn-qr-svg svg {
  display: block;
  max-width: 200px;
  max-height: 200px;
}
