.dialog-input.lobby-password-input--error,
.dialog-input.lobby-password-input--error:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(255, 85, 0, 0.55), 0 0 0 4px rgba(255, 85, 0, 0.12);
}

.dialog-container.lobby-password-dialog--error {
  animation: lobby-password-dialog-shake 0.42s ease;
}

@keyframes lobby-password-dialog-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

.faceit-password-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 85, 0, 0.35);
  background: linear-gradient(90deg, rgba(255, 85, 0, 0.14) 0%, rgba(36, 36, 36, 0.95) 28%);
  box-shadow: inset 3px 0 0 #ff5500;
  text-align: left;
  animation: faceit-password-error-in 0.25s ease;
}

@keyframes faceit-password-error-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faceit-password-error__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #ff5500;
}

.faceit-password-error__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.faceit-password-error__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.faceit-password-error__title {
  color: #fff;
  font-family: Poppins, Play, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.faceit-password-error__message {
  color: #b8b8b8;
  font-family: Poppins, Play, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

body.lobby-password-error-active .Toastify__toast--error {
  display: none !important;
}
