/* The DSP home page: the buttons to tap and the messages above them. */

/* Clock In, Clock Out, Record MAR and Add Client Session all look the same:
   a round, solid button in the main color, the same size on every screen.
   Red and yellow are kept for real problems, so no button wears them. */
.clock-action {
  width: 100%;
  min-width: 16rem;
  max-width: 28rem;
  gap: 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Messages for the DSP: flat, quiet cards that never look like a button.
   The card is a shade darker than the page so the white rows to tap inside
   it stand out. */
.clock-banner {
  border: 1px solid var(--color-base-300);
  border-radius: 0.75rem;
  background: var(--color-base-200);
  color: var(--color-base-content);
  box-shadow: none;

  & > svg, & > div > svg { color: color-mix(in oklab, var(--color-base-content) 60%, transparent); }
}

/* The one message that stays yellow: Clock In is stopped until something is
   fixed. */
.clock-banner--stop {
  border-color: color-mix(in oklab, var(--color-warning) 55%, var(--color-base-100));
  background: color-mix(in oklab, var(--color-warning) 18%, var(--color-base-100));

  & > svg, & > div > svg { color: var(--color-warning-content); }
}
