/*
ServicePress Admin Styles
Version: 2.1.0
Text Domain: servicepress
*/

.sp-wrap {
  margin-top: 16px;
}

.sp-lead {
  color: #50575e;
  margin-bottom: 18px;
}

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.sp-card {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.sp-card h2,
.sp-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.sp-stat {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 6px;
}

.sp-muted {
  color: #646970;
}

.sp-section {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 10px;
  padding: 18px;
  margin-top: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.sp-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
  border: 1px solid transparent;
}

.sp-badge-ok {
  background: #edfaef;
  color: #116329;
  border-color: #9ad9aa;
}

.sp-badge-warn {
  background: #fff8e5;
  color: #8a5a00;
  border-color: #e6c15a;
}

.sp-badge-error {
  background: #fcf0f1;
  color: #8a2424;
  border-color: #e0a4a4;
}

.sp-badge-info {
  background: #eef4ff;
  color: #1d4f91;
  border-color: #a8c4f0;
}

.sp-kv {
  margin: 0;
  padding: 0;
}

.sp-kv li {
  list-style: none;
  margin: 0 0 8px;
}

.sp-kv strong {
  display: inline-block;
  min-width: 180px;
}

.sp-pre {
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 480px;
}

.sp-tabs {
  margin: 12px 0 16px;
}

.sp-tabs a {
  display: inline-block;
  text-decoration: none;
  margin-right: 8px;
  padding: 8px 12px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #fff;
  color: #1d2327;
}

.sp-tabs a.sp-tab-active {
  background: #2271b1;
  color: #fff;
  border-color: #2271b1;
}

.sp-table-compact th,
.sp-table-compact td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.sp-callout {
  border-left: 4px solid #2271b1;
  background: #fff;
  padding: 14px 16px;
  margin: 16px 0;
}

.sp-callout-warning {
  border-left-color: #dba617;
}

.sp-callout-error {
  border-left-color: #d63638;
}

.sp-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
