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

.login-wrap {
  font-family: 'Inter', sans-serif;
  max-width: 420px;
  margin: 60px auto;
  padding: 40px 36px;
  background: #101827;
  border: 1px solid #1F2937;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.login-logo {
  font-size: 40px;
  text-align: center;
  margin-bottom: 12px;
}

.login-title {
  color: white;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 6px;
}

.login-sub {
  color: #6B7280;
  font-size: 14px;
  text-align: center;
  margin: 0 0 28px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field-group label {
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.field-group input {
  background: #1F2937;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 13px 16px;
  color: white;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
  width: 100%;
  box-sizing: border-box;
}

.field-group input:focus { border-color: #2563EB; }
.field-group input::placeholder { color: #4B5563; }

.primary-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1E3A8A, #2563EB);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: all .2s ease;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
  letter-spacing: .02em;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

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

.forgot-link a {
  color: #6B7280;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
}

.forgot-link a:hover { color: #9CA3AF; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 20px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1F2937;
}

.divider span {
  color: #4B5563;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.register-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #064E3B, #059669, #34D399);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 4px 20px rgba(5,150,105,0.35);
  letter-spacing: .02em;
  box-sizing: border-box;
}

.register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(5,150,105,0.45);
  color: white;
}

.forgot-desc {
  color: #9CA3AF;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.msg {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.msg.error   { color: #F87171; }
.msg.success { color: #34D399; }
.msg.info    { color: #93C5FD; }

