:root {
  --primary: #009dff;
  --bg: #0c0b1a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #1f123d;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 3em 0;
}
@media (max-width: 480px) {
  body {
    padding: 0;
    background-color: #170c30;
  }
}

.loaderCont {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  background-color: var(--bg);
  flex-direction: column;
}

.loader {
  width: 150px;
  height: 150px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.5) inset, 0 5px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 45%;
  top: -40%;
  background-color: #fff;
  animation: wave 5s linear infinite forwards;
}

.loader:before {
  border-radius: 30%;
  background: rgba(255, 255, 255, 0.4);
  animation: wave 5s linear infinite forwards;
}

@keyframes wave {
  0% {
    transform: rotate(0) scale(2);
  }
  100% {
    top: -100%;
    transform: rotate(360deg) scale(0);
  }
}
.fade-out {
  opacity: 0 !important;
  transition: all 0.4s ease-out;
}

.invisible {
  visibility: hidden !important; /* Hides the element from mouse events after fade */
}

.login-container {
  border-radius: 2em;
  width: 100%;
  max-width: 400px;
  padding: 24px;
  text-align: center;
  background-color: #170c30;
}
@media (max-width: 480px) {
  .login-container {
    background-color: none;
  }
}

.header {
  margin-bottom: 40px;
}
.header .logo-placeholder {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  background: #b352f7;
  border-radius: 15px;
  margin-left: auto;
  margin-right: auto;
}
.header h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 5px;
}
.header p {
  color: #c9c9c9;
  font-size: 14px;
  font-weight: 300;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.login-form .country-message {
  display: block;
  font-size: 12px;
  color: #9b59b6;
  text-align: left;
  margin-top: 5px;
}
.login-form .input-group {
  text-align: left;
}
.login-form .input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #c9c9c9;
}
.login-form .input-group input {
  padding: 14px 18px;
  background-color: #2d204a;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #ffffff;
  font-size: 16px;
  transition: border-color 0.3s;
  line-height: 1.5;
}
.login-form .input-group input::-moz-placeholder {
  color: #5d5377;
}
.login-form .input-group input::placeholder {
  color: #5d5377;
}
.login-form .input-group input:focus {
  outline: none;
  border-color: #b352f7;
}
.login-form .input-group .phone-input-container {
  display: flex;
  gap: 10px;
}
.login-form .input-group .phone-input-container .country-code-input {
  flex-grow: 0;
  width: 90px;
  text-align: center;
  cursor: default;
  background-color: rgb(34.1745283019, 24.3018867925, 56.1981132075);
  padding: 14px 8px;
}
.login-form .input-group .phone-input-container .country-code-input:focus {
  border-color: transparent;
}
.login-form .input-group .phone-input-container #phone {
  flex-grow: 1;
}
.login-form .input-group .password-input-container {
  position: relative;
  display: flex;
}
.login-form .input-group .password-input-container #password {
  width: 100%;
  padding-right: 50px;
}
.login-form .input-group .password-input-container .password-toggle-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background: transparent;
  border: none;
  color: #c9c9c9;
  cursor: pointer;
  border-radius: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.login-form .input-group .password-input-container .password-toggle-btn:hover {
  color: #b352f7;
}
.login-form .input-group .password-input-container .password-toggle-btn:focus {
  outline: none;
}
.login-form .forgot-password {
  align-self: flex-end;
  font-size: 14px;
  color: #9b59b6;
  text-decoration: none;
  font-weight: 400;
  margin-top: -10px;
}
.login-form .forgot-password:hover {
  color: #b352f7;
}

.login-button {
  background-image: linear-gradient(to right, #b352f7 0%, #ffc048 100%);
  color: #1f123d;
  padding: 16px;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(179, 82, 247, 0.4);
}
.login-button:active {
  transform: scale(0.98);
}

.footer p {
  font-size: 14px;
  color: #c9c9c9;
}
.footer .signup-link {
  color: #b352f7;
  text-decoration: none;
  font-weight: 600;
}

/* ==== Global SweetAlert2 Dark Theme ==== */
.swal2-popup {
  background: linear-gradient(145deg, #2b1743, #3b2b5b) !important;
  border-radius: 16px !important;
  box-shadow: 0 0 20px rgba(255, 102, 255, 0.25) !important;
  color: #ffffff !important;
  font-family: "Poppins", sans-serif !important;
}

.swal2-title {
  color: #ffb84d !important;
  font-weight: 700 !important;
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
}

.swal2-html-container {
  color: #e0d6ff !important;
  font-size: 15px !important;
}

.swal2-icon.swal2-success {
  border-color: #ffb84d !important;
  color: #ffb84d !important;
  box-shadow: 0 0 15px rgba(255, 184, 77, 0.3);
}

.swal2-icon.swal2-error {
  border-color: #ff4fd8 !important;
  color: #ff4fd8 !important;
  box-shadow: 0 0 15px rgba(255, 79, 216, 0.3);
}

.swal2-icon.swal2-info {
  border-color: #a577ff !important;
  color: #a577ff !important;
  box-shadow: 0 0 15px rgba(165, 119, 255, 0.3);
}

.swal2-confirm {
  background: linear-gradient(90deg, #ff4fd8, #ffb84d) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 10px 25px !important;
  box-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
  transition: all 0.3s ease;
}

.swal2-confirm:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 184, 77, 0.5);
}

.swal2-timer-progress-bar {
  background: linear-gradient(90deg, #ff4fd8, #ffb84d) !important;
  height: 4px !important;
  border-radius: 4px !important;
}

.sm-svg {
  width: 2em;
  height: 2em;
}

/* --- Modern Password Progress Bar --- */
.progress-container {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.progress-track {
  width: 100%;
  height: 6px; /* Slim, modern height */
  background-color: rgba(255, 255, 255, 0.1); /* Subtle transparent track */
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  /* Modern smooth animation */
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.4s ease, box-shadow 0.4s ease;
}

.status-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d; /* Default muted text */
  text-align: right;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Dynamic Status Classes (Applied by JS) --- */
/* State: Too Short / Invalid */
.progress-fill.weak {
  background-color: #ff3366; /* Neon Red */
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.6);
}

/* State: Medium */
.progress-fill.medium {
  background-color: #ffbb33; /* Neon Orange */
  box-shadow: 0 0 10px rgba(255, 187, 51, 0.6);
}

/* State: Strong */
.progress-fill.strong {
  background-color: #00ffcc; /* Neon Cyan/Green */
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.8); /* Stronger glow */
}/*# sourceMappingURL=style.css.map */