/* iNat TrailCam Local V28 — productivity controls below the player only. */

.v14-capture-actions {
  grid-template-columns: minmax(190px, 1.35fr) minmax(160px, .95fr) minmax(150px, .72fr);
}

.v28-clear-captures {
  width: 100%;
  min-width: 0;
  padding-inline: .72rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9b332e;
  background: #fffdf9;
  border: 1px solid #d8b0ac;
  font-weight: 800;
}

.v28-decision-controls {
  grid-template-columns: minmax(120px, .72fr) minmax(180px, 1fr) minmax(240px, 1.72fr);
  gap: .46rem;
}

.v28-decision-controls > [hidden] {
  display: none !important;
}

.v28-ignore-next {
  width: 100%;
  min-width: 0;
  padding-inline: .72rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  color: #9e2f2a;
  background: #fffdf9;
  border: 1px solid #cf655d;
  font-weight: 900;
}

.v28-ignore-next:hover:not(:disabled) {
  color: #fff;
  background: #b83b35;
  border-color: #b83b35;
}

.v28-reviewed-next {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}

.v28-button-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v28-shortcut-hint {
  flex: 0 0 auto;
  min-width: 1.55rem;
  padding: .12rem .32rem;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: rgba(255, 255, 255, .18);
  font: inherit;
  font-size: .64rem;
  font-weight: 900;
  line-height: 1.15;
  opacity: .78;
  text-align: center;
  white-space: nowrap;
}

.v14-previous-button,
.v28-reviewed-next,
#btnCapture,
#btnSaveLocalPackage {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
}

.submit-card #btnSaveLocalPackage {
  min-height: 48px;
}

@media (max-width: 900px) {
  .v28-decision-controls {
    grid-template-columns: minmax(110px, .75fr) minmax(170px, 1fr) minmax(220px, 1.45fr);
  }
}

@media (max-width: 720px) {
  .v14-capture-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v14-capture-primary {
    grid-column: 1 / -1;
  }

  .v28-clear-captures {
    min-height: 42px;
  }

  .v28-decision-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v28-decision-controls .v14-previous-button {
    grid-column: 1;
  }

  .v28-ignore-next {
    grid-column: 2;
  }

  .v28-reviewed-next {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .v14-capture-actions,
  .v28-decision-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .v14-capture-primary,
  .v14-new-observation,
  .v28-clear-captures,
  .v28-decision-controls .v14-previous-button,
  .v28-ignore-next,
  .v28-reviewed-next {
    grid-column: 1;
    width: 100%;
  }
}

@media (max-width: 900px) and (min-width: 721px) {
  .v28-decision-controls .v14-previous-button,
  .v28-decision-controls .v28-ignore-next,
  .v28-decision-controls .v28-reviewed-next {
    grid-column: auto;
    justify-self: stretch;
  }
}
