.pd-saas-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 16px;
}

.pd-saas-card {
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.pd-saas-head {
  margin-bottom: 16px;
}

.pd-saas-title {
  margin: 0 0 6px 0;
  font-size: 22px;
  line-height: 1.2;
}

.pd-saas-sub {
  margin: 0;
  color: rgba(15, 23, 42, 0.75);
  font-size: 14px;
  line-height: 1.45;
}

.pd-saas-field {
  margin: 14px 0;
}

.pd-saas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .pd-saas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pd-saas-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pd-saas-input {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.2;
  background: #fff;
  outline: none;
  transition: box-shadow 120ms ease, border-color 120ms ease;
}

.pd-saas-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.pd-saas-hint {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.68);
}

.pd-saas-pass {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pd-saas-pass .pd-saas-input {
  flex: 1;
}

.pd-saas-pass-toggle {
  flex: none;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 13px;
  cursor: pointer;
}

.pd-saas-fieldset {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
}

.pd-saas-legend {
  font-size: 13px;
  font-weight: 700;
  padding: 0 6px;
}

.pd-saas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pd-saas-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
  transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.pd-saas-pill:hover {
  border-color: rgba(37, 99, 235, 0.5);
}

.pd-saas-pill-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pd-saas-pill-label {
  font-size: 13px;
  font-weight: 600;
}

.pd-saas-pill.is-checked {
  border-color: rgba(37, 99, 235, 0.75);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.pd-saas-actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.pd-saas-btn {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.pd-saas-btn:hover {
  background: #1d4ed8;
}

.pd-saas-footnote {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
}

