body.bg {
  background-color: #ffffffff;
  color: white;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 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;
}

@keyframes animStar {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-1000px);
  }
}

.gradient-border {
  border: 1px solid transparent;
  border-image: linear-gradient(to right, #423fdd, #321dee);
  border-image-slice: 1;
  background: #bce4ff;
  box-shadow: 0 0 15px rgba(66, 63, 221, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gradient-border:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(66, 63, 221, 0.3);
}

.account-card {
  border-radius: 12px;
  padding: 30px 25px;
}

.txt {
  font-size: 16px;
}

.btn4,
.btn-login {
  background: linear-gradient(to right, #423fdd, #321dee);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn4:hover,
.btn-login:hover {
  background: linear-gradient(to right, #321dee, #423fdd);
  box-shadow: 0 5px 15px rgba(50, 29, 238, 0.4);
}

.btn-login::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-login:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

input.form-control {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #000000 !important;
  border: 1px solid #444 !important;
  border-radius: 10px;
  padding: 10px 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input.form-control:focus {
  border-color: #423fdd !important;
  border-radius: 4rem;
  box-shadow: 0 0 0 0.2rem rgba(66, 63, 221, 0.25);
}

.input-group-text {
  background-color: #000;
  border: none;
  color: white;
  padding-left: 10px;
}

.form-label {
  font-weight: 500;
  margin-bottom: 5px;
  color: #000;
}

.form-check-label,
.text-primary {
  color: #4c8ef7 !important;
  cursor: pointer;
}
.text-white {
  color: #120101 !important;
}
.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: linear-gradient(to right, transparent, #666, transparent);
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.divider-text {
  padding: 0 10px;
  color: #aaa;
  font-size: 14px;
  background-color: #1e2530;
  position: relative;
  z-index: 1;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: #2a2f3d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.social-btn:hover {
  background-color: #444a5a;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook:hover {
  background-color: #3b5998;
  border-color: #3b5998;
}

.social-btn.twitter:hover {
  background-color: #1da1f2;
  border-color: #1da1f2;
}

.social-btn.google:hover {
  background-color: #db4437;
  border-color: #db4437;
}

.text-center.mt-3 a {
  color: #4c8ef7;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-center.mt-3 a:hover {
  color: #6da0f8;
  text-decoration: underline;
}

.btn-login.loadingMore {
  background: #999;
  cursor: not-allowed;
  position: relative;
}

.btn-login.loadingMore::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#success {
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .account-card {
    padding: 20px 15px;
  }

  .container.pt-3.login-form-container {
    padding: 15px;
  }

  .col-sm-6.col-md-10.mx-auto {
    padding: 0;
  }
}

/* Floating animation for the logo */
img.img-fluid {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* 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);
}

.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;
  }
}
