/* REGISTER FORM */
.form-register-mob-location {
  display: flex;
  justify-content: center;
}

.form-register {
  width: 100%;
  max-width: 400px;
  background-color: var(--c-dark-1);
  padding: 24px;
  border: 1px solid rgba(225, 27, 28, 0.35);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--f-roboto-regular);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.form-register h3 {
  margin: 2px 0;
  font-family: var(--f-futura-extra-bold);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-iron);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-register>input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-grey-1);
  border-radius: 10px;
  background-color: var(--c-dark-2);
  color: var(--c-iron);
  font-family: var(--f-roboto-regular);
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-register>input::placeholder {
  color: var(--c-grey-1);
}

.form-register>input:hover {
  border-color: var(--c-iron);
}

.form-register>input:focus {
  border-color: var(--c-red-1);
  box-shadow: 0 0 0 3px rgba(225, 27, 28, 0.18);
}

/* CUSTOM SELECT */
.form-select {
  position: relative;
  width: 100%;
  font-family: var(--f-roboto-regular);
  user-select: none;
}

.form-select__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--c-grey-1);
  border-radius: 10px;
  background-color: var(--c-dark-2);
  color: var(--c-iron);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.form-select__head:hover,
.form-select.open .form-select__head {
  border-color: var(--c-red-1);
}

.form-select__head::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--c-iron);
  border-bottom: 2px solid var(--c-iron);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}

.form-select.open .form-select__head::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.form-select__head img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.form-select__head span {
  color: var(--c-iron);
  font-size: 15px;
}

.form-select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background-color: var(--c-dark-2);
  border: 1px solid var(--c-grey-1);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
}

.form-select.open .form-select__list {
  display: flex;
}

.form-select__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--c-iron);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.form-select__item:hover,
.form-select__item.active {
  background-color: rgba(225, 27, 28, 0.15);
  color: var(--c-red-1);
}

.form-select__item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.form-select__item span {
  font-size: 15px;
}

/* CHECKBOX */
.checkbox-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--c-grey-1);
  font-family: var(--f-roboto-regular);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.checkbox-confirmation input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1px solid var(--c-grey-1);
  border-radius: 4px;
  background-color: var(--c-dark-2);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkbox-confirmation input:hover {
  border-color: var(--c-red-1);
}

.checkbox-confirmation input:checked {
  background-color: var(--c-red-1);
  border-color: var(--c-red-1);
}

.checkbox-confirmation input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--c-white);
  border-bottom: 2px solid var(--c-white);
  transform: rotate(45deg);
}

.checkbox-confirmation span {
  color: var(--c-grey-1);
  font-size: 11px;
}

.checkbox-confirmation span a {
  color: var(--c-iron);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.checkbox-confirmation span a:hover {
  color: var(--c-red-1);
}

/* SUBMIT BUTTON */
.form-register>button {
  width: 100%;
  padding: 12px 20px;
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  background-color: var(--c-red-1);
  color: var(--c-white);
  font-family: var(--f-futura-extra-bold);
  font-size: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.form-register>button:hover {
  background-color: var(--c-white);
  color: var(--c-black);
}

.form-register>button:active {
  transform: scale(0.98);
}

.form-register>button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ERROR MESSAGE */
.form-error {
  margin-top: -8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(225, 27, 28, 0.45);
  color: var(--c-red-1);
  font-family: var(--f-roboto-regular);
  font-size: 13px;
  text-align: center;
  background-color: rgba(225, 27, 28, 0.12);
  background-image: linear-gradient(
    100deg,
    rgba(225, 27, 28, 0) 0%,
    rgba(225, 27, 28, 0) 40%,
    rgba(225, 27, 28, 0.35) 50%,
    rgba(225, 27, 28, 0) 60%,
    rgba(225, 27, 28, 0) 100%
  );
  background-repeat: no-repeat;
  background-size: 200% 100%;
  background-position: 200% 0;
  animation: form-error-wave 2s linear infinite;
}

@keyframes form-error-wave {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-error {
    animation: none;
  }
}

/* === VPN NOTICE KEY: NEON GREEN BLINK (DISABLED) === */
/*
.vpn-notice .vpn-notice-icon,
.vpn-notice-icon {
  color: #39ff14 !important;
  text-shadow:
    0 0 4px #39ff14,
    0 0 8px #39ff14,
    0 0 14px #00ff66,
    0 0 24px #00ff66 !important;
  filter:
    drop-shadow(0 0 4px #39ff14)
    drop-shadow(0 0 10px #00ff66) !important;
  animation: vpnKeyNeonBlink 1s infinite alternate !important;
}

@keyframes vpnKeyNeonBlink {
  0% {
    opacity: 0.55;
    transform: scale(1);
    text-shadow:
      0 0 2px #39ff14,
      0 0 5px #39ff14,
      0 0 10px #00ff66;
    filter:
      drop-shadow(0 0 2px #39ff14)
      drop-shadow(0 0 5px #00ff66);
  }

  100% {
    opacity: 1;
    transform: scale(1.18);
    text-shadow:
      0 0 6px #39ff14,
      0 0 12px #39ff14,
      0 0 24px #00ff66,
      0 0 38px #00ff66;
    filter:
      drop-shadow(0 0 6px #39ff14)
      drop-shadow(0 0 14px #00ff66)
      drop-shadow(0 0 24px #00ff66);
  }
}
*/

/* === VPN NOTICE: KEY SHAKE + PULSE HALO + COLOR WAVE === */
.vpn-notice {
  position: relative;
  overflow: hidden;
  background-color: rgba(225, 27, 28, 0.12);
  background-image: linear-gradient(90deg,
      rgba(225, 27, 28, 0) 0%,
      rgba(225, 27, 28, 0) 30%,
      rgba(225, 27, 28, 0.55) 50%,
      rgba(225, 27, 28, 0) 70%,
      rgba(225, 27, 28, 0) 100%);
  background-repeat: no-repeat;
  background-size: 200% 100%;
  background-position: -100% 0;
  animation: vpnNoticeWave 3s linear infinite;
}

.vpn-notice>* {
  position: relative;
  z-index: 1;
}

.vpn-notice-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  transform-origin: center;
  animation: vpnKeyShake 1.6s ease-in-out infinite;
}

.vpn-notice-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(225, 27, 28, 0.55) 0%,
      rgba(225, 27, 28, 0) 65%);
  pointer-events: none;
  z-index: -1;
  animation: vpnKeyPulse 1.6s ease-out infinite;
}

