/* =========================================================================
   Thai Virtual Keyboard styles — pairs with thai-keyboard.js.
   Hidden by default; shown only on mobile (max-width: 768px).
   ========================================================================= */

.fake-thai-keyboard {
  display: none; /* shown on mobile via media query below */
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: #f0f0f0;
  width: 100%;
}

.keyboard-row {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
  width: 100%;
}

.key-button {
  padding: 10px;
  margin: 2px;
  font-size: 1.2em;
  min-width: 0;
  height: 45px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  flex-basis: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: sans-serif;
}

.special-key {
  /* hook for widening shift/backspace if desired */
}

.key-button.shift-active {
  background-color: #cce5ff;
  border-color: #007bff;
}

.key-button:active {
  background-color: #ddd;
}

@media (max-width: 768px) {
  .fake-thai-keyboard {
    display: flex;
  }
}