@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #000000;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
}

.login-shell {
  width: 100%;
  max-width: 460px;
  position: relative;
}

.login-shell::before {
  content: '';
  position: absolute;
  inset: -14px -14px auto auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, rgba(37,99,235,0) 68%);
  z-index: 0;
  pointer-events: none;
}

.login-container {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #111827 0%, #2563eb 50%, #22c55e 100%);
}

.login-header {
  padding: 34px 32px 22px;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  margin-bottom: 14px;
}

.login-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111827;
}

.login-header p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.6;
  font-weight: 500;
}

.login-form {
  padding: 0 32px 12px;
}

.form-message {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
}

.form-message.show {
  display: block;
}

.form-message.error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 15px;
  color: #64748b;
  font-size: 15px;
  z-index: 1;
  pointer-events: none;
}

.form-group input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  font-size: 0.96rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  transition: all 0.2s ease;
  background: #f8fafc;
  color: #111827;
}

.form-group input:focus {
  outline: none;
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.form-group input::placeholder {
  color: #94a3b8;
}

.login-btn {
  width: 100%;
  padding: 14px 18px;
  background: #111827;
  color: #ffffff;
  border: 1px solid #111827;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #22c55e 0%, #60a5fa 100%);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

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

.login-footer {
  margin-top: 18px;
  padding: 18px 32px 28px;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(248,250,252,0.65) 0%, rgba(248,250,252,0.95) 100%);
}

.login-footer p {
  font-size: 0.92rem;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

.login-footer .note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 480px) {
  body {
    padding: 18px;
  }

  .login-header {
    padding: 26px 22px 18px;
  }

  .login-form {
    padding-left: 22px;
    padding-right: 22px;
  }

  .login-footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}
  