.Keypad {
  background: #f8f8f8;
  border-radius: var(--border-radius);
  border: 1px solid #e0e0e0;
  padding: 0.4em;
}

.Keypad__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  touch-action: manipulation;
}

.Keypad__display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  padding: 1em;
  font-size: 1.5em;
  position: relative;
}

.Keypad__amount {
  color: var(--dark);
  font-weight: 500;
}

.Keypad__currency {
  color: var(--gray);
}

.Keypad__buttons {
  display: grid;
  gap: 0.2em;
  width: 100%;
  justify-content: space-between;
  padding: 0.05em;
  grid-template-columns: repeat(6, 1fr);
}

.Keypad__actions {
  display: flex;
  flex-direction: row;
  gap: 0.1em;
  justify-content: space-between;
  width: 100%;
  padding: 0.05em;
}

.Keypad__button {
  padding: 0.3em;
  font-size: 0.9em;
  font-weight: 500;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  flex: 1;
}

.Keypad__button.is-wide {
  grid-column: span 2;
}

.Keypad__button:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.Keypad__button:active {
  background: #e8e8e8;
  transform: scale(0.98);
}

.Keypad__button--clear {
  position: absolute;
  top: 0;
  right: 0.2em;
  border: none;
  flex: none;
  max-width: none;
  background: transparent;
}

@media all and (max-width: 640px) {
  .Keypad__display {
    font-size: 1.2em;
  }
  .Keypad__buttons,
  .Keypad__actions {
    padding: 0.02em;
  }
  .Keypad__button {
    font-size: 1em;
  }
}

/*# sourceMappingURL=keypad.css.map */
