@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
.pinpad-iframe {
  min-width: fit-content;
}

.pin-pad {
  display: inline-block;
  width: 280px;
  max-height: 312px;
  min-width: fit-content;
  min-height: fit-content;
  border-radius: 2px;
  padding: 0;
  font-size: 28px;
  background: #f5f5f5;
  border: 1px solid #e2e2e2;
  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  font-family: sans-serif;
}

.pin-login__text {
  left: 0px;
  height: 62px;
  top: 0px;
  margin: 0px;
  padding: 20px 0px 0px 0px;
  display: block;
  width: 100%;
  font-size: 1.5em;
  text-align: center;
  letter-spacing: 0.2em;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  outline: none;
  cursor: default;
  text-align: center;
}

.pin-form {
  max-width: fit-content;
}

.pin-pad__keyboard {
  flex-direction: column;
}

.pin-pad__keyboard .grid-cols-1 .pin-login__key:first-child {
  margin-left: 0px !important;
}

.pin-pad__keyboard .grid-cols-1  .pin-login__key:last-child {
  margin-right: 0px !important;
}

.pin-login__key {
  width: 86px;
  height: 49px;
  margin: 4px;
  color: #333333 !important;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: bold;
  cursor: pointer;
  background-color: #F5F5F5;
  background-image: -moz-linear-gradient(center top, #FFFFFF, #E6E6E6);
  background-repeat: repeat-x;
  border-color: #CCCCCC #CCCCCC #B3B3B3;
  border-radius: 4px 4px 4px 4px;
  border-style: solid;
  border-width: 1px;
  margin-bottom: 0px;
  margin-top: 10px;
  margin-left: 5px;
  margin-right: 5px;
}

.hide-key {
   color: transparent;
}

.pin-pad__keyboard:hover .grid-cols-1 .hide-key {
   color: #F5F5F5 !important;
}

.pin-login__key__cancel {
  background-color: #f2a19a;
  color: white !important;
}

.pin-login__key__submit {
  background-color: #99c991;
  color: white !important;
}

.pin-login__key:active {
  background: rgba(0, 0, 0, 0.25);
}

.click-disabled {
  pointer-events: none;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
