:root {
  --primary-color: #FFDA05;
  --secondary-color: #FFB905;
  --color-text: #0C0D0D;
}

.theme-blue {
  --primary-color: #405DFF;
  --secondary-color: #2F4DFF;
  --color-text: #fff;
}

.sign-in__switchers, .sign-in__another {
  max-width: 440px;
  margin: 0 auto;
}
.sign-in__form {
  margin-bottom: 35px;
}
.sign-in__form#register {
  display: none;
}
.sign-in__switchers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #242525;
  padding: 10px;
  margin-bottom: 30px;
}
.sign-in__switcher {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  padding: 12px;
  background-color: #383939;
  cursor: pointer;
  width: 50%;
  text-align: center;
  transition: 0.3s ease;
}
.sign-in__switcher:hover {
  background-color: #525353;
}
.sign-in__switcher input {
  display: none;
}
.sign-in__switcher.active {
  color: #0C0D0D;
  background-color: #fff;
}
.sign-in__switcher.active span {
  color: #0C0D0D;
}
.sign-in__or {
  color: rgba(255, 255, 255, 0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  margin-top: 25px;
}
.sign-in__or p {
  margin: 0 12px;
}
.sign-in__or::before, .sign-in__or::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}
.sign-in__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.sign-in__item {
  width: 54px;
  height: 54px;
}
.sign-in__item img {
  width: 100%;
  height: 100%;
}
.sign-in__text[data-type=register] {
  display: none;
}
.sign-in__text p {
  color: rgba(255, 255, 255, 0.8);
}
.sign-in__text p:not(:last-child) {
  margin-bottom: 10px;
}
.sign-in__text a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sign-in__text a:hover {
  text-decoration: unset;
}
@media screen and (max-width: 768px) {
  .sign-in__switcher {
    padding: 12px 5px;
    font-size: 16px;
  }
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid {
  background-image: none !important;
}

.text-danger, .invalid-feedback {
  color: #962323 !important;
}
