/* login.css */
/*body {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
/*  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*  min-height: 100vh;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*}*/

/*.container {*/
/*  background-color: rgba(255, 255, 255, 0.95);*/
/*  padding: 40px;*/
/*  border-radius: 15px;*/
/*  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
/*  text-align: center;*/
/*  width: 350px;*/
/*  max-width: 90%;*/
/*  transition: all 0.3s ease;*/
/*}*/

/*.container:hover {*/
/*  transform: translateY(-5px);*/
/*  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);*/
/*}*/

/*h2 {*/
/*  color: #333;*/
/*  margin-bottom: 30px;*/
/*  font-weight: 600;*/
/*  position: relative;*/
/*}*/

/*h2::after {*/
/*  content: '';*/
/*  position: absolute;*/
/*  bottom: -10px;*/
/*  left: 50%;*/
/*  transform: translateX(-50%);*/
/*  width: 50px;*/
/*  height: 3px;*/
/*  background: linear-gradient(to right, #667eea, #764ba2);*/
/*  border-radius: 3px;*/
/*}*/

/*.input-group {*/
/*  position: relative;*/
/*  margin-bottom: 25px;*/
/*}*/

/*input {*/
/*  width: 100%;*/
/*  padding: 15px 20px;*/
/*  border: 2px solid #e1e1e1;*/
/*  border-radius: 50px;*/
/*  font-size: 16px;*/
/*  transition: all 0.3s ease;*/
/*  background-color: #f9f9f9;*/
/*  box-sizing: border-box;*/
/*  margin-Top:6px;*/
/*}*/

/*input:focus {*/
/*  border-color: #667eea;*/
/*  box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);*/
/*  outline: none;*/
/*  background-color: #fff;*/
/*}*/

/*input::placeholder {*/
/*  color: #999;*/
/*  font-weight: 500;*/
/*}*/

/*button {*/
/*  background: linear-gradient(to right, #667eea, #764ba2);*/
/*  color: white;*/
/*  border: none;*/
/*  padding: 15px 30px;*/
/*  font-size: 18px;*/
/*  border-radius: 50px;*/
/*  cursor: pointer;*/
/*  width: 100%;*/
/*  margin-top: 10px;*/
/*  transition: all 0.3s ease;*/
/*  font-weight: 600;*/
/*  letter-spacing: 1px;*/
/*  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);*/
/*}*/

/*button:hover {*/
/*  transform: translateY(-3px);*/
/*  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);*/
/*}*/

/*button:active {*/
/*  transform: translateY(1px);*/
/*}*/

/*#msg {*/
/*  margin-top: 20px;*/
/*  padding: 12px;*/
/*  border-radius: 10px;*/
/*  font-weight: 500;*/
/*  opacity: 0;*/
/*  transition: all 0.4s ease;*/
/*  transform: translateY(10px);*/
/*}*/

/*#msg.show {*/
/*  opacity: 1;*/
/*  transform: translateY(0);*/
/*}*/

/*#msg.error {*/
/*  background-color: #ffebee;*/
/*  color: #d32f2f;*/
/*  border-left: 4px solid #d32f2f;*/
/*}*/

/*#msg.success {*/
/*  background-color: #e8f5e9;*/
/*  color: #388e3c;*/
/*  border-left: 4px solid #388e3c;*/
/*}*/

/* Interactive background elements */
/*.background-bubbles {*/
/*  position: absolute;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  z-index: -2;*/
/*  overflow: hidden;*/
/*}*/

/*.bubble {*/
/*  position: absolute;*/
/*  bottom: -100px;*/
/*  background: rgba(255, 255, 255, 0.1);*/
/*  border-radius: 50%;*/
/*  animation: float 8s infinite ease-in;*/
/*}*/

/*.bubble:nth-child(1) {*/
/*  width: 80px;*/
/*  height: 80px;*/
/*  left: 10%;*/
/*  animation-delay: 0s;*/
/*}*/

/*.bubble:nth-child(2) {*/
/*  width: 60px;*/
/*  height: 60px;*/
/*  left: 30%;*/
/*  animation-delay: 2s;*/
/*}*/

/*.bubble:nth-child(3) {*/
/*  width: 40px;*/
/*  height: 40px;*/
/*  left: 50%;*/
/*  animation-delay: 4s;*/
/*}*/

/*.bubble:nth-child(4) {*/
/*  width: 70px;*/
/*  height: 70px;*/
/*  left: 70%;*/
/*  animation-delay: 6s;*/
/*}*/

/*.bubble:nth-child(5) {*/
/*  width: 50px;*/
/*  height: 50px;*/
/*  left: 90%;*/
/*  animation-delay: 8s;*/
/*}*/

/*@keyframes float {*/
/*  0% {*/
/*    transform: translateY(0) rotate(0deg);*/
/*    opacity: 1;*/
/*    border-radius: 50%;*/
/*  }*/
/*  100% {*/
/*    transform: translateY(-1000px) rotate(720deg);*/
/*    opacity: 0;*/
/*    border-radius: 50%;*/
/*  }*/
/*}*/

