.credential-body {
  background: #f6f8fb;
}

.credential-shell {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: 1120px;
  padding: 104px 22px 28px;
}

.credential-head,
.credential-panel {
  background: #ffffff;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  padding: 20px;
}

.credential-head h1 {
  color: #0f172a;
  font-size: 34px;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.credential-head p {
  color: #4b5b73;
  margin: 0;
}

.credential-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
}

.connections-panel {
  grid-column: 1 / -1;
}

.credential-form {
  display: grid;
  gap: 12px;
}

.credential-form label {
  color: #344054;
  display: grid;
  font-size: 13px;
  font-weight: 850;
  gap: 6px;
}

.credential-form input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font: inherit;
  min-height: 44px;
  padding: 8px 10px;
}

.provider-description,
.setup-note {
  color: #5b667a;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}

.provider-list,
.connection-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.provider-row {
  background: #ffffff;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 12px;
  text-align: left;
}

.provider-row.active {
  background: #eef6ff;
  border-color: #6aa6dd;
}

.provider-row small,
.connection-row small,
.connection-result small {
  color: #667085;
  font-weight: 800;
}

.credential-actions,
.setup-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.connection-result {
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px;
}

.connection-result code,
.connection-row code {
  background: #0f172a;
  border-radius: 6px;
  color: #ffffff;
  display: inline-block;
  font-size: 12px;
  overflow-wrap: anywhere;
  padding: 5px 7px;
}

.connection-row {
  align-items: center;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.form-message.error {
  color: #9d2b2b;
}

@media (max-width: 760px) {
  .credential-shell {
    padding: 88px 14px 22px;
  }

  .credential-layout {
    grid-template-columns: 1fr;
  }

  .connection-row {
    align-items: start;
    flex-direction: column;
  }
}
