/* AnswerKeypad.css */

.answer-keypad {
  background: #92acd0b0;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.25);
  padding: 0;
  position: fixed;
  z-index: 1000;
  border: none;
  min-width: 320px;
  max-width: 360px;
  user-select: none;
  /* iOS Safari fixes */
  touch-action: manipulation;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.keypad-close-x {
  position: absolute;
  top: 5px;
  right: 4px;
  z-index: 2;
  width: 38px;
  height: 38px;
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: background 0.2s;
}

.keypad-keys {
  display: grid;
  grid-template-columns: repeat(4, 56px);
  grid-gap: 16px;
  justify-content: center;
  margin: 48px 0 24px 0;
}

.keypad-btn {
  background: #4285f4;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 1.3em;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  padding: 0.7em 0;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Libertinus Math';
  /* iOS Safari fixes */
  touch-action: manipulation;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
}
.keypad-btn:active {
  background: #3367d6;
}

.keypad-enter {
  width: calc(100% - 32px);
  margin: 0 16px 16px 16px;
  font-size: 1.3em;
  background: #43a047;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.7em 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  /* iOS Safari fixes */
  touch-action: manipulation;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
}
.keypad-enter:active {
  background: #388e3c;
} 