/* Responsive adjustments */
/*@media (max-width: 480px) {*/
/*  .container {*/
/*    padding: 30px 20px;*/
/*    width: 95%;*/
/*  }*/
  
/*  h2 {*/
/*    font-size: 24px;*/
/*  }*/
  
/*  button {*/
/*    padding: 12px 25px;*/
/*    font-size: 16px;*/
/*  }*/
/*}*/






body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.background-bubbles {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  top: 0;
  left: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  animation: float 10s infinite ease-in;
}

.bubble:nth-child(1) { width: 90px; height: 90px; left: 14%; animation-delay: 0s;}
.bubble:nth-child(2) { width: 60px; height: 60px; left: 26%; animation-delay: 3s;}
.bubble:nth-child(3) { width: 55px; height: 55px; left: 68%; animation-delay: 6s;}
.bubble:nth-child(4) { width: 75px; height: 75px; left: 83%; animation-delay: 2s;}
.bubble:nth-child(5) { width: 35px; height: 35px; left: 52%; animation-delay: 1s;}

@keyframes float {
  0% { transform: translateY(0) scale(1); opacity:1; }
  80% { opacity:0.6; }
  100% { transform: translateY(-1000px) scale(1.3); opacity:0;}
}

.container {
  background: rgba(255,255,255,0.99);
  padding: 40px 45px 35px 45px;
  border-radius: 20px;
  box-shadow: 0 10px 38px 0 rgba(74,90,142,.15), 0 4px 8px rgba(118,75,162,.09);
  text-align: center;
  width: 370px;
  max-width: 93vw;
  animation: popIn 0.7s cubic-bezier(0.44,0.13,0.48,0.87);
  position: relative;
}

@keyframes popIn {
  0% { transform: scale(0.97) translateY(30px); opacity: 0;}
  100% { transform: scale(1) translateY(0); opacity: 1;}
}

.container:hover {
  box-shadow: 0 15px 40px rgba(118,75,162, 0.23), 0 8px 22px rgba(102,126,234,0.15);
}

h2 {
  color: #333;
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  margin: 0 auto;
  margin-top: 13px;
  width: 54px;
  height: 4px;
  background: linear-gradient(to right, #667eea, #764ba2);
  border-radius: 6px;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

input {
  width: 100%;
  padding: 15px 46px 15px 20px;
  border: 2px solid #e1e1e1;
  border-radius: 48px;
  font-size: 17px;
  background-color: #fbfbfd;
  transition: all 0.33s;
  box-sizing: border-box;
  margin-top: 6px;
  letter-spacing: 0.04rem;
}

input:focus {
  border-color: #764ba2;
  box-shadow: 0 0 12px #764ba232;
  outline: none;
  background-color: #fff;
}

/* The password show eye button */
.password-group {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 25px;
}

.password-group input {
  margin-bottom: 0;
  padding-right: 44px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 56%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 2;
  background: none;
  border: none;
  padding: 2px;
  border-radius: 50%;
  transition: background 0.2s;
}

.toggle-password:focus {
  outline: 2px solid #764ba2;
  background: #eee;
}

.eye-icon {
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  filter: drop-shadow(0 1px 1px #f0f0ff99);
  cursor: pointer;
  transition: stroke 0.25s;
}

input::placeholder {
  color: #999aaa;
  font-weight: 500;
  letter-spacing: .06em;
}

button {
  background: linear-gradient(to right, #667eea, #764ba2);
  color: #fff;
  border: none;
  padding: 16px 30px;
  font-size: 18px;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: all 0.23s;
  font-weight: 650;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 14px 0 #764ba228, 0 1.5px 5px #667eea20;
}

button:hover {
  background: linear-gradient(to left, #8f5fe8, #667eea 70%);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 28px 0 #667eea46;
}

button:active {
  transform: scale(0.97);
  background: linear-gradient(to left, #667eea, #764ba2 80%);
}

#msg {
  margin-top: 22px;
  padding: 13px;
  border-radius: 12px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.55s cubic-bezier(.44, .13, .48, .87);
  transform: translateY(10px) scale(0.98);
}

#msg.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#msg.error {
  background-color: #ffebee;
  color: #d32f2f;
  border-left: 4px solid #d32f2f;
}

#msg.success {
  background-color: #e8f5e9;
  color: #388e3c;
  border-left: 4px solid #388e3c;
}

/* Responsive improvements */
@media (max-width: 480px) {
  .container {
    padding: 22px 7vw;
    width: 96vw;
    min-width: unset;
  }
  h2 {
    font-size: 22px;
  }
  button {
    font-size: 16px;
    padding: 12px 12vw;
  }
  .password-group input {
    padding-right: 38px;
  }
}

