body {
  margin: 0;
  /* Animated Gradient Background */
  background: #fff;
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  color: #000000ff;
}

/* Stars animation */
.starsec,
.starthird,
.starfourth,
.starfifth {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.starsec {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="0.5" fill="white"/></svg>')
    repeat;
  animation: animStar 50s linear infinite;
}

.starthird {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/200/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="0.75" fill="white"/></svg>')
    repeat;
  animation: animStar 100s linear infinite;
}

.starfourth {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="white"/></svg>')
    repeat;
  animation: animStar 150s linear infinite;
}

/* Enhanced star animation */
@keyframes animStar {
  0% {
    transform: translateY(0px) scale(1) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    opacity: 1;
    transform: translateY(-250px) scale(1.1) rotate(45deg);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-500px) scale(0.9) rotate(90deg);
  }
  75% {
    opacity: 1;
    transform: translateY(-750px) scale(1.2) rotate(135deg);
  }
  100% {
    transform: translateY(-1000px) scale(1) rotate(180deg);
    opacity: 0.7;
  }
}

/* Form styling */
.account-card {
  background: #bce4ff;
  border: 1px solid transparent;
  border-image: linear-gradient(to right, #4facfe, #00f2fe);
  border-image-slice: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.account-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.form-control,
.form-select {
  background-color: rgb(255 255 255 / 23%) !important;
  color: #000000ff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: #4facfe !important;
  box-shadow: 0 0 0 0.25rem rgba(79, 172, 254, 0.25);
  color: #000 !important;
}

.input-group-text {
  background-color: #000 !important;
  border: 1px solid rgba(79, 172, 254, 0.3) !important;
  color: #fff !important;
}
.text-white {
  --bs-text-opacity: 1;
  color: #000 !important;
}
.text-muted {
  --bs-text-opacity: 1;
  color: #000000 !important;
}
.btn4 {
  background: linear-gradient(to right, #4facfe, #00f2fe);
  color: #000;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn4:hover {
  background: linear-gradient(to right, #3a8fd9, #00c8e6);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.container-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 14px;
  gap: 8px;
}

.container-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #4facfe;
}

.login-links a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.login-links a:hover {
  color: #00f2fe;
  text-decoration: underline;
}

.logo-img {
  width: 120px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .account-card {
    padding: 20px;
  }

  .form-control,
  .form-select {
    padding: 10px 12px;
  }
}
/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 2px solid rgb(1 36 224);
  padding: 40px 30px;
  transition: box-shadow 0.3s;
}
.glass-card:hover {
  box-shadow: 0 16px 32px 0 rgba(31, 38, 135, 0.45);
}
.login-bg-gradient {
  background: linear-gradient(135deg, #423fdd 0%, #bce4ff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.login-logo {
  width: 150px;
  padding: 10px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #423fdd;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.form-subtitle {
  font-size: 1rem;
  color: #321dee;
  margin-bottom: 25px;
}
.input-group-text {
  background: linear-gradient(135deg, #423fdd 60%, #bce4ff 100%);
  color: #fff;
  border: none;
  border-radius: 0 10px 10px 0;
}
.btn-login {
  background: linear-gradient(90deg, #423fdd 0%, #321dee 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  padding: 12px 0;
  width: 100%;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(66, 63, 221, 0.15);
  transition: background 0.3s, box-shadow 0.3s;
}
.btn-login:hover {
  background: linear-gradient(90deg, #321dee 0%, #423fdd 100%);
  box-shadow: 0 4px 16px rgba(66, 63, 221, 0.25);
}
.social-login {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.social-btn {
  width: 44px;
  height: 44px;
  background: rgba(66, 63, 221, 0.1);
  color: #423fdd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background 0.3s, color 0.3s;
  border: 1px solid #423fdd22;
}
.social-btn:hover {
  background: #423fdd;
  color: #fff;
}
.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
  color: #423fdd;
  font-weight: 500;
}
.divider:before,
.divider:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: linear-gradient(to right, transparent, #423fdd, transparent);
}
.divider:before {
  left: 0;
}
.divider:after {
  right: 0;
}
.divider-text {
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}
.forgot-link,
.signup-link {
  color: #321dee;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}
.forgot-link:hover,
.signup-link:hover {
  color: #423fdd;
  text-decoration: underline;
}
.field-validation-valid.text-danger {
  font-size: 0.95rem;
  margin-top: 2px;
  display: block;
}
@media (max-width: 576px) {
  .glass-card {
    padding: 25px 10px;
  }
  .form-title {
    font-size: 1.5rem;
  }
}
