.pincode-container {
  display: block;
  background: #fff;
  width: 100%;
  max-width: 16rem;
  min-height: 3rem;
  border-radius: .4rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

  .pincode-container .form {
    display: block;
  }

.form__group {
  margin: 10px 0 0;
}

.form__group--error.form__pincode > input {
  background-color: #eb3b3b;
}

  .form__group--error.form__pincode > input[disabled] {
    background-color: #eb3b3b;
    color: #fff;
    opacity: 1;
  }

.form__group--success.form__pincode > input {
  background-color: #32c832;
}

  .form__group--success.form__pincode > input[disabled] {
    background-color: #32c832;
    color: #fff;
    opacity: 1;
  }

.form__pincode {
  display: block;
  width: 100%;
  margin: 10px auto 20px;
  padding: 0;
}

  .form__pincode:before,
  .form__pincode:after {
    display: table;
    content: '';
  }

  .form__pincode:after {
    clear: both;
  }

  .form__pincode > label {
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  .form__pincode > input[type="number"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
  }

  .form__pincode > input {
    display: inline-block;
    float: left;
    width: 13%;
    height: 1.4em;
    line-height: calc(1.4em - 2px);
    text-align: center;
    font-size: 2em;
    color: #181819;
    border: 0;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: .4rem;
    transition: background-color 0.3s, color 0.3s, opacity 0.3s;
    cursor: default;
    user-select: none;
    margin: 0;
    margin-top: 10px;
    margin-right: 2%;
    padding: 0;
    position: relative;
  }

    .form__pincode > input::placeholder {
      opacity: 0.5;
      color: #808080;
    }

  .form__pincode > span {
    display: inline-block;
    float: left;
    width: 5%;
    height: 1.4em;
    line-height: calc(1.4em - 2px);
    text-align: center;
    font-size: 2em;
    color: #a5a5a8;
    border: 0;
    margin: 0;
    margin-top: 10px;
    margin-right: 2%;
    padding: 0;
  }

    .form__pincode > input:focus {
      outline: 0;
      box-shadow: none;
      border-color: #1486f0;
      animation: border-pulsate 1.5s infinite;
      -webkit-tap-highlight-color: transparent;
    }

    .form__pincode > input:last-child {
      margin-right: 0;
    }

    .form__pincode > input[disabled] {
      background: #eee;
      opacity: 1;
    }

.form__buttons {
  text-align: center;
  margin: 0 auto;
  padding: 10px 0 0;
}

/* Placeholder
   ============================================== */
/* Chrome/Opera/Safari */
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.7;
}
/* Firefox 19+ */
::-moz-placeholder {
  color: inherit;
  opacity: 0.7;
}
/* IE 10+ */
:-ms-input-placeholder {
  color: inherit;
  opacity: 0.7;
}
/* Firefox 18- */
:-moz-placeholder {
  color: inherit;
  opacity: 0.7;
}
/* Animations
   ============================================== */
@-moz-keyframes border-pulsate {  0% { border-color: #1486f0; } 50% { border-color: rgba(0,0,0,0.3); } 100% { border-color: #1486f0; } }
@-webkit-keyframes border-pulsate { 0% { border-color: #1486f0; } 50% { border-color: rgba(0,0,0,0.3); } 100% { border-color: #1486f0; } }
@-o-keyframes border-pulsate { 0% { border-color: #1486f0; } 50% { border-color: rgba(0,0,0,0.3); } 100% { border-color: #1486f0; } }
@keyframes border-pulsate { 0% { border-color: #1486f0; } 50% { border-color: rgba(0,0,0,0.3); } 100% { border-color: #1486f0; } }