/* From Uiverse.io by mahiatlinux */
/* From Uiverse.io by Yaya12085 - Modified for Dark Mode */
.radio-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  z-index: 1;
  width: fit-content;
  -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: #9666d0;
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.1);
  color: #9666d0;
}

.radio-input:checked + .radio-tile:before {
  transform: scale(1);
  opacity: 1;
  background-color: #9666d0;
  border-color: #9666d0;
}

.radio-input:checked + .radio-tile .radio-icon svg {
  fill: #9666d0;
}

.radio-input:checked + .radio-tile .radio-label {
  color: #9666d0;
}

.radio-input:focus + .radio-tile {
  border-color: #9666d0;
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.1), 0 0 0 4px #632aa4;
}

.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 #4a5265;
  background-color: #1e2129;
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.05);
  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 #4a5265;
  background-color: #1e2129;
  border-radius: 50%;
  top: 0.25rem;
  left: 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: 0.25s ease;
}

.radio-tile:hover {
  border-color: #9666d0;
}

.radio-tile:hover:before {
  transform: scale(1);
  opacity: 1;
}

.radio-icon svg {
  width: 2rem;
  height: 2rem;
  fill: #b6b6b6;
  stroke-width: 2;
}

.radio-label {
  color: #8f8f8f;
  transition: 0.375s ease;
  text-align: center;
  font-size: 13px;
  font-family: Kodchasan;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.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;
}
