.room-code-input {
  position: relative;
  width: 100%;
  margin: 20px 0;

  &__cells {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  &__cell {
    flex: 1;
    height: 60px;
    margin: 0 5px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #333;
    position: relative;
    border: 2px solid transparent;

    &--active {
      border-color: #4285f4;
    }
  }

  &__cursor {
    position: absolute;
    width: 2px;
    height: 24px;
    background-color: #4285f4;
    animation: blink 1s infinite;
  }

  &__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    caret-color: transparent;
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
} 