/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Layout */
.main-container {
  display: flex;
  height: 100vh;
}

/* LEFT PANEL (PREMIUM GRADIENT) */
.left-panel {
  flex: 1;
  background: linear-gradient(135deg, #e1d711, #bd3285);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

/* Floating Glow */
.left-panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: -50px;
  left: -50px;
  filter: blur(60px);
  animation: floatGlow 6s infinite alternate;
}

@keyframes floatGlow {
  from { transform: translate(0, 0); }
  to { transform: translate(100px, 100px); }
}

/* Text */
.left-panel h1 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 600;
}

.left-panel p {
  font-size: 16px;
  opacity: 0.9;
}

/* RIGHT PANEL (🔥 IMAGE ADDED HERE) */
.right-panel {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;

  background: url('../images/login-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* CARD (GLASS EFFECT UPGRADE) */
.login-card {
  width: 350px;
  padding: 30px;
  border-radius: 18px;

  /* ✅ LIGHT GLASS (correct for your background) */
  background: rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  border: 1px solid rgba(255,255,255,0.4);

  box-shadow: 0 10px 30px rgba(0,0,0,0.2);

  animation: slideUp 0.6s ease;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;

  background: rgba(255,255,255,0.08); /* 🔥 LIGHT GLASS */

  pointer-events: none;
}

.login-card {
  position: relative;
  overflow: hidden;
}

/* Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Title */
.login-card h2 {
  text-align: center;
  margin-bottom: 20px;
   color: #792121;
}

/* Inputs */
.input-group {
  margin-bottom: 15px;
}

.input-group label {
  font-size: 13px;
   color: #000000;
}

.input-group input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;

  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.5);
  color: #111;

}

/* Button */
.login-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.login-btn:hover {
  transform: scale(1.03);
}

/* Links */
.extra-links {
  margin-top: 15px;
  text-align: center;
}

.extra-links a {
  color: #2563eb;
  text-decoration: none;
}

.extra-links a:hover {
  text-decoration: underline;
}

/* Error */
.error-msg {
  background: #fee2e2;
  color: #dc2626;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-align: center;
}


/* Password Eye Icon */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
}