/* Stage 11 micro-polish: final alignment corrections after premium styling. */

/* iOS/WebKit date and time controls need their internal value box centered explicitly. */
.compact-date-row input[type="date"],
.compact-date-row input[type="time"],
.premium-pair-row input[type="date"],
.premium-pair-row input[type="time"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-block: 0 !important;
  line-height: normal !important;
  text-align: center !important;
  text-align-last: center !important;
}
.compact-date-row input[type="date"]::-webkit-date-and-time-value,
.compact-date-row input[type="time"]::-webkit-date-and-time-value,
.premium-pair-row input[type="date"]::-webkit-date-and-time-value,
.premium-pair-row input[type="time"]::-webkit-date-and-time-value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: normal;
}
.compact-date-row input[type="date"]::-webkit-datetime-edit,
.compact-date-row input[type="time"]::-webkit-datetime-edit,
.premium-pair-row input[type="date"]::-webkit-datetime-edit,
.premium-pair-row input[type="time"]::-webkit-datetime-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.compact-date-row input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.compact-date-row input[type="time"]::-webkit-datetime-edit-fields-wrapper,
.premium-pair-row input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.premium-pair-row input[type="time"]::-webkit-datetime-edit-fields-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Saved multi-day Trip deletion should sit on the same visual centreline as the row content. */
.latent-trip-item .swipe-delete-action,
.trip-detail-swipe .swipe-delete-action {
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  writing-mode: horizontal-tb !important;
}
