.anim-icons {
  /* Remove display:none */
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}

.anim-icons.show {
  opacity: 1;
  pointer-events: auto;
}
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in.show {
  opacity: 1;
}

.bg-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: url("../img/illustrations/1.png") no-repeat center center;
  background-size: cover;
  z-index: -1;
}
/* Stylish 3D Login Box */
.login-box-wrapper {
  max-width: 600px; /* Max width for the login box */
  padding: 40px 40px; /* Top-bottom padding 80px, left-right 40px */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(240, 240, 240, 0.9)
  ); /* Gradient background */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.1); /* Soft 3D shadow */

  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px); /* Glass effect */
  transition: all 0.3s ease-in-out; /* Smooth transition */
  position: relative; /* For inner elements positioning */
}

/* Input fields inside the box */
#formAuthentication .form-control {
  width: 100%;

  font-size: 16px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
  margin-bottom: 20px; /* Spacing between inputs */
  transition: all 0.3s ease-in-out; /* Smooth focus transition */
}

/* Add a focus effect on input fields */
#formAuthentication .form-control:focus {
  border-color: #6c63ff; /* Highlight with a color */
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.5); /* Glow effect on focus */
}

/* The submit button style */
button.btn-primary {
  background-color: #6c63ff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  width: 100%;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

button.btn-primary:hover {
  background-color: #5a54e6; /* Darker shade on hover */
  transform: translateY(-2px); /* Lift effect */
}

/* Divider Text in between */
.divider {
  margin: 20px 0;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
}

.divider .divider-text {
  background: white;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Add hover effect to the 'Create Account' button */
.btn-outline-primary {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.btn-outline-primary:hover {
  background-color: #6c63ff;
  color: white;
  border-color: #6c63ff;
  transform: translateY(-2px); /* Lift effect */
}

.login-box-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Responsive Styling */
@media (max-width: 768px) {
  .logo-img {
    height: 110px !important;
    width: auto !important;
  }

  .authentication-inner {
    padding-top: 250px; /* zoom hone pe bhi overlap na ho */
  }

  .login-box-wrapper {
    padding: 40px;
    border: none;
  }
}
.logo-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 10;
}

.logo-img {
  height: 100px !important;
  max-width: 100%;
}
.login-box {
  background: transparent; /* keep transparent for glass effect */
  border-radius: 20px;
}

.authentication-inner {
  padding-top: 100px;
}

/* Hidden class for animations start hidden */
.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.anim-icons {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}

.gears-wrapper {
  position: fixed;
  top: 250px;
  right: 2%;
  z-index: 1;
  pointer-events: none;
}

.gear {
  position: absolute;
  color: rgb(151, 143, 184);
  opacity: 0.2;
}
.gear-1 {
  font-size: 360px;
  animation: rotate-clockwise 6s linear infinite;
  z-index: 2;
  bottom: -90px;
  right: -180px;
}

.gear-2 {
  font-size: 280px;
  animation: rotate-counter 6s linear infinite;
  z-index: 3;
  bottom: 85px;
  right: 120px;
}

.gear-3 {
  font-size: 200px;
  animation: rotate-clockwise 4s linear infinite;
  z-index: 1;
  bottom: -75px;
  right: 210px;
}
.gears-wrapper-2 {
  position: fixed;
  bottom: 250px;
  left: 2%;
  z-index: 1;
  pointer-events: none;
}

.gears1 {
  position: absolute;
  color: rgb(151, 143, 184);
  opacity: 0.2;
}
.gears-1 {
  font-size: 360px;
  animation: rotate-clockwise 6s linear infinite;
  z-index: 2;
  top: -90px;
  left: -180px;
}

.gears-2 {
  font-size: 280px;
  animation: rotate-counter 6s linear infinite;
  z-index: 3;
  top: 85px;
  left: 120px;
}

.gears-3 {
  font-size: 200px;
  animation: rotate-clockwise 4s linear infinite;
  z-index: 1;
  top: -75px;
  left: 210px;
}
/* @media (max-width: 768px) {
    .gear-1 { font-size: 100px; }
    .gear-2 { font-size: 80px; bottom: 40px; right: 80px; }
    .gear-3 { font-size: 60px; bottom: 100px; right: 150px; }
  } */

@keyframes rotate-clockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate-counter {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
.left-tools-wrapper {
  position: fixed;
  bottom: 470px;
  left: 20px;
  z-index: 1;
  pointer-events: none;
}

.gear-left {
  font-size: 120px;
  color: #280f91;
  animation: rotate-clockwise 7s linear infinite;
  position: absolute;
  left: 100px;

  bottom: 300px;
  opacity: 0.3;
}

.screwdriver {
  font-size: 80px;
  color: #6c63ff;
  position: absolute;
  bottom: 300px;
  left: 20px;
  animation: float-up-down 3s ease-in-out infinite;
  opacity: 0.4;
}

.wrench {
  font-size: 90px;
  color: #a29bfe;
  position: absolute;
  bottom: 370px;
  left: 10px;
  animation: wrench-swing 3s ease-in-out infinite;
  opacity: 0.8;
  transform-origin: center top; /* pivot point for swing */
}

@keyframes wrench-swing {
  0%,
  100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

@keyframes float-up-down {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float-up-down-alt {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
}
.swal2-html-container {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 120px; /* Adjust height to icon size + padding */
  padding: 0 !important;
}

.safe-icon {
  font-size: 100px;
  color: #280f91;
  animation: pulse-glow 2.5s ease-in-out forwards; /* match Swal timer */
  opacity: 0.9;
  filter: drop-shadow(0 0 6px #280f91);
}

/* Pulse glow animation - adjust duration */
@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px #280f91);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px #6c63ff);
    opacity: 1;
  }
}
.lock-key-wrapper {
  position: fixed;
  top: 200px;
  left: 200px;
  z-index: 5;
  pointer-events: none;
  width: 120px;
  height: 80px;
}

.lock-icon {
  font-size: 80px;
  color: rgb(187, 180, 214);
  position: absolute;
  top: 0;
  left: 10px;
  transform-origin: center bottom;
  animation: lock-unlock 4s ease-in-out infinite;
}

.key-icon {
  font-size: 40px;
  color: rgb(185, 183, 224);
  position: absolute;
  bottom: 10px;
  left: 80px;
  animation: key-move 4s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes lock-unlock {
  0%,
  100% {
    transform: rotate(0deg);
    color: #280f91;
  }
  40% {
    transform: rotate(-30deg);
    color: #6c63ff;
  }
  60% {
    transform: rotate(-15deg);
    color: #a29bfe;
  }
  80% {
    transform: rotate(-30deg);
    color: #6c63ff;
  }
}

@keyframes key-move {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-10px) rotate(-20deg);
    opacity: 1;
  }
}
/* Eye icon position fix */
.form-password-toggle {
  position: relative;
}

.password-toggle-icon {
  position: absolute;
  top: 60%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #bbb;
  font-size: 18px;
  z-index: 2;
  background: transparent;
}
.hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.5s ease;
}
