@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

body.login-page {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #3f0d58 0%, #004e66 100%);
  overflow: hidden;
}


/* Sparkling stars background */
body.login-page::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('https://www.transparenttextures.com/patterns/stardust.png');
  animation: sparkle 30s linear infinite;
  opacity: 0.2;
  z-index: 0;
}


.login-container {
  position: relative;
  z-index: 1;
}

.login-box-custom {
  display: flex;
  background: #ffffff10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  padding: 20px;
  max-width: 800px;
  width: 100%;
}

.login-left {
  flex: 1;
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-left img.logo {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  border-radius: 50%;
}

.login-left h2 {
  color: #ffffff;
  font-size: 24px;
  margin-top: 10px;
}

.login-right {
  flex: 2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: none;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: 0.3s ease;
}

.input-group input::placeholder {
  color: #ddd;
}

.input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #ffffffa1;
  pointer-events: none;
}


.remember-me {
  display: flex;
  align-items: center;         /* align vertically */
  gap: 10px;                   /* space between box and text */
  font-size: 16px;
  color: #fff;
  margin-bottom: 13px;
  line-height: 1;              /* prevent weird spacing */
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #6ee7b7;
  cursor: pointer;
  margin: 0;                   /* remove default spacing */
  padding: 0;
  appearance: auto;
}


.btn-login {
  background-color: #6ee7b7;
  color: #111827;
  font-weight: bold;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: #34d399;
  transform: scale(1.03);
}
.stars, .twinkling {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
}















