body {
  margin: 0;
  background: #f4f6f8;
  color: #172033;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#root {
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
}

.app-sider {
  background: #152033;
  color: #fff;
}

.brand-block {
  height: 64px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-name {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.brand-subtitle {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.app-header {
  height: 64px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid #e8edf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-content {
  padding: 20px;
}

.page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.page-subtitle {
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
}

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.metric-card .ant-statistic-title {
  color: #667085;
}

.table-card,
.form-card {
  margin-top: 16px;
}

.json-view {
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  margin: 0;
  background: #101828;
  color: #e5e7eb;
  border-radius: 6px;
  font-size: 12px;
}

.url-text {
  word-break: break-all;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eef2f7;
}

.login-card {
  width: min(380px, calc(100vw - 32px));
  padding: 28px;
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(23, 32, 51, 0.12);
}

.login-card .brand-name {
  color: #172033;
}

.login-card h1 {
  margin: 14px 0 22px;
  font-size: 22px;
}

.login-card label {
  display: block;
  margin: 14px 0 6px;
  color: #475467;
  font-size: 13px;
}

.login-card input {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  border: 1px solid #cfd6e2;
  border-radius: 6px;
  font-size: 14px;
}

.login-card button {
  width: 100%;
  height: 40px;
  margin-top: 20px;
  border: 0;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.login-card p {
  min-height: 20px;
  margin: 12px 0 0;
  color: #d92d20;
  font-size: 13px;
}

@media (max-width: 860px) {
  .app-content {
    padding: 12px;
  }

  .app-header {
    padding: 0 14px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}
