.main-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80vh;
}

.needs-validation .form-control:valid {
  border-color: #28a745;
}

.invalid-checkbox,
.invalid-password-match {
  color: #dc3545;
  display: none;
}

.centered-input {
  position: relative;
}

.eye-icon {
  position: absolute;
  right: 35px;
  top: 30px;
  transform: translateY(-50%);
  cursor: pointer;
}

.radio-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 350px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.radio-inputs > * {
  margin: 6px;
}

.radio-input:checked + .radio-tile {
  border-color: #28a745;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #28a745;
}

.radio-input:checked + .radio-tile:before {
  transform: scale(1);
  opacity: 1;
  background-color: #28a745;
  border-color: #28a745;
}

.radio-input:checked + .radio-tile .radio-icon svg {
  fill: #28a745;
}

.radio-input:checked + .radio-tile .radio-label {
  color: #28a745;
}

.radio-input:focus + .radio-tile {
  border-color: #28a745;
  /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 2px #d58c91; */
}

.radio-input:focus + .radio-tile:before {
  transform: scale(1);
  opacity: 1;
}

.radio-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  min-height: 80px;
  border-radius: 0.5rem;
  border: 2px solid #b5bfd9;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0.15s ease;
  cursor: pointer;
  position: relative;
}

.radio-tile:before {
  content: "";
  position: absolute;
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid #b5bfd9;
  background-color: #fff;
  border-radius: 50%;
  top: 0.25rem;
  left: 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: 0.25s ease;
}

.radio-tile:hover {
  border-color: #28a745;
}

.radio-tile:hover:before {
  transform: scale(1);
  opacity: 1;
}

.radio-icon svg {
  width: 2rem;
  height: 2rem;
  fill: #494949;
}

.radio-label {
  color: #707070;
  transition: 0.375s ease;
  text-align: center;
  font-size: 14px;
  font-weight: bolder;
}

.radio-input {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.bg {
  background-color: var(--light-background);
}

.username-selected {
  color: #fff !important;
  background-color: #28a745 !important;
}

.username:hover {
  cursor: pointer;
}

.user-exist-alert {
  color: #dc3545;
  margin-top: 0.25rem;
  font-size: 0.875em;
}

.suggested-label .suggest-label {
  margin-right: 1rem;
}

.suggested-names .username {
  cursor: pointer;
  margin-top: 0.25rem;
  font-size: 0.875em;
  border-radius: 0.25rem;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  transition: background-color 0.2s ease-in-out;
}

.suggested-names .username:hover {
  background-color: #e9ecef;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}

.shake {
  animation: shake 0.5s;
}

@media (max-width: 767px) {
  .w-50 {
    width: 100% !important;
  }
}
