.ecp {
  height: 100%;
  width: 100%;
  min-width: 280px;
  max-width: 75vh;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.ecp__overlay {
  position: absolute;
  margin: 0 8px 8px;
  top: 84px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 16px;
  border-radius: 6px;
  display: none;
  flex-direction: column;
}
.ecp__overlay.visible {
  display: flex;
}
.ecp__overlay.error {
  background-color: #bf0711;
}
.ecp__overlay.warning {
  background-color: #fa9700;
}
.ecp__overlay p {
  flex: 1;
  padding: 0 32px;
  font-size: 20px;
  text-align: center;
  font-weight: normal;
  line-height: 26px;
  color: #ffffff;
}
@media (min-width: 47.25em) {
  .ecp__overlay p {
    font-size: 24px;
    line-height: 1.2;
  }
}
.ecp__overlay button {
  margin: 8px 2px 2px !important;
  font-weight: bold !important;
}
.ecp__overlay button.hidden {
  display: none;
}
.ecp__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ecp__event-info {
  background-color: #f4f6f8;
  display: flex;
  flex-direction: row;
  padding: 8px;
}
.ecp__event-info__img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-right: 8px;
}
.ecp__event-info__text {
  flex: 1;
  overflow: hidden;
}
.ecp__event-info__text p {
  margin: 0;
  line-height: 22px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ecp__event-info__text p:first-child {
  font-weight: 600;
}
.ecp__event-info__text p.small {
  margin: 0;
  font-size: 14px;
  line-height: 16px;
}
.ecp__flexer {
  flex: 1;
}
.ecp__calc {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ecp__calc__numbers {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 8px;
}
.ecp__calc__numbers__summands {
  min-height: 20px;
  text-align: center;
  margin: 0 0 16px 0;
}
.ecp__calc__numbers__input {
  font-size: 56px;
  line-height: 56px;
  color: #dfe3e8;
  font-weight: bold;
  margin: 0;
  text-align: center;
}
.ecp__calc__numbers__input.has-value {
  color: #212b36;
}
.ecp__calc__keypad {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.ecp__calc__keypad button {
  padding: 0 16px !important;
  max-height: 48px;
  height: 8vh;
}
.ecp__calc__keypad .span-2 {
  grid-column: span 2;
}
.ecp__cash-in {
  margin-top: 24px !important;
  padding: 16px !important;
  height: auto;
}
.ecp button {
  border-radius: 4px;
  margin: 2px;
  background: #f4f6f8;
  box-shadow: none;
  border: none;
  padding: 24px 16px;
  font-weight: normal;
  transition: background-color 0.1s ease 0s;
  touch-action: manipulation;
}
.ecp button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.ecp button.tapped {
  background: #dfe3e8;
}
.ecp button.primary {
  background: #60bf00;
  color: #ffffff;
  font-weight: bold;
}
.ecp button.primary:hover {
  background: #3a7300;
}
.ecp button.primary:active {
  background: #142602;
}
.ecp button:hover {
  background: #dfe3e8;
}
.ecp button:active {
  background: #c4cdd5;
}
.ecp button:disabled, .ecp button:disabled:hover, .ecp button:disabled:active {
  background: #c4cdd5 !important;
}