/* ================================
   NEXT GEN PATH LABS – LOGIN UI
   ================================ */





.login-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.login-card {
  background: rgba(255,255,255,0.95);
  width: 380px;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: slideUp 0.9s ease;
    margin: 5vw;
}

@keyframes slideUp {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #0D4A87;
  text-align: center;
}

.logo span {
  color: #129674;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 30px;
}

/* Inputs */
.input-group {
  position: relative;
  margin-bottom: 28px;
}

.input-group input {
  width: 100%;
  padding: 12px 40px 12px 10px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  font-size: 15px;
  background: transparent;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 10px;
  color: #999;
  font-size: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
  top: -6px;
  font-size: 12px;
  color: #0D4A87;
}

.input-group input:focus {
  border-color: #0D4A87;
}

.line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #129674;
  transition: 0.4s;
}

.input-group input:focus ~ .line {
  width: 100%;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 14px;
}

/* Button */
.login-btn {
  width: 100%;
  background: linear-gradient(135deg, #129674, #2BBFDA);
  border: none;
  padding: 14px;
  color: #fff;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
}

.login-btn.loading span {
  visibility: hidden;
}

.login-btn.loading .loader {
  opacity: 1;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
  opacity: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.footer-text {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 20px;
}
