/* login.css — Design System Light */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --brand-600: #245F47;
  --brand-500: #2D6A4F;
  --brand-400: #40916C;
  --brand-300: #52B788;
  --brand-100: #B7E4C7;
  --brand-10: #F0FAF3;
  --surface-bg: #F4F8F5;
  --surface-card: #FFFFFF;
  --border-subtle: #E4EDE8;
  --border-medium: #C8D8D0;
  --text-primary: #111612;
  --text-secondary: #556059;
  --text-muted: #98A89F;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(15, 30, 24, 0.08), 0 1px 3px rgba(15, 30, 24, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 30, 24, 0.10), 0 2px 6px rgba(15, 30, 24, 0.06);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--surface-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow: hidden;
}

body::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.login-container {
  background-color: var(--surface-card);
  padding: 44px 40px;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  animation: loginFadeIn 0.4s ease;
}

@keyframes loginFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo {
  width: 180px;
  margin-bottom: 28px;
  transition: opacity 0.2s ease;
}

.login-logo:hover {
  opacity: 0.92;
}

.login-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-10);
  color: var(--brand-600);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-100);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.input-group {
  position: relative;
  margin-bottom: 16px;
}

.input-group i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  z-index: 2;
  transition: color 0.15s ease;
}

.input-group input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  box-sizing: border-box;
  outline: none;
  background: var(--surface-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.input-group input:hover {
  border-color: var(--border-medium);
}

.input-group input:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.input-group input:focus + i,
.input-group:focus-within i {
  color: var(--brand-400);
}

.login-btn {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-400) 100%);
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.30);
  transition: all 0.15s ease;
}

.login-btn:hover {
  background: linear-gradient(135deg, #1B4332 0%, var(--brand-500) 100%);
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.38);
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(0);
}

.forgot-password {
  margin-top: 16px;
  text-align: center;
}

.forgot-password a {
  color: var(--brand-500);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.forgot-password a:hover {
  color: var(--brand-600);
  text-decoration: underline;
}
