:root {
  --primary: #0d9488;
  --bg-dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8fafc;
  /* Subtle brand-colored glow in the corner */
  background-image: radial-gradient(circle at 0% 0%, rgba(13, 148, 136, 0.05) 0%, transparent 40%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: var(--text-main);
}

.login-card {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.branding { text-align: center; margin-bottom: 32px; position: relative; }
.back-link { position: absolute; top: -30px; left: 0; font-size: 0.85rem; text-decoration: none; color: var(--primary); font-weight: 600; }

.branding h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.branding h1 span { color: var(--primary); }
.branding p { color: var(--text-muted); font-size: 0.95rem; }

.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #f1f5f9;
  background: #f8fafc;
  font-size: 1rem;
  transition: all 0.2s ease;
  outline: none;
}

.input-group input:focus { border-color: var(--primary); background: var(--white); }

/* Password Wrapper for the Eye icon */
.password-wrapper { position: relative; display: flex; align-items: center; }
.toggle-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.5;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover { background: #0f766e; transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.3); }

.form-footer { margin-top: 24px; text-align: center; font-size: 0.9rem; }
.forgot-link { display: block; margin-bottom: 16px; color: var(--primary); text-decoration: none; font-weight: 600; }
.form-footer p { color: var(--text-muted); }
.form-footer a { color: var(--primary); text-decoration: none; font-weight: 700; }