/*
 * Sun position: three markers on the dial (sun, sunrise, sunset) with a legend,
 * and the facts. Shared controls are in /css/tool-ui.css.
 */

.sun-marker-now .tool-marker__dot {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  background: #ecc94b;
  box-shadow: 0 0 0 2px #fff, 0 0 10px 3px rgba(236, 201, 75, 0.7);
}

.sun-marker-now.is-below .tool-marker__dot {
  background: #a0aec0;
  box-shadow: 0 0 0 2px #fff, 0 1px 5px rgba(0, 0, 0, 0.3);
}

.sun-marker-rise .tool-marker__dot {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: #ed8936;
}

.sun-marker-set .tool-marker__dot {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: #805ad5;
}

.sun-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.sun-key::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-inline-end: 6px;
  border-radius: 50%;
  vertical-align: -1px;
}

.sun-key--now::before {
  background: #ecc94b;
}

.sun-key--rise::before {
  background: #ed8936;
}

.sun-key--set::before {
  background: #805ad5;
}

.sun-now {
  justify-self: start;
}
