.dashboard-sgf-card {
  display: grid;
  gap: 22px;
}

.dashboard-sgf-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-sgf-heading h2 {
  margin: 0;
}

.dashboard-sgf-heading p {
  margin: 6px 0 0;
  color: #999;
  line-height: 1.5;
}

.dashboard-sgf-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 16px;

  border: 1px solid #292929;
  border-radius: 12px;

  background: #111;
}

.dashboard-sgf-current span {
  color: #999;
}

.dashboard-sgf-current strong {
  font-size: 15px;
}

.dashboard-sgf-form {
  display: grid;
  gap: 18px;
}

.dashboard-sgf-options {
  display: grid;
  gap: 10px;

  margin: 0;
  padding: 0;

  border: 0;
}

.dashboard-sgf-options legend {
  margin-bottom: 10px;

  font-size: 13px;
  font-weight: 800;
}

.dashboard-sgf-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;

  padding: 14px;

  border: 1px solid #292929;
  border-radius: 12px;

  cursor: pointer;
}

.dashboard-sgf-option:hover {
  border-color: #444;
}

.dashboard-sgf-option input {
  margin-top: 3px;
}

.dashboard-sgf-option strong {
  display: block;
  margin-bottom: 4px;
}

.dashboard-sgf-option small {
  display: block;

  color: #999;

  font-size: 12px;
  line-height: 1.45;
}

.dashboard-sgf-warning {
  margin: 0;

  padding: 14px;

  border: 1px solid #553e16;
  border-radius: 12px;

  background: #1c160b;
  color: #e8c77d;

  font-size: 13px;
  line-height: 1.5;
}

.dashboard-sgf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-sgf-actions button {
  min-height: 42px;

  padding: 0 16px;

  border-radius: 10px;

  font: inherit;
  font-weight: 700;

  cursor: pointer;
}

.dashboard-sgf-save {
  border: 0;

  background: #fff;
  color: #000;
}

.dashboard-sgf-refresh {
  border: 1px solid #333;

  background: transparent;
  color: #ddd;
}

.dashboard-sgf-actions button:disabled {
  opacity: .45;
  cursor: default;
}

.dashboard-sgf-error,
.dashboard-sgf-message {
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-sgf-error {
  color: #ff8e8e;
}

.dashboard-sgf-message {
  color: #aaa;
}

.dashboard-sgf-error[hidden],
.dashboard-sgf-message[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .dashboard-sgf-heading,
  .dashboard-sgf-current {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-sgf-actions {
    display: grid;
  }
}
