.promo-redeem {
  border: 1px solid #EDEDED;
  border-radius: 16px;
  padding: 0 16px; }

.promo-redeem [hidden] {
  display: none !important; }

.promo-redeem__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  cursor: pointer; }

.promo-redeem__toggle-label {
  color: #000000;
  font: normal 500 14px/20px "Noto Sans Armenian", "Noto Sans", sans-serif; }

.promo-redeem__toggle-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none; }

.promo-redeem__switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background-color: #E5E5E5;
  transition: background-color 0.2s ease; }
  .promo-redeem__switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease; }

.promo-redeem__toggle-input:checked + .promo-redeem__switch {
  background-color: #72BF44; }
  .promo-redeem__toggle-input:checked + .promo-redeem__switch::after {
    transform: translateX(18px);
    background-color: #1E3A10; }

.promo-redeem__toggle-input:focus-visible + .promo-redeem__switch {
  outline: 2px solid #72BF44;
  outline-offset: 2px; }

.promo-redeem__body {
  padding-bottom: 16px; }

.promo-redeem__input-wrap {
  position: relative; }

.promo-redeem__input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background-color: #F5F5F5;
  color: #000000;
  font: normal 400 14px/20px "Noto Sans Armenian", "Noto Sans", sans-serif;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease; }
  .promo-redeem__input:focus {
    border-color: #72BF44;
    background-color: #ffffff; }

.promo-redeem__spinner,
.promo-redeem__valid-icon {
  display: none;
  position: absolute;
  top: 50%;
  right: 14px;
  margin-top: -10px; }

.promo-redeem__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #D9D9D9;
  border-top-color: transparent;
  border-radius: 50%;
  animation: promo-redeem-spin 0.8s linear infinite; }

.promo-redeem--checking .promo-redeem__spinner,
.promo-redeem--valid .promo-redeem__valid-icon {
  display: block; }

.promo-redeem--invalid .promo-redeem__input {
  border-color: #C32E27;
  background-color: #ffffff; }

.promo-redeem__error {
  color: #C32E27;
  font: normal 400 12px/16px "Noto Sans Armenian", "Noto Sans", sans-serif; }
  .promo-redeem__error:not(:empty) {
    padding-bottom: 12px; }

@keyframes promo-redeem-spin {
  to {
    transform: rotate(360deg); } }
