/* ERRORS */
.error-icon{
  display: none;
}

.error-icon.active{
  display: block;
}

.true-icon{
  display: none;
}

.true-icon.active{
  display: block;
}

.text-danger{
  display: none;
}

.text-danger.active{
  display: block;
}

/* PROMO BLOCK */
.promo-block{
  width: 100%;
  background-color: #f8f8f8 !important;
  padding: 10px;
  margin-top: 30px;
  border-radius: 8px;
  border: 1px solid #dee2e6 !important;
}

.promo-text{
  color: #595959;
}

.promo-input{
  padding: 5px 10px;
  border: 1px solid #dee2e6 !important;
}

.input-promo-error-icon{
  display: none;
}

.promo-wrapper {
  position: relative;
  display: inline-block;
}

.promo-input {
  padding-right: 24px;
}

.input-promo-error-icon {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  pointer-events: none;
}


.input-promo-error-icon.active{
  display: block;
}

.input-promo-true-icon {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  pointer-events: none;
  display: none;
}

.input-promo-true-icon.active{
  display: block;
}

/* LOADER */
.loader-overlay {
  position: fixed;       /* фиксируем поверх всего */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.466); /* белый фон */
  display: flex;           /* для центрирования */
  justify-content: center;
  align-items: center;
  z-index: 9999;           /* поверх всего */
  display: none;
}

.loader-overlay.active{
  display: flex;
}

/* Лоадер */
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;       /* белый цвет */
  border-bottom-color: transparent; /* прозрачная часть для вращения */
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

/* Анимация вращения */
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
