.spcf-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 40px 20px;
  overflow-y: auto;
}

.spcf-modal-content {
  background: #fff;
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.spcf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.spcf-modal-header h2 {
  margin: 0;
}

.spcf-modal-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #50575e;
}

.spcf-log-filters {
  margin-bottom: 12px;
}

.spcf-log-filters select {
  min-width: 220px;
}

.spcf-log-loading,
.spcf-log-empty {
  padding: 16px 0;
  color: #50575e;
}

.spcf-log-table td,
.spcf-log-table th {
  vertical-align: top;
}

.spcf-log-event {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.spcf-log-event--neutral {
  background: #eef2f6;
  color: #334155;
}

.spcf-log-event--downloaded {
  background: #dbeafe;
  color: #1d4ed8;
}

.spcf-log-event--uploaded {
  background: #dcfce7;
  color: #166534;
}

.spcf-log-event--status {
  background: #fef3c7;
  color: #92400e;
}

.spcf-log-event--deleted,
.spcf-log-event--failed {
  background: #fee2e2;
  color: #b91c1c;
}

.spcf-log-event--emailed {
  background: #ede9fe;
  color: #6d28d9;
}
