/*Form Styles*/

.form-container {
  max-width: 498px;
}
.form-wrapper form input[type="text"],
.form-wrapper form input[type="email"],
.form-wrapper form input[type="tel"] {
  background-color: #151b31;
  padding-left: 10px;
  padding-right: 10px;
  color: #fff;
  border-color: #383636;
}

.iti--show-selected-dial-code.iti--show-flags .iti__selected-dial-code {
  color: #fff !important;
}

/* Preloader */
#global-preloader {
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0a0c26;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
#global-preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation: pulsOut 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 1rem rgba(255, 255, 255, 0.75));
}

.loader:before {
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 0 1rem #fff;
  animation-name: pulsIn;
}

.loader:after {
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  box-shadow: 0 0 0 0 #fff;
}

@keyframes pulsIn {
  0% {
    box-shadow: inset 0 0 0 1rem #fff;
    opacity: 1;
  }
  50%,
  100% {
    box-shadow: inset 0 0 0 0 #fff;
    opacity: 0;
  }
}

@keyframes pulsOut {
  0%,
  50% {
    box-shadow: 0 0 0 0 #fff;
    opacity: 0;
  }
  100% {
    box-shadow: 0 0 0 1rem #fff;
    opacity: 1;
  }
}

/* Lang Switcher */

.lang-switcher {
  position: relative;
  display: inline-block;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(10px);
  transition: 0.2s;
  color: #fff;
  font-size: 14px;
}
.lang-current:hover {
  background: rgba(255, 255, 255, 0.12);
}
.lang-current img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: rgba(20, 20, 35, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 150px;
  z-index: 2000;
}
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: #ddd;
  text-decoration: none;
  transition: 0.15s;
  font-size: 14px;
}
.lang-dropdown a:hover {
  background: rgba(99, 102, 241, 0.25);
  color: white;
}
.lang-dropdown img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.nav-link {
  @apply text-gray-300 hover:text-white hover:scale-105 transition-all duration-300 font-medium;
}

.mobile-link {
  @apply text-gray-200 text-lg font-medium py-2 px-2 rounded-md hover:bg-slate-800/60 transition-all;
}
