
/* ===== BACKGROUND ===== */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgb(221, 247, 238), #badccf, rgb(248, 254, 251));
  position: relative;
  overflow: hidden;
}

/* ===== WAVES ===== */
.wave-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  z-index: 1;
  overflow: hidden;
}

.waves {
  width: 100%;
  height: 100%;
}

.parallax > use {
  animation: waveMove 18s linear infinite;
}

.parallax > use:nth-child(2) { animation-delay: -4s; }
.parallax > use:nth-child(3) { animation-delay: -8s; }
.parallax > use:nth-child(4) { animation-delay: -12s; }

@keyframes waveMove {
  from { transform: translateX(-90px); }
  to { transform: translateX(85px); }
}

/* ===== CARD ===== */
.login-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  width: 100%;
  max-width: 440px;
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HEADER ===== */
.login-header {
  background: linear-gradient(90deg, #059669, #10b981);
  padding: 30px;
  text-align: center;
}

.login-header h2 {
  color: white;
  font-size: 26px;
  font-weight: 700;
}

/* ===== BODY ===== */
.login-body {
  padding: 30px;
}

/* ===== INPUT ===== */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  display: block;
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
  display: block;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none; 
  z-index: 2;
}

/* 👁 password toggle */
.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
  z-index: 2;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.toggle-password:hover {
  color: #059669;
}

.form-control {
  width: 100%;
  padding: 13px 44px 13px 44px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
  background: white;
}

.form-control:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  outline: none;
}

/* ===== OPTIONS ROW ===== */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0 20px;
}

.checkbox-label {
  font-size: 13px;
  color: #475569;
}

.forgot-link {
  font-size: 13px;
  color: #10b981;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* ===== BUTTON ===== */
.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 999px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.btn-login:hover {
  transform: translateY(-2px);
}

/* ===== REGISTER LINK ===== */
.register-line {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #64748b;
}

.btn-reg {
  color: rgb(185, 18, 63);
  text-decoration: none;
  margin-left: 5px;
  font-weight: 500;
  cursor: pointer;
}

.btn-reg:hover {
  text-decoration: underline;
  color: #047857;
}
input,
.form-control,
.input-wrapper {
  cursor: text !important;
}

/* 👁 password toggle */
.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
}