.vpn-notice .vpn-notice-icon,
.vpn-notice-icon {
  color: #39ff14 !important;
  text-shadow:
    0 0 4px #39ff14,
    0 0 8px #39ff14,
    0 0 14px #00ff66,
    0 0 24px #00ff66 !important;
  filter:
    drop-shadow(0 0 4px #39ff14) drop-shadow(0 0 10px #00ff66) !important;
  /* animation: vpnKeyNeonBlink 1s infinite alternate !important; */
  animation: vpnKeyShake 1.6s ease-in-out infinite;
}

@keyframes vpnKeyNeonBlink {
  0% {
    opacity: 0.55;
    transform: scale(1);
    text-shadow:
      0 0 2px #39ff14,
      0 0 5px #39ff14,
      0 0 10px #00ff66;
    filter:
      drop-shadow(0 0 2px #39ff14) drop-shadow(0 0 5px #00ff66);
  }

  100% {
    opacity: 1;
    transform: scale(1.18);
    text-shadow:
      0 0 6px #39ff14,
      0 0 12px #39ff14,
      0 0 24px #00ff66,
      0 0 38px #00ff66;
    filter:
      drop-shadow(0 0 6px #39ff14) drop-shadow(0 0 14px #00ff66) drop-shadow(0 0 24px #00ff66);
  }
}

@keyframes vpnKeyShake {

  0%,
  70%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  10% {
    transform: translateX(-1px) rotate(-14deg);
  }

  20% {
    transform: translateX(1px) rotate(12deg);
  }

  30% {
    transform: translateX(-1px) rotate(-10deg);
  }

  40% {
    transform: translateX(1px) rotate(8deg);
  }

  50% {
    transform: translateX(-1px) rotate(-5deg);
  }

  60% {
    transform: translateX(1px) rotate(3deg);
  }
}

@keyframes vpnKeyPulse {
  0% {
    transform: scale(0.55);
    opacity: 0.9;
  }

  70% {
    opacity: 0.15;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes vpnNoticeWave {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@media (max-width: 1300px) {
  .vpn-notice {
    background-color: #3a0e13;
    background-image: linear-gradient(90deg,
        rgba(225, 27, 28, 0) 0%,
        rgba(225, 27, 28, 0) 25%,
        rgba(225, 27, 28, 0.55) 50%,
        rgba(225, 27, 28, 0) 75%,
        rgba(225, 27, 28, 0) 100%);
  }
}


@media (max-width: 768px) {
  .form-register {
    gap: 0;
    padding: 4px 16px 12px;
  }

  .form-register h3 {
    font-size: 22px;
  }

  .checkbox-confirmation {
    opacity: 0;
    height: 0;
    pointer-events: none;
  }

  .form-register input {
    margin-bottom: 12px;
    padding: 6px 12px;
    font-size: 14px;
  }

  .form-select {
    margin-bottom: 12px;
  }

  .form-select__head {
    padding: 6px 12px;
    font-size: 14px;
  }

  .form-select__head span {
    font-size: 14px;
  }

  .form-select__head img {
    width: 18px;
    height: 18px;
  }

  .form-select__head::after {
    width: 6px;
    height: 6px;
  }


  .form-select__item {
    padding: 6px 12px;
    font-size: 14px;
  }

  .form-select__item img {
    width: 18px;
    height: 18px;
  }

  .form-select__item span {
    font-size: 14px;
  }

  .form-register>button {
    padding: 6px 12px;
    font-size: 16px;
  }